Agent: Fix type hint in MimikatzCredentialCollector

This commit is contained in:
Mike Salvatore 2022-07-18 08:27:32 -04:00
parent 302803b779
commit cb9f43d242
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class MimikatzCredentialCollector(ICredentialCollector):
return MimikatzCredentialCollector._to_credentials(windows_credentials) return MimikatzCredentialCollector._to_credentials(windows_credentials)
@staticmethod @staticmethod
def _to_credentials(windows_credentials: Sequence[WindowsCredentials]) -> [Credentials]: def _to_credentials(windows_credentials: Sequence[WindowsCredentials]) -> Sequence[Credentials]:
credentials = [] credentials = []
for wc in windows_credentials: for wc in windows_credentials:
identity = None identity = None