mirror of
https://github.com/trustedsec/hate_crack.git
synced 2025-12-12 15:49:19 -08:00
Hashtype 1000 fix
This commit is contained in:
@@ -1053,7 +1053,7 @@ def pipal():
|
|||||||
|
|
||||||
if os.path.isfile(pipalPath):
|
if os.path.isfile(pipalPath):
|
||||||
if os.path.isfile(hcatHashFilePipal + ".out"):
|
if os.path.isfile(hcatHashFilePipal + ".out"):
|
||||||
pipalFile = open(hcatHashFilePipal + ".pipal", 'w')
|
pipalFile = open(hcatHashFilePipal + ".passwords", 'w')
|
||||||
with open(hcatHashFilePipal + ".out") as hcatOutput:
|
with open(hcatHashFilePipal + ".out") as hcatOutput:
|
||||||
for cracked_hash in hcatOutput:
|
for cracked_hash in hcatOutput:
|
||||||
password = cracked_hash.split(':')
|
password = cracked_hash.split(':')
|
||||||
@@ -1067,8 +1067,8 @@ def pipal():
|
|||||||
pipalProcess = subprocess.Popen(
|
pipalProcess = subprocess.Popen(
|
||||||
"{pipal_path} {pipal_file} --output {pipal_out} ".format(
|
"{pipal_path} {pipal_file} --output {pipal_out} ".format(
|
||||||
pipal_path=pipalPath,
|
pipal_path=pipalPath,
|
||||||
pipal_file=hcatHashFile + ".pipal",
|
pipal_file=hcatHashFilePipal + ".passwords",
|
||||||
pipal_out=hcatHashFile + ".pipal.out"),
|
pipal_out=hcatHashFilePipal + ".pipal.out"),
|
||||||
shell=True)
|
shell=True)
|
||||||
try:
|
try:
|
||||||
pipalProcess.wait()
|
pipalProcess.wait()
|
||||||
|
|||||||
Reference in New Issue
Block a user