From c401e183979f4d7ad9102294ea4b7ff5b37e8518 Mon Sep 17 00:00:00 2001 From: bandrel Date: Fri, 1 Feb 2019 14:25:09 -0500 Subject: [PATCH] update UTF-8 to iso-8859-9 for unhexify to excel --- hate_crack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hate_crack.py b/hate_crack.py index d51f3ba..ed5b9c6 100755 --- a/hate_crack.py +++ b/hate_crack.py @@ -1067,7 +1067,7 @@ def export_excel(): clear_text = matches.group(5) match = re.search(r'^\$HEX\[(\S+)\]', clear_text) if match: - clear_text = binascii.unhexlify(match.group(1)).decode('utf-8') + clear_text = binascii.unhexlify(match.group(1)).decode('iso-8859-9') except: clear_text = '' current_ws['A' + str(current_row)] = username