我正在用nmap做一个实验的端口扫描。目标IP为192.168.199.201。我尝试以下两条命令:
使用-sT:
stevennl@stevennl:~$ sudo nmap -sT 192.168.199.201
Starting Nmap 7.01 ( https://nmap.org ) at 2016-10-31 19:43 CST
Nmap scan report for 192.168.199.201
Host is up (0.00058s latency).
Not shown: 999 closed ports
PORT STATE SERVICE
80/tcp open http
MAC Address: 08:00:27:9E:4C:49 (Oracle VirtualBox virtual NIC)
Nmap done: 1 IP address (1 host up) scanned in 0.47 seconds使用-sS:
stevennl@stevennl:~$ sudo nmap -sS 192.168.199.201
Starting Nmap 7.01 ( https://nmap.org ) at 2016-10-31 19:43 CST
Nmap scan report for 192.168.199.201
Host is up (0.00040s latency).
Not shown: 999 closed ports
PORT STATE SERVICE
80/tcp open http
MAC Address: 08:00:27:9E:4C:49 (Oracle VirtualBox virtual NIC)
Nmap done: 1 IP address (1 host up) scanned in 1.81 seconds我想知道为什么在使用-sS参数时扫描需要更多的时间。因为使用-sT需要完成TCP的三次握手,但是使用-sS不会建立TCP连接。所以使用-sS必须更快,但是结果正好相反,我错了吗?
发布于 2016-11-03 21:36:44
有许多外部因素可以发挥作用。以下是一些想法:
-sS的原始套接字。-n跳过此步骤。-sS扫描期间,可能会有其他的东西在使用更多的网络带宽。Nmap通常表现良好,如果由于链路饱和而丢弃数据包,则会退出并重试。还有许多其他可能的解释。时代真的很近。
https://stackoverflow.com/questions/40341639
复制相似问题