Nmap扫描 一、基础功能 #扫描IP地址 nmap -sn 192.168.0.1/24 192.168.0.1-255 #扫描端口号 基于syn扫描:nmap -sS 192.168.0.1 基于三次握手扫描:nmap -sT 192.168.0.1 #指定端口扫描 nmap -p10-20 -p80,443 192.168.0.1 #扫描端口和版本 nmap -sV 192.168.0.1 #扫描操作系统 nmap -O 192.168.0.1 #万能开关 nmap -A 192.168.0.1