使用 nmap 时 -P0 选项有什么作用?
What does the -P0 option do when using nmap?
我正在尝试了解 nmap 的基础知识及其功能。我正在使用 wireshark 检查网络流量。我对以下选项有疑问。
以下命令有什么区别。是否推荐使用-P0选项?
nmap -p113 scanme.nmap.org
nmap -p113 -P0 scanme.nmap.org
我一直在尝试查找 -P0 选项的作用,但我无法在任何 nmap 选项作弊中找到它 sheet。
从nmap manual我们了解到:
In previous versions of Nmap, -Pn was -P0. and -PN..
因此,-P0
现在是 -Pn
。
现在 -Pn
是什么?
This option skips the Nmap discovery stage altogether. Normally, Nmap uses this stage to determine active machines for heavier scanning. By default, Nmap only performs heavy probing such as port scans, version detection, or OS detection against hosts that are found to be up. Disabling host discovery with -Pn causes Nmap to attempt the requested scanning functions against every target IP address specified. [...]
我正在尝试了解 nmap 的基础知识及其功能。我正在使用 wireshark 检查网络流量。我对以下选项有疑问。
以下命令有什么区别。是否推荐使用-P0选项?
nmap -p113 scanme.nmap.org
nmap -p113 -P0 scanme.nmap.org
我一直在尝试查找 -P0 选项的作用,但我无法在任何 nmap 选项作弊中找到它 sheet。
从nmap manual我们了解到:
In previous versions of Nmap, -Pn was -P0. and -PN..
因此,-P0
现在是 -Pn
。
现在 -Pn
是什么?
This option skips the Nmap discovery stage altogether. Normally, Nmap uses this stage to determine active machines for heavier scanning. By default, Nmap only performs heavy probing such as port scans, version detection, or OS detection against hosts that are found to be up. Disabling host discovery with -Pn causes Nmap to attempt the requested scanning functions against every target IP address specified. [...]