From c7e2b91735af07547e7446768f9b003adac1321f Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Wed, 5 Oct 2022 11:34:50 +0200 Subject: [PATCH] Agent: Rename event_queue to agent_event_queue in MimikatzCredentialCollector --- .../mimikatz_collector/mimikatz_credential_collector.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/monkey/infection_monkey/credential_collectors/mimikatz_collector/mimikatz_credential_collector.py b/monkey/infection_monkey/credential_collectors/mimikatz_collector/mimikatz_credential_collector.py index b2e3217b3..4e3efd594 100644 --- a/monkey/infection_monkey/credential_collectors/mimikatz_collector/mimikatz_credential_collector.py +++ b/monkey/infection_monkey/credential_collectors/mimikatz_collector/mimikatz_credential_collector.py @@ -27,8 +27,8 @@ MIMIKATZ_EVENT_TAGS = frozenset( class MimikatzCredentialCollector(ICredentialCollector): - def __init__(self, event_queue: IAgentEventQueue): - self._event_queue = event_queue + def __init__(self, agent_event_queue: IAgentEventQueue): + self._agent_event_queue = agent_event_queue def collect_credentials(self, options=None) -> Sequence[Credentials]: logger.info("Attempting to collect windows credentials with pypykatz.") @@ -81,4 +81,4 @@ class MimikatzCredentialCollector(ICredentialCollector): stolen_credentials=collected_credentials, ) - self._event_queue.publish(credentials_stolen_event) + self._agent_event_queue.publish(credentials_stolen_event)