2022-11-09 11:34:13 +01:00
2022-11-09 11:34:13 +01:00
2022-11-09 11:26:27 +01:00
2022-11-09 11:19:10 +01:00
2022-11-09 11:19:10 +01:00

How to Brute-Force SSH Servers in Python

INSTALLATION

pip3 install -r requirements.txt
  • Help:
    python bruteforce_ssh.py --help
    
    Output:
    usage: bruteforce_ssh.py [-h] [-P PASSLIST] [-u USER] host
    
    SSH Bruteforce Python script.
    
    positional arguments:
    host                  Hostname or IP Address of SSH Server to bruteforce.
    
    optional arguments:
    -h, --help            show this help message and exit
    -P PASSLIST, --passlist PASSLIST
                            File that contain password list in each line.
    -u USER, --user USER  Host username.
    

UTILISATION

If you want to bruteforce against the server 192.168.1.101 for example, the user root and a password list of wordlist.txt:

python bruteforce_ssh.py 192.168.1.101 -u root -P wordlist.txt

UPDATE

  • 09/11/22: add "allow_agent=False,look_for_keys=False" to client.connect() args to avoid "Quota exceeded, retrying with delay..." error.
Description
Python bot for brute force SSH testing
Readme
Languages
Python 100%