
Test_CVE-2024-6387 is a lightweight, efficient tool designed to identify servers running vulnerable versions of OpenSSH
CVE-2024-6387_Check é uma ferramenta leve e eficiente projetada para identificar servidores executando versões vulneráveis do OpenSSH, visando especificamente a vulnerabilidade regreSSHion descoberta recentemente (CVE-2024-6387). Este script facilita a varredura rápida de múltiplos endereços IP, nomes de domínio e faixas de rede CIDR para detectar potenciais vulnerabilidades e garantir que sua infraestrutura esteja segura.
python CVE-2024-6387_Check.py <targets> [--port PORT]
python CVE-2024-6387_Check.py 192.168.1.1
python CVE-2024-6387_Check.py -l ip_list.txt
python CVE-2024-6387_Check.py 192.168.1.1 example.com 192.168.1.2
python CVE-2024-6387_Check.py 192.168.1.0/24
python CVE-2024-6387_Check.py 192.168.1.1 example.com --port 2222
O script fornecerá um resumo dos alvos escaneados:
🛡️ 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