From aa6031378772271a47848420c277b48daa2959ef Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 12 Jan 2022 12:33:54 -0500 Subject: [PATCH] Agent: Remove commented out code in ExploitClassHTTPServer --- .../exploit/log4shell_utils/exploit_class_http_server.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/monkey/infection_monkey/exploit/log4shell_utils/exploit_class_http_server.py b/monkey/infection_monkey/exploit/log4shell_utils/exploit_class_http_server.py index bde6f91fb..22d9e4961 100644 --- a/monkey/infection_monkey/exploit/log4shell_utils/exploit_class_http_server.py +++ b/monkey/infection_monkey/exploit/log4shell_utils/exploit_class_http_server.py @@ -45,10 +45,6 @@ class ExploitClassHTTPServer: logger.debug("Starting ExploitClassHTTPServer") HTTPHandler.reset() - # while not self.exploit_class_downloaded(): - # self._server.handle_request() - # logger.error("loop") - self._server.serve_forever() logger.debug("The Java Exploit class HTTP server has stopped")