Skip to content

Commit

Permalink
Merge pull request #22 from blitztide/master
Browse files Browse the repository at this point in the history
Fix crashing with invalid UTF8 characters
  • Loading branch information
nidem committed Jan 7, 2021
2 parents 271e199 + d27d051 commit e983ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgsrepcrack.py
Expand Up @@ -57,7 +57,7 @@ def crack(wordlist, enctickets):

# load wordlist
for w in args.wordlistfile:
word = w.decode('utf-8').strip()
word = w.decode('utf-8','ignore').strip()
hash = kerberos.ntlmhash(word)
for et in enctickets:
kdata, nonce = kerberos.decrypt(hash, 2, et[0])
Expand Down

0 comments on commit e983ba1

Please sign in to comment.