Agent: Add successful exploitation in WMI

This commit is contained in:
Ilija Lazoroski 2022-10-07 14:58:32 +02:00
parent 6950dcdf0c
commit d1427117c7
1 changed files with 1 additions and 1 deletions

View File

@ -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"])