nmap 快速扫描所有端口

nmap -sT -sV -Pn -v xxx.xxx.xxx.xxx

nmap -sS -p 1-65535 -v 192.168.1.254
参数:
-sS    TCP SYN扫描    nmap -sS 192.168.1.254   
-P     指定端口扫描   nmap -sS -P 1-65535 192.168.1.254
-V     详细信息       nmap -V -sS 192.168.1.254

原文地址:https://www.cnblogs.com/guxiaobei/p/8045770.html