漏洞扫描工具使用nmap和nse脚本查找漏洞
此工具为使用nmap进行漏洞扫描增加了额外价值。它使用NSE脚本,可以在漏洞检测和利用方面增加灵活性。以下是NSE脚本提供的一些功能:
此工具使用路径 /usr/share/nmap/scripts/,其中nse脚本位于Kali Linux中。
该工具执行以下操作:
如果该工具在某个协议(例如http)中发现漏洞,它会将输出保存到日志文件中,该文件创建并保存在以下位置:/home/vulnerabilities_enumeration/http_vulnerabilities/http_vulnerabilities/http_vulnerabilities.txt。在此示例中,文件夹是使用协议前缀创建的,当前情况下是http协议。
[Usage:] ./vscan.sh <ip_range> <protocol> <port> <Pn (optional)>
[Usage:] ./vscan.sh <ips_file> <protocol> <port> <Pn (optional)>
[Usage:] ./vscan.sh <ip> <protocol> <port> <Pn (optional)>
./vscan.sh 192.168.162.90 http 80
./vscan.sh 192.168.162.10-90 http 80
./vscan.sh 192.168.162.90 ssh 22 Pn
./vscan.sh IPs.txt smb 445



