Skip to content

Commit

Permalink
use kdchost
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgn committed Jan 7, 2025
1 parent 905f636 commit 26e4ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nxc/helpers/pfx.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ def pfx_auth(self):
creds = ccache.getCredential(principal)
if creds is not None:
tgt = creds.toTGT()
dumper = GETPAC(username, self.domain, self.domain, key, tgt)
dumper = GETPAC(username, self.domain, self.kdcHost, key, tgt)
nthash = dumper.dump()
if not self.kerberos:
self.hash_login(self.domain, username, nthash)
Expand Down

0 comments on commit 26e4ce4

Please sign in to comment.