From d1427117c79d0607c810f0580fe795362eaf1746 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Fri, 7 Oct 2022 14:58:32 +0200 Subject: [PATCH] Agent: Add successful exploitation in WMI --- monkey/infection_monkey/exploit/wmiexec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"])