From cb9f43d24288f1a30e11795cd9f62aaa9b982c95 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 18 Jul 2022 08:27:32 -0400 Subject: [PATCH] Agent: Fix type hint in MimikatzCredentialCollector --- .../mimikatz_collector/mimikatz_credential_collector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b0299a0c8..8ed805ee7 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 @@ -19,7 +19,7 @@ class MimikatzCredentialCollector(ICredentialCollector): return MimikatzCredentialCollector._to_credentials(windows_credentials) @staticmethod - def _to_credentials(windows_credentials: Sequence[WindowsCredentials]) -> [Credentials]: + def _to_credentials(windows_credentials: Sequence[WindowsCredentials]) -> Sequence[Credentials]: credentials = [] for wc in windows_credentials: identity = None