forked from p15670423/monkey
Agent: Send failed exploitation event
This commit is contained in:
parent
0c4b90beb5
commit
ac69064dec
|
@ -199,7 +199,14 @@ class Log4ShellExploiter(WebRCE):
|
||||||
|
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
logger.debug("Timed out while waiting for victim to download the java bytecode")
|
error_message = "Timed out while waiting for victim to download the java bytecode"
|
||||||
|
logger.debug(error_message)
|
||||||
|
self._publish_exploitation_event(
|
||||||
|
target=self.host.ip_addr,
|
||||||
|
exploitation_success=False,
|
||||||
|
error_message=error_message,
|
||||||
|
tags=(LOG4SHELL_EXPLOITER_TAG, T1203_ATTACK_TECHNIQUE_TAG),
|
||||||
|
)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def _wait_for_victim_to_download_agent(self):
|
def _wait_for_victim_to_download_agent(self):
|
||||||
|
|
Loading…
Reference in New Issue