mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-01-02 00:00:39 -08:00
Changed default quickcrack to 0 and changed logic to allow 0
This commit is contained in:
@@ -621,9 +621,9 @@ def cleanup():
|
||||
|
||||
# Quick Dictionary Attack with Optional Chained Best64 Rules
|
||||
def quick_crack():
|
||||
hcatChainsInput = int(input("\nHow many times would you like to chain the best64.rule? (1): ") or 1)
|
||||
hcatChains = "-r {hcatPath}/rules/best64.rule ".format(hcatPath=hcatPath)
|
||||
if hcatChainsInput > 1:
|
||||
hcatChainsInput = int(input("\nHow many times would you like to chain the best64.rule? (0): ") or 0)
|
||||
hcatChains = ''
|
||||
if hcatChainsInput > 0:
|
||||
for n in range(1, hcatChainsInput):
|
||||
hcatChains += "-r {hcatPath}/rules/best64.rule ".format(hcatPath=hcatPath)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user