forked from p34709852/monkey
Agent: Remove errant exploitation event from hadoop
If no potential URLs are found, then no exploit is attempted, so there's no reason to publish an ExploitationEvent.
This commit is contained in:
parent
25073be9f3
commit
66f5d7a86a
|
@ -57,7 +57,6 @@ class HadoopExploiter(WebRCE):
|
|||
self.exploit_result.error_message = (
|
||||
f"No potential exploitable urls has been found for {self.host}"
|
||||
)
|
||||
self._publish_exploitation_event(False, error_message=self.exploit_result.error_message)
|
||||
return self.exploit_result
|
||||
|
||||
monkey_path_on_victim = get_agent_dst_path(self.host)
|
||||
|
|
Loading…
Reference in New Issue