From 4e27c5b323a96d06fdd266241d756eeec0a8fe5d Mon Sep 17 00:00:00 2001 From: Jeff Holden Date: Fri, 27 Apr 2018 16:31:27 -0700 Subject: [PATCH] testing Middle Mask --- hate_crack.py | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/hate_crack.py b/hate_crack.py index b913efc..4e476ac 100755 --- a/hate_crack.py +++ b/hate_crack.py @@ -319,17 +319,18 @@ def hcatHoldenCombinator(hcatHashType, hcatHashFile): for x in range(len(numbers)): print numbers[x], - - hcatProcess = subprocess.Popen( - "{hcatBin} -m {hash_type} {hash_file} --remove -o {hash_file}.out -a 1 -j '$9' {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), - shell=True).wait() + for x in range(len(numbers)): + hcatProcess = subprocess.Popen( + "{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[x], + shell=True).wait() # Pathwell Mask Brute Force Attack