From 3cfa72f73199086bbf8481310117be0c008cd75f Mon Sep 17 00:00:00 2001 From: vakaris_zilius Date: Tue, 22 Mar 2022 06:57:33 +0000 Subject: [PATCH] Agent: Remove unreliable stop check in log4shell --- monkey/infection_monkey/exploit/log4shell.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/monkey/infection_monkey/exploit/log4shell.py b/monkey/infection_monkey/exploit/log4shell.py index da39198ad..25476ebc0 100644 --- a/monkey/infection_monkey/exploit/log4shell.py +++ b/monkey/infection_monkey/exploit/log4shell.py @@ -175,9 +175,6 @@ class Log4ShellExploiter(WebRCE): self.exploit_result.exploitation_success = True return True - if self._is_interrupted(): - return False - time.sleep(1) logger.debug("Timed out while waiting for victim to download the java bytecode")