Skip to content

Commit

Permalink
Merge pull request #1493 from guardicore/credential_duplication_fix
Browse files Browse the repository at this point in the history
Duplicate credentials in system info telem
  • Loading branch information
VakarisZ authored Sep 28, 2021
2 parents e40c83c + d240427 commit beafc0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def get_mimikatz_info(self):
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")
Expand Down
5 changes: 1 addition & 4 deletions monkey/monkey_island/cc/models/telemetries/telemetry_dal.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
encrypt_dict,
)

sensitive_fields = [
SensitiveField("data.credentials", MimikatzResultsEncryptor),
SensitiveField("data.mimikatz", MimikatzResultsEncryptor),
]
sensitive_fields = [SensitiveField("data.credentials", MimikatzResultsEncryptor)]


def save_telemetry(telemetry_dict: dict):
Expand Down

0 comments on commit beafc0b

Please sign in to comment.