From 0006112e79a628a2fcdb8e74eaad897472c2ab7a Mon Sep 17 00:00:00 2001 From: vakarisz Date: Thu, 6 Jan 2022 13:01:50 +0200 Subject: [PATCH] Agent: fix log4shell to be able to exploit more than 1 service --- monkey/infection_monkey/exploit/log4shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/exploit/log4shell.py b/monkey/infection_monkey/exploit/log4shell.py index 36e275587..e6df5879f 100644 --- a/monkey/infection_monkey/exploit/log4shell.py +++ b/monkey/infection_monkey/exploit/log4shell.py @@ -130,7 +130,7 @@ class Log4ShellExploiter(WebRCE): "service_name": exploit.service_name, "port": port, } - return + return class HTTPHandler(http.server.BaseHTTPRequestHandler):