Agent: Fix credentials object in Zerologon
This commit is contained in:
parent
b05438b5f1
commit
7fba5139f7
|
@ -285,7 +285,12 @@ class ZerologonExploiter(HostExploiter):
|
||||||
self, user: str, lmhash: str, nthash: str
|
self, user: str, lmhash: str, nthash: str
|
||||||
) -> None:
|
) -> None:
|
||||||
self.telemetry_messenger.send_telemetry(
|
self.telemetry_messenger.send_telemetry(
|
||||||
CredentialsTelem([Credentials([Username(user)], [LMHash(lmhash), NTHash(nthash)])])
|
CredentialsTelem(
|
||||||
|
[
|
||||||
|
Credentials(Username(user), LMHash(lmhash)),
|
||||||
|
Credentials(Username(user), NTHash(nthash)),
|
||||||
|
]
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
def get_original_pwd_nthash(self, username: str, user_pwd_hashes: List[str]) -> str:
|
def get_original_pwd_nthash(self, username: str, user_pwd_hashes: List[str]) -> str:
|
||||||
|
|
Loading…
Reference in New Issue