Skip to content

Commit 238ecf0

Browse files
authored
Update SSH Brute Forcing Script.py
1 parent d7ecb57 commit 238ecf0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Python-for-Pentesters All scripts/SSH Brute Forcing Script.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def ssh_connect(target, username, password):
2020
print(f"Username - {username} and Password - {password} found.")
2121
f.write(f"Username: {username}\nPassword: {password}\nWorked on host {target}\n")
2222
except AuthenticationException:
23-
print(f"Username - {username} and password - {password} found.")
23+
print(f"the password for Username - {username} Not found in the wordlist")
2424
except ssh_exception.SSHException:
2525
print("**** Attempting to connect - Rate limiting on server ****")
2626

@@ -58,5 +58,3 @@ def __main__():
5858

5959
__main__()
6060

61-
62-

0 commit comments

Comments
 (0)