mirror of
https://github.com/trustedsec/hate_crack.git
synced 2025-12-05 20:39:59 -08:00
Fixes for LM hash cracking routine. Also, hashcat-utils defaults to {util}.bin
This commit is contained in:
@@ -109,14 +109,9 @@ except KeyError as e:
|
||||
hcatGoodMeasureBaseList = default_config[e.args[0]]
|
||||
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
hcatExpanderBin = "expander.app"
|
||||
hcatCombinatorBin = "combinator.app"
|
||||
hcatPrinceBin = "pp64.app"
|
||||
else:
|
||||
hcatExpanderBin = "expander.bin"
|
||||
hcatCombinatorBin = "combinator.bin"
|
||||
hcatPrinceBin = "pp64.bin"
|
||||
hcatExpanderBin = "expander.bin"
|
||||
hcatCombinatorBin = "combinator.bin"
|
||||
hcatPrinceBin = "pp64.bin"
|
||||
|
||||
def verify_wordlist_dir(directory, wordlist):
|
||||
if os.path.isfile(wordlist):
|
||||
@@ -830,7 +825,7 @@ def hcatLMtoNT():
|
||||
hash_file=hcatHashFile), shell=True).wait()
|
||||
converted = convert_hex("{hash_file}.working".format(hash_file=hcatHashFile))
|
||||
with open("{hash_file}.working".format(hash_file=hcatHashFile),mode='w') as working:
|
||||
working.writelines(converted)
|
||||
working.writelines('\n'.join(converted))
|
||||
hcatProcess = subprocess.Popen(
|
||||
"{hate_path}/hashcat-utils/bin/{combine_bin} {hash_file}.working {hash_file}.working | sort -u > {hash_file}.combined".format(
|
||||
combine_bin=hcatCombinatorBin,
|
||||
|
||||
Reference in New Issue
Block a user