From a50554f115715324e6284cc4adfba2011cd117e4 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Thu, 6 Oct 2022 17:04:58 +0530 Subject: [PATCH] Agent: Add `target` in CredentialsStolenEvent in zerologon --- monkey/infection_monkey/exploit/zerologon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/monkey/infection_monkey/exploit/zerologon.py b/monkey/infection_monkey/exploit/zerologon.py index be83d88ee..914149bef 100644 --- a/monkey/infection_monkey/exploit/zerologon.py +++ b/monkey/infection_monkey/exploit/zerologon.py @@ -336,6 +336,7 @@ class ZerologonExploiter(HostExploiter): ) -> None: credentials_stolen_event = CredentialsStolenEvent( source=get_agent_id(), + target=self.host.ip_addr, tags=CREDENTIALS_STOLEN_EVENT_TAGS, stolen_credentials=extracted_credentials, )