Skip to content

Commit 29a4379

Browse files
authored
Merge pull request Pennyw0rth#765 from azoxlpf/Fix/TGS-REP
fix hashcat/John format for TGS-REP
2 parents d28b11d + 4c0ebf0 commit 29a4379

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/ldap/kerberos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def output_tgs_from_asrep(self, asrep_blob, spn, fd=None):
117117
if etype == constants.EncryptionTypes.rc4_hmac.value: # 23
118118
chk = hexlify(cipher[:16]).decode()
119119
data = hexlify(cipher[16:]).decode()
120-
entry = f"$krb5tgs${etype}*{service}${realm}${spn_fmt}*${chk}${data}"
120+
entry = f"$krb5tgs${etype}$*{service}${realm}${spn_fmt}*${chk}${data}"
121121

122122
elif etype in (
123123
constants.EncryptionTypes.aes128_cts_hmac_sha1_96.value, # 17

0 commit comments

Comments
 (0)