该Bash脚本旨在根据SSH横幅检查服务器是否运行存在漏洞的OpenSSH版本。它会验证SSH端口是否开放,并检查横幅响应以确定是否匹配任何已知的易受攻击版本。
git clone https://github.com/shamo0/CVE-2024-6387_PoC
cd CVE-2024-6387_PoC
check.sh <ip> [<ip> ...] [--port=<port>] [--timeout=<timeout>] [--file=<filename>]
<ip>:<port> vulnerable (running SSH version)。<ip>:<port> not vulnerable (running SSH version)。<ip>:<port> closed。