forked from p15670423/monkey
Agent: Add successful exploitation in WMI
This commit is contained in:
parent
6950dcdf0c
commit
d1427117c7
|
@ -94,7 +94,7 @@ class WmiExploiter(HostExploiter):
|
||||||
|
|
||||||
self.report_login_attempt(True, user, password, lm_hash, ntlm_hash)
|
self.report_login_attempt(True, user, password, lm_hash, ntlm_hash)
|
||||||
self.exploit_result.exploitation_success = True
|
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"])
|
downloaded_agent = self.agent_binary_repository.get_agent_binary(self.host.os["type"])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue