Awesome Open Source
Awesome Open Source

SSH Brute-Force

Just a simple SSH brute-force script I created today as part of the HackTheBox machine I'm currently rooting. Tested against an OpenSSH 7.9 server with no issues; as this script was more for personal use I haven't tested it thoroughly.

It's nothing special; it served me well (it did what I wanted it to do, anyhow!)

Python pwntools is a minimum requirement for running this script.

Please note: most establishments hosting an SSH server would have protection in place to prevent this script from being of any use (for instance, blocking a specific IP after X number of login attempts for Y minutes)- if this is the case you will need to further improve the script (perhaps a timeout before repeating the attempt if the connection is refused.)

Hope you enjoy my noobery ^-^


UPDATE: You can now execute a line of commands upon successful authentication to the server and view the result of the provided command.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (1,121,268
Hacking (2,348
Ssh (2,214
Simple (2,003
Cybersecurity (1,416
Penetration Testing (803
Bruteforce (701
Python37 (354
Ctf Tools (243
Oscp (186
Hackthebox (143
Related Projects