Skip to content

Commit

Permalink
Fixed pass-the-hash
Browse files Browse the repository at this point in the history
  • Loading branch information
ShutdownRepo committed Jul 20, 2021
1 parent 4e939f0 commit f94a841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Petitpotam.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def connect(self, username, password, domain, nthash, target):

rpctransport = transport.DCERPCTransportFactory(stringBinding)
if hasattr(rpctransport, 'set_credentials'):
rpctransport.set_credentials(username, password, domain, nthash)
rpctransport.set_credentials(username=username, password=password, domain=domain, nthash=nthash)
dce = rpctransport.get_dce_rpc()
#dce.set_auth_type(RPC_C_AUTHN_WINNT)
#dce.set_auth_level(RPC_C_AUTHN_LEVEL_PKT_PRIVACY)
Expand Down

0 comments on commit f94a841

Please sign in to comment.