https://github.com/phx/ssheesh
red team utility for SSH credential spraying
https://github.com/phx/ssheesh
Last synced: about 1 year ago
JSON representation
red team utility for SSH credential spraying
- Host: GitHub
- URL: https://github.com/phx/ssheesh
- Owner: phx
- Created: 2022-03-24T21:26:16.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-26T13:35:37.000Z (about 4 years ago)
- Last Synced: 2025-01-29T10:33:55.225Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SSHeesh
**This project has been abandoned in favor of [https://github.com/HDN-1D10T/divinity](https://github.com/HDN-1D10T/divinity), which is now completely concurrent and can process the same 1 day workload as `SSHeesh` in 14 minutes.***
`SSHeesh` is a multi-threaded red team tool for SSH credential spraying.
## Dependencies
- Linux/Unix/MacOS
- `timeout`
- `ssh`
- `sshpass`
- `ulimit` (built-in)
## Usage
```
usage: sheesh.py [-h] [-i IP] [-iL LIST] [-c CREDS] [-o OUTPUT] [-p PORT] [-t THREADS] [-T TIMEOUT]
SSHeesh - a multi-threaded red team utility for SSH credential spraying
optional arguments:
-h, --help show this help message and exit
-i IP, --ip IP for use with a single IP address, which can sometimes be useful
-iL LIST, --list LIST /path/to/ip_list
-c CREDS, --creds CREDS delimited credential string [username:password]
-o OUTPUT, --output OUTPUT /path/to/output_file to save successful attempts
-p PORT, --port PORT TCP port to use (default: 22)
-t THREADS, --threads THREADS number of threads to use
-T TIMEOUT, --timeout TIMEOUT TCP connection timeout
```
### Details
This script has been tested successfully with up to 30k threads.
Make sure to run `ulimit -n unlimited` before running the script with lots of threads in order to make sure you don't run into any issues with too many file descriptors.