
Quickly identifies servers vulnerable to OpenSSH 'regreSSHion' (CVE-2024-6387).
regreSSHion-checker is a lightweight, efficient tool designed to identify servers running vulnerable versions of OpenSSH, specifically targeting the recently discovered regreSSHion vulnerability (CVE-2024-6387). This tool facilitates rapid scanning of multiple IP addresses, domain names, and CIDR network ranges to detect potential vulnerabilities and ensure the security of your infrastructure.

To install regreSSHion-checker from the GitHub repository, ensure you have Go installed and configured properly. Use the following command:
go get github.com/xonoxitron/regreSSHion-checker
After installation, you can use regreSSHion-checker as described in the usage section below.
To build regreSSHion-checker from source, ensure you have Go installed and follow these steps:
Clone the repository or download the source code.
git clone https://github.com/your/repo.git
cd regreSSHion-checker
Build the binary using go build.
go build regreSSHion-checker.go
Optionally, you can set execute permissions.
chmod +x regreSSHion-checker
Now you can use ./regreSSHion-checker to scan for CVE-2024-6387 vulnerabilities in OpenSSH across your infrastructure.
./regreSSHion-checker <targets> [--port PORT]
./regreSSHion-checker 192.168.1.1
./regreSSHion-checker -list ip_list.txt
./regreSSHion-checker 192.168.1.1 example.com 192.168.1.2
./regreSSHion-checker 192.168.1.0/24
./regreSSHion-checker 192.168.1.1 example.com --port 2222
The tool provides a summary of the scanned targets:
🛡️ Servers not vulnerable: 1
[+] Server at 157.90.125.31 (running SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11)
🚨 Servers likely vulnerable: 2
[+] Server at 4.231.170.121 (running SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10)
[+] Server at 4.231.170.122 (running SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2)
🔒 Servers with port 22 closed: 254
📊 Total scanned targets: 257
go build regreSSHion-checker.go).regreSSHion-checker with the name of the Go binary compiled from your source file.chmod +x regreSSHion-checker) to execute the binary directly.This README.md file now reflects the usage and features of the Go version of the regreSSHion-checker tool, providing users with clear instructions and examples for effective vulnerability scanning of OpenSSH servers.