SkillAgentSearch skills...

SSHCrack

A python program used to gain access to computers running Secure Shell via dictionary attack.

Install / Use

/learn @DarkC0de9/SSHCrack
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

SSHCrack

SSHCrack is a python program used to gain access to computers running Secure Shell via a dictionary attack. This is a great tool for gaining unauthorized access to computers running SSH in a given network. Ensure that you have used pip to install the paramiko module (which is how the program connects to computers using SSH.) To install paramiko module, just run 'pip install paramiko' in terminal. Upon running the program, assuming you properly installed paramiko, you will be prompted for the target's IP and username, as well as a dictionary file to use in the cracking process. The dictionary file should have passwords organized in a list structure, each line containing one password.

Ensure that the target computer is running the SSH service. Otherwise, this attack will not work. Of course, you can do this by using nmap or using a custom port scanner.

This program writes the cracking results to a text file that you specify, or sshcrack.txt if no file name is specified. The file will be saved in your working directory, and will show information on cracking time, IP address, username and password credentials. Please ensure that you dont have any other text files by the name that you save the results as, as this could result in unwanted overwriting of files. Additionally, ensure that SSHCrack is operating in the same directory as your password file. Otherwise you must specify the file path.

Finally, this program will operate quite slowly and does generate a lot of noise on a target network. This is because each password the program attempts to use, it makes an attempt to connect the remote host and waits for a response back. This means that the program can really only check about 1 password every 2-3 seconds. This process can be lengthy, but doesnt require much processing power. Unlike hash cracking, the CPU isnt slowing us down, only network communications.

Have fun and feel free to modify this code!

Related Skills

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated1y ago
Forks3

Languages

Python

Security Score

60/100

Audited on Dec 9, 2024

No findings