From 0e449e552a9ee3c20776391aa8105f1cfafacecc Mon Sep 17 00:00:00 2001 From: Jeff Holden Date: Fri, 27 Apr 2018 17:11:17 -0700 Subject: [PATCH] testing Middle Mask --- hate_crack.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hate_crack.py b/hate_crack.py index fc0310e..100da02 100755 --- a/hate_crack.py +++ b/hate_crack.py @@ -318,7 +318,14 @@ def hcatHoldenCombinator(hcatHashType, hcatHashFile): special = [" ","-","_","+",",","!","#","$","\"","%","&","\'","(",")","*",",",".","/",":",";","<","=",">","?","@","[","\\","]","^","`","{","|","}","~"] for y in range(len(numbers)): print numbers[y] - print "-j \'${middle_mask}\'".format(middle_mask=numbers[y]) + print "{hcatBin} -m {hash_type} {hash_file} --remove -o {hash_file}.out -a 1 -j \'${middle_mask}\' {word_lists}/rockyou.txt {word_lists}/rockyou.txt {tuning} --potfile-path={hate_path}/hashcat.pot".format( + hcatBin=hcatBin, + hash_type=hcatHashType, + hash_file=hcatHashFile, + word_lists=hcatWordlists, + tuning=hcatTuning, + hate_path=hate_path, + middle_mask = numbers[y]) for x in range(len(numbers)): hcatProcess = subprocess.Popen(