Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2024-6387-exploit — CVE-2024-6387 漏洞利用 | Kitploit
工具/GitHubGitHub/thegenetic/cve-2024-6387-exploit
侦察漏洞扫描器端口扫描漏洞利用网络安全渗透测试
GitHubthegenetic/cve-2024-6387-exploit

CVE-2024-6387-exploit

CVE-2024-6387 漏洞利用

查看仓库
1442年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

SSH 漏洞扫描器

SSH 漏洞扫描器是一个 Python 脚本,使用 Nmap 扫描域名列表以查找存在漏洞的 SSH 版本。它会检查多个端口的 SSH 服务,并识别已知存在安全漏洞的版本。

功能特性

  • 从文件中扫描多个域名,每行一个域名。
  • 检查所有端口上的 SSH 服务(全面端口扫描)。
  • 识别并高亮显示存在漏洞的 SSH 版本。
  • 使用线程进行并发扫描以提高性能。
  • 优雅地处理错误,包括 DNS 解析失败。
  • 以彩色格式输出结果,确保清晰可见。

环境要求

  • Python 3.x
  • Python nmap 库(python3-nmap)
  • Python termcolor 库(termcolor)

安装

  1. 克隆仓库:

    root@kitploit:~
    git clone https://github.com/thegenetic/CVE-2024-6387-exploit.git
    cd CVE-2024-6387-exploit
    
  2. 安装依赖:

    root@kitploit:~
    pip install -r requirements.txt
    

使用方法

  1. 创建一个包含待扫描域名的文本文件(domains.txt),每行一个域名。
  2. 将文件路径作为参数运行脚本:
    root@kitploit:~
    python CVE-2024-6387.py domains.txt
    

选项

  • 该脚本使用 Nmap,并采用以下选项:
    • -Pn:将所有主机视为在线(跳过主机发现)。
    • -sV:探测开放端口以确定服务/版本信息。
    • -p-:扫描全部 65535 个端口。
    • --script ssh2-enum-algos,ssh-auth-methods,ssh-hostkey,ssh-run,sshv1:使用 SSH 专用脚本以获取更详细的信息。

示例输出

root@kitploit:~
$ python CVE-2024-6387.py domains.txt

Scanning example.com (93.184.216.34)...
[example.com] SSH version detected on port 22: SSH-2.0-OpenSSH_8.8p1
[example.com] SSH version detected on port 2222: SSH-2.0-OpenSSH_8.6p1
...

Scan Results:
example.com (22): SSH-2.0-OpenSSH_8.8p1
example.com (2222): SSH-2.0-OpenSSH_8.6p1
example.com (none): No SSH version detected on open ports

...

$ cat domains.txt
example.com
...
下载工具