Merge pull request #1493 from guardicore/credential_duplication_fix

Duplicate credentials in system info telem
This commit is contained in:
VakarisZ 2021-09-28 13:49:21 +03:00 committed by GitHub
commit beafc0bf9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -47,7 +47,6 @@ class WindowsInfoCollector(InfoCollector):
if credentials:
if "credentials" in self.info:
self.info["credentials"].update(credentials)
self.info["mimikatz"] = credentials
logger.info("Mimikatz info gathered successfully")
else:
logger.info("No mimikatz info was gathered")

View File

@ -13,10 +13,7 @@ from monkey_island.cc.server_utils.encryption import (
encrypt_dict,
)
sensitive_fields = [
SensitiveField("data.credentials", MimikatzResultsEncryptor),
SensitiveField("data.mimikatz", MimikatzResultsEncryptor),
]
sensitive_fields = [SensitiveField("data.credentials", MimikatzResultsEncryptor)]
def save_telemetry(telemetry_dict: dict):