Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
OpenSSH-Vulnerability-test — OpenSSH CVE-2024-6387 Vulnerability Checker | Kitploit
Tools/GitHubGitHub/betancour/openssh-vulnerability-test
ReconnaissanceVulnerability ScannersPort ScanningInformation GatheringNetwork SecurityLearning & Education
GitHubbetancour/openssh-vulnerability-test

OpenSSH-Vulnerability-test

OpenSSH CVE-2024-6387 Vulnerability Checker

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
232 years agoNot yet reviewed

OpenSSH CVE-2024-6387 Vulnerability Checker

Overview

This C program scans specified IP addresses or network ranges to check if the servers are running a potentially vulnerable version of OpenSSH. It checks if the SSH port (default is 22) is open, retrieves the SSH banner, and determines if the server is running a version known to have vulnerabilities.

Compilation

To compile the program, use the following command:

root@kitploit:~
gcc check_vuln.c -o check_vuln -lpthread

Usage

Basic Usage

To scan multiple IP addresses, pass them as arguments:

root@kitploit:~
./check_vuln 192.168.1.1 192.168.1.2 10.0.0.1

Specifying a Custom Port

If you want to specify a different port, use the --port option:

root@kitploit:~
./check_vuln 192.168.1.1 192.168.1.2 10.0.0.1 --port 2222

Using a File with IP Addresses

If you have a file with a list of IP addresses (one per line), you can pass the filename as an argument:

root@kitploit:~
./check_vuln ip_list.txt

Using CIDR Notation

You can also specify CIDR notation to scan an entire subnet:

root@kitploit:~
./check_vuln 192.168.1.0/24

Example Commands

  1. Scan multiple IP addresses on the default port (22):

    root@kitploit:~
    ./check_vuln 192.168.1.1 192.168.1.2 10.0.0.1
    
  2. Scan multiple IP addresses on a custom port (e.g., 2222):

    root@kitploit:~
    ./check_vuln 192.168.1.1 192.168.1.2 10.0.0.1 --port 2222
    
  3. Scan IP addresses from a file:

    root@kitploit:~
    ./check_vuln ip_list.txt
    
  4. Scan an entire subnet using CIDR notation:

    root@kitploit:~
    ./check_vuln 192.168.1.0/24
    

Output Interpretation

The program will print the results of the scan, including the number of servers that are not vulnerable, likely vulnerable, and those with port 22 closed. For example:

root@kitploit:~
🛡️ Servers not vulnerable: 1
   [+] Server at 192.168.1.1

🚨 Servers likely vulnerable: 1
   [+] Server at 192.168.1.2

🔒 Servers with port 22 closed: 1

📊 Total scanned targets: 3

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer

This tool is intended for educational and ethical testing purposes only. Unauthorized use of this tool to scan systems without permission is illegal and unethical.

Download Tool