We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6de6247 commit 4cd4dbbCopy full SHA for 4cd4dbb
1 file changed
nxc/modules/pre2k.py
@@ -94,7 +94,7 @@ def on_login(self, context, connection):
94
def get_tgt(self, context, username, domain, kdcHost, ccache_base_dir):
95
try:
96
userName = Principal(username, type=constants.PrincipalNameType.NT_PRINCIPAL.value)
97
- password = username # Password is the machine name in lowercase
+ password = username[:14] # Password is the first 14 characters of the machine name in lowercase
98
context.log.info(f"Getting TGT for {username}@{domain}")
99
100
tgt, cipher, oldSessionKey, sessionKey = getKerberosTGT(
0 commit comments