# 不使用并行发包对主机进行端口扫描,耗时118.59秒 $ nmap -sS -p1-65535 www.diaoan.xyz Starting Nmap 7.92 ( https://nmap.org ) at 2022-02-08 17:39 China Standard Time Nmap scan report for www.diaoan.xyz Host is up (0.035s latency). Not shown: 65514 filtered tcp ports (no-response) PORT STATE SERVICE 80/tcp open http Nmap done: 1 IP address (1 host up) scanned in 118.59 seconds
1 2 3 4 5 6 7 8 9 10
# 设置并行最小发包数为3000,耗时48.53秒 $ nmap --min-parallelism 3000 -sS -p1-65535 www.diaoan.xyz Warning: Your --min-parallelism option is pretty high! This can hurt reliability. Starting Nmap 7.92 ( https://nmap.org ) at 2022-02-08 17:42 China Standard Time Nmap scan report for www.diaoan.xyz Host is up (0.043s latency). Not shown: 65514 filtered tcp ports (no-response) PORT STATE SERVICE 80/tcp open http Nmap done: 1 IP address (1 host up) scanned in 48.53 seconds