From 937a317804c9109bec73899535b76fc6aff5b1ce Mon Sep 17 00:00:00 2001 From: bandrel Date: Mon, 7 May 2018 17:25:37 -0400 Subject: [PATCH] Changed default quickcrack to 0 and changed logic to allow 0 --- hate_crack.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hate_crack.py b/hate_crack.py index a52a074..2e21bbd 100755 --- a/hate_crack.py +++ b/hate_crack.py @@ -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)