直接针对已发现的 HTTP 和 HTTPS 服务上的 OpenSSL 产品进行检测。此检查不会检测存在漏洞的 OpenSSL 1.0.2-beta 版本。此外,OpenSSL 通常被打包到其他软件中,因此建议针对任何使用 SSL 响应的服务进行更精准的检测。
nmap -A -T4 --xml targets 中发现并提取使用 SSL 的端口和目标列表
使用 NMAP 6.3+ 循环遍历目标主机:nmap -sV -p targethostPorts --xml --script=ssl-heartbleed.nse targethostmasscan targethosts -p0-65535 --rate 100000 --heartbleedpython3.exe bleed.py targethost -p targetport