From 2d24180231620db5bad16c890585ab4da61a14cf Mon Sep 17 00:00:00 2001 From: Jeff H Date: Sun, 18 Aug 2019 22:23:29 -0500 Subject: [PATCH] Hashtype 1000 fix --- hate_crack.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hate_crack.py b/hate_crack.py index 45fc0ef..06152f0 100644 --- a/hate_crack.py +++ b/hate_crack.py @@ -865,6 +865,8 @@ def cleanup(): os.remove(hcatHashFileOrig + ".lm.cracked") if os.path.exists(hcatHashFileOrig + ".working"): os.remove(hcatHashFileOrig + ".working") + if os.path.exists(hcatHashFileOrig + ".passwords"): + os.remove(hcatHashFileOrig + ".passwords") except KeyboardInterrupt: #incase someone mashes the Control+C it will still cleanup cleanup() @@ -1068,14 +1070,14 @@ def pipal(): "{pipal_path} {pipal_file} --output {pipal_out} ".format( pipal_path=pipalPath, pipal_file=hcatHashFilePipal + ".passwords", - pipal_out=hcatHashFileOrig + ".pipal.txt"), + pipal_out=hcatHashFileOrig + ".pipal"), shell=True) try: pipalProcess.wait() except KeyboardInterrupt: print('Killing PID {0}...'.format(str(pipalProcess.pid))) pipalProcess.kill() - print "Pipal file is at " + hcatHashFilePipal + ".pipal.out\n" + print "Pipal file is at " + hcatHashFilePipal + ".pipal\n" else: print("No hashes were cracked :(") else: