From 26e4ce4b11079132d3854110d17d70bf9375af39 Mon Sep 17 00:00:00 2001 From: mpgn <5891788+mpgn@users.noreply.github.com> Date: Tue, 7 Jan 2025 16:10:25 +0100 Subject: [PATCH] use kdchost --- nxc/helpers/pfx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxc/helpers/pfx.py b/nxc/helpers/pfx.py index 4ad9dd7db..0275aa23e 100644 --- a/nxc/helpers/pfx.py +++ b/nxc/helpers/pfx.py @@ -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)