SentinelSSH 是一款用 Go 编写的高级高性能 SSH 漏洞扫描器,专门用于检测各种网络环境中 OpenSSH 服务器上的 CVE-2024-6387 漏洞。
要安装 SentinelSSH,请确保你的系统已安装 Go(1.16 或更高版本),然后运行:
go install github.com/harshinsecurity/sentinelssh/cmd/sentinelssh@latest
安装完成后,可以直接在命令行中运行 SentinelSSH:
sentinelssh [flags] [targets...]
--port, -p:目标端口号(默认:22)--timeout, -t:连接超时时间(秒,默认:5)--concurrency, -c:并发扫描数(默认:100)--output, -o:详细结果输出文件(CSV 格式)--file, -f:包含目标列表的文件扫描单个 IP:
sentinelssh 192.168.1.1
扫描域名:
sentinelssh example.com
扫描多个目标:
sentinelssh example.com 192.168.1.1 10.0.0.1
从文件扫描目标:
sentinelssh -f targets.txt
将结果保存到 CSV 文件:
sentinelssh -o results.csv 192.168.1.1 example.com
自定义端口和更高并发:
sentinelssh --port 2222 --concurrency 200 192.168.1.0/24
本项目采用 MIT 许可证授权 - 详情请参阅 LICENSE 文件。
欢迎贡献!请随时提交 Pull Request。