From d7d67ddadde0aaa9bd667da6e689f597e83afcf4 Mon Sep 17 00:00:00 2001 From: bandrel Date: Sat, 27 Jan 2018 13:33:03 -0500 Subject: [PATCH] verifies that rockyou.txt is in the passwords folder for prince attack --- hate_crack.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hate_crack.py b/hate_crack.py index 339d249..44bac0b 100755 --- a/hate_crack.py +++ b/hate_crack.py @@ -410,6 +410,9 @@ def pathwell_crack(): # PRINCE Attack def prince_attack(): + if not os.path.isfile(hcatWordlists + 'rockyou.txt'): + print("rockyou.txt not found in {0} Please verify and try again").format(hcatWordlists) + return hcatPrince(hcatHashType, hcatHashFile)