testing Middle Mask

This commit is contained in:
Jeff Holden
2018-04-27 16:31:27 -07:00
parent 5ac4e80e9a
commit 4e27c5b323

View File

@@ -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