forked from p34709852/monkey
Agent: Remove credential hashes in logging in Zerologon exploiter
This commit is contained in:
parent
cbaa3256dd
commit
08cbf75b5f
|
@ -329,12 +329,7 @@ class ZerologonExploiter(HostExploiter):
|
|||
self.remove_locally_saved_HKLM_keys()
|
||||
|
||||
def save_HKLM_keys_locally(self, username: str, user_pwd_hashes: List[str]) -> bool:
|
||||
logger.info(
|
||||
f"Starting remote shell on victim with credentials:\n"
|
||||
f"user: {username}\n"
|
||||
f"hashes (SHA-512): {self._config.hash_sensitive_data(user_pwd_hashes[0])} : "
|
||||
f"{self._config.hash_sensitive_data(user_pwd_hashes[1])}"
|
||||
)
|
||||
logger.info(f"Starting remote shell on victim with user: {username}")
|
||||
|
||||
wmiexec = Wmiexec(
|
||||
ip=self.dc_ip,
|
||||
|
|
Loading…
Reference in New Issue