nmap在特定列表中扫描特定端口

发布于 2025-02-04 17:57:16 字数 262 浏览 3 评论 0原文

我正在使用 nmap 在与本地网络连接的所有IP上扫描所有打开端口。

我想检查从文本文件中选择的IP列表中的特定端口。

是否可以指定端口列表以及IPS列表?

我正在寻找这样的东西:

nmap (specfic ports) -sS -iL ip_list.txt

I am using nmap to scan all open ports on all IPs connected with local network.

I want to check specific ports on a list of IPs which is being picked from a text file.

Is it possible to specify a list of ports along with a list of IPs?

I'm looking for something like this:

nmap (specfic ports) -sS -iL ip_list.txt

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

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

发布评论

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

评论(1

绝對不後悔。 2025-02-11 17:57:16

您可以使用-p

nmap -p80,443 -sS -iL ip_list.txt

来自文档

-p:仅扫描指定的端口
例如:-p22; -p1-65535; -P U:53,111,137,T:21-25,80,139,8080,S:9

如果您只想要开放端口,则可以添加- Open

nmap -p80,443 --open -sS -iL ip_list.txt

You can use -p:

nmap -p80,443 -sS -iL ip_list.txt

From the documentation:

-p : Only scan specified ports
Ex: -p22; -p1-65535; -p U:53,111,137,T:21-25,80,139,8080,S:9

If you just want the open ports, you can add --open:

nmap -p80,443 --open -sS -iL ip_list.txt
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文