impacket
impacket copied to clipboard
Fix hash extraction bug in AES128-CTS-HMAC-SHA1-96 code path
Before this PR,
Running python GetUserSPNs.py... -outputfile hashes.txt
generated a file with content like,
$krb5tgs$17$...<built-in method decode of bytes object at 0x55fad9d939c0>
After this PR, hash extraction works properly, and the extracted hashes crack just fine with WIP JtR module.
Related: https://github.com/openwall/john/issues/2809#issuecomment-952846956.