diff --git a/monkey/infection_monkey/exploit/wmiexec.py b/monkey/infection_monkey/exploit/wmiexec.py index 0b755e74c..9b529b2c8 100644 --- a/monkey/infection_monkey/exploit/wmiexec.py +++ b/monkey/infection_monkey/exploit/wmiexec.py @@ -94,7 +94,7 @@ class WmiExploiter(HostExploiter): self.report_login_attempt(True, user, password, lm_hash, ntlm_hash) self.exploit_result.exploitation_success = True - self._publish_exploitation_event(timestamp, False, error_message=error_message) + self._publish_exploitation_event(timestamp, True, error_message=error_message) downloaded_agent = self.agent_binary_repository.get_agent_binary(self.host.os["type"])