端口扫描工具naabu

admin 2024年7月18日13:31:36评论21 views字数 1899阅读6分19秒阅读模式
端口扫描工具naabu

声明:文中所涉及的技术、思路和工具仅供以安全为目的的学习交流使用,任何人不得将其用于非法用途给予盈利等目的,否则后果自行承担!

端口扫描工具naabu

在linux上我们可以用nmap,但在windows上nmap用起来就不那么舒服。这里给大家介绍一个端口扫描工具naabu。

naabu

naabu
https://github.com/projectdiscovery/naabu

naabu -h 查看用法

常见用例
naabu -host hackerone.com

指定端口和协议类型
naabu -p 80,443,21-23,u:53 -host hackerone.com

naabu -p - -duc -Pn -host 116.228.182.26

顺带一提,我写脚本用os.system调用命令的时候卡主了。查了半天,最好在-h里找到了这个选项。添加上之后就可以正常那个跑了。

端口扫描工具naabu

常用选项

-c int 增加线程,默认25,我一般给500.
-rate int packets to send per second (default 1000)
-duc, -disable-update-check 不检查更新
-host string[] 可以跟域名也可以跟ip
-port, -p string端口,-p -全端口
-top-ports

功能挺多的,还能检查ips,cdn啥的,还可以调用nmap

naabu -nc -duc -Pn -no-stdin -silent -p - -host 192.168.23.1

端口扫描工具naabu

通用

  • 指定固定端口使用udp扫描
    naabu -p 80,443,21-23,u:53 -host hackerone.com

端口

PORT:
-port, -p string ports to scan (80,443, 100-200)
-top-ports, -tp string top ports to scan (default 100) [full,100,1000]
-exclude-ports, -ep string ports to exclude from scan (comma-separated)
-ports-file, -pf string list of ports to scan (file)
-port-threshold, -pts int port threshold to skip port scan for the host
-exclude-cdn, -ec skip full port scans for CDN/WAF (only scan for port 80,443)
-display-cdn, -cdn display cdn in use

input

INPUT:
-host string[] hosts to scan ports for (comma-separated)
-list, -l string list of hosts to scan ports (file)
-exclude-hosts, -eh string hosts to exclude from the scan (comma-separated)
-exclude-file, -ef string list of hosts to exclude from scan (file)

naabu -nc -duc -Pn -no-stdin -silent -tp 1000 -host 192.168.23.1 -o test.txt

读取文件中的ip
naabu -nc -duc -Pn -no-stdin -silent -tp 1000 -l ip.txt -o test.txt

output

OUTPUT:
-o, -output string file to write output to (optional)
-j, -json write output in JSON lines format
-csv write output in csv format

naabu -nc -duc -Pn -no-stdin -silent -tp 1000 -host 192.168.23.1 -o test.txt

端口扫描工具naabu

naabu -nc -duc -Pn -no-stdin -silent -tp 1000 -host 192.168.23.1 -j -o test.json

端口扫描工具naabu

naabu -nc -duc -Pn -no-stdin -silent -tp 1000 -host 192.168.23.1 -csv -o test.csv

端口扫描工具naabu

联动httpx

端口扫描工具naabu

naabu -nc -duc -Pn -no-stdin -silent -tp 1000 -l hosts.txt | httpx -sc -cl -nc -silent

往期推荐

好用!一键化搭建各种虚拟机

Windows上搭建黑苹果(非从头开始)以及一些心得

避免错过隐蔽资产,burpsuite识别网站指纹

微信小程序/网页动态调试的方法

原文始发于微信公众号(进击的HACK):端口扫描工具naabu

免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2024年7月18日13:31:36
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   端口扫描工具naabuhttps://cn-sec.com/archives/2968571.html
                  免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉.

发表评论

匿名网友 填写信息