From 4a3f3e3120cd8600da4ac9f095d4a98feca00b6c Mon Sep 17 00:00:00 2001 From: mpgn <5891788+mpgn@users.noreply.github.com> Date: Tue, 7 Jan 2025 16:15:08 +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 0275aa23e..4d084468a 100644 --- a/nxc/helpers/pfx.py +++ b/nxc/helpers/pfx.py @@ -509,7 +509,7 @@ def pfx_auth(self): req = ini.build_asreq(self.domain, username) self.logger.info("Requesting TGT") - sock = KerberosClientSocket(KerberosTarget(self.domain)) + sock = KerberosClientSocket(KerberosTarget(self.kdcHost)) try: res = sock.sendrecv(req) except Exception as e: