Agent: Rename event_queue to agent_event_queue in

MimikatzCredentialCollector
This commit is contained in:
Ilija Lazoroski 2022-10-05 11:34:50 +02:00
parent 19fcf8d053
commit c7e2b91735
1 changed files with 3 additions and 3 deletions

View File

@ -27,8 +27,8 @@ MIMIKATZ_EVENT_TAGS = frozenset(
class MimikatzCredentialCollector(ICredentialCollector): class MimikatzCredentialCollector(ICredentialCollector):
def __init__(self, event_queue: IAgentEventQueue): def __init__(self, agent_event_queue: IAgentEventQueue):
self._event_queue = event_queue self._agent_event_queue = agent_event_queue
def collect_credentials(self, options=None) -> Sequence[Credentials]: def collect_credentials(self, options=None) -> Sequence[Credentials]:
logger.info("Attempting to collect windows credentials with pypykatz.") logger.info("Attempting to collect windows credentials with pypykatz.")
@ -81,4 +81,4 @@ class MimikatzCredentialCollector(ICredentialCollector):
stolen_credentials=collected_credentials, stolen_credentials=collected_credentials,
) )
self._event_queue.publish(credentials_stolen_event) self._agent_event_queue.publish(credentials_stolen_event)