
A Bash script to enumerate valid SSH usernames using the CVE-2018-15473 vulnerability. It checks for valid usernames on an OpenSSH OpenSSH 7.2p2 server by analyzing authentication responses.
A Bash script to enumerate valid SSH usernames using the CVE-2018-15473 vulnerability. It checks for valid usernames on an OpenSSH server by analyzing authentication responses.
✅ Detects valid SSH usernames based on OpenSSH response behavior ✅ Uses a public key authentication bypass technique ✅ Optimized for speed using parallel processing ✅ Saves valid usernames automatically to valid_usernames.txt ✅ Lightweight, requires only Bash and OpenSSH client
chmod +x exploit.sh
./exploit <username_file>
Example:
./exploit 192.168.1.1 22 usernames.txt
1.Linux/macOS with Bash
2.OpenSSH client (ssh, ssh-keygen, nc)
3.Target system running OpenSSH
⚠️ Disclaimer
This script is for educational and authorized security testing only. Do not use it on systems without permission.
🔗 CVE-2018-15473 Details