NMAP -P-命令做什么?

发布于 2025-02-09 03:56:45 字数 183 浏览 1 评论 0原文

我刚刚开始使用hack the盒子,我发现它使用了哪些nmap命令以及原因。在大多数情况下,他们使用nmap -sv {target IP},但其他时候他们会使用nmap -p- -sv {target IP}

我尝试查看命令列表,但看不到任何-p-属性,此扫描到底在做什么?

I just started using hack the box and I find it confusing which nmap commands are being used and why. Most of the time they use nmap -sV {Target IP} but other times they use nmap -p- -sv {Target IP}.

I tried looking through the command lists but I don't see any -p- attribute, what exactly is this scan doing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

宣告ˉ结束 2025-02-16 03:56:45

-p-用于扫描所有65535端口。

来自man nmap

-p port ranges (Only scan specified ports)
           ...
           So you can specify -p- to scan ports from 1 through 65535.
           ...

-p- is for scanning all the 65535 ports.

From man nmap:

-p port ranges (Only scan specified ports)
           ...
           So you can specify -p- to scan ports from 1 through 65535.
           ...
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文