Combine Files for hashtype 1000 and Unhex passwords

This commit is contained in:
Jeff H
2019-08-18 21:10:26 -05:00
parent c5715645b1
commit 4c2f0cefd3

View File

@@ -1053,7 +1053,7 @@ def pipal():
with open(hcatHashFile + ".out") as hcatOutput:
for cracked_hash in hcatOutput:
password = cracked_hash.split(':')
clearTextPass = password[-1])
clearTextPass = password[-1]
match = re.search(r'^\$HEX\[(\S+)\]', clearTextPass)
if match:
clearTextPass = binascii.unhexlify(match.group(1)).decode('iso-8859-9')