1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
| 使用方法: ./naabu-2.1.1 [flags]
Flags: INPUT: -host string[] 扫描目标, 支持域名或IP地址 -list, -l string 从文件读取扫描目标 (file) -exclude-hosts, -eh string 排除扫描目标, 以逗号分隔 -exclude-file, -ef string 从文件读取要排除的扫描目标 (file)
PORT: -port, -p string 指定扫描端口 (80,443, 100-200) -top-ports, -tp string 默认top100 (default 100) -exclude-ports, -ep string 需要排除的扫描端口, 以逗号分隔 -ports-file, -pf string 从文件读取扫描端口 (file) -port-threshold, -pts int 跳过主机端口扫描的端口阈值 (暂不知道作用) -exclude-cdn, -ec 跳过 CDN 的完整端口扫描 (只检查 80,443) -display-cdn, -cdn 展示正在使用的cdn
RATE-LIMIT: -c int general internal worker threads (default 25) -rate int packets to send per second (default 1000)
OUTPUT: -o, -output string 指定结果输出文件 (可选参数) -json 以json格式输出结果 -csv 以csv格式输出结果
CONFIGURATION: -scan-all-ips, -sa 扫描与dns记录的所有ip -ip-version, -iv string[] 指定ipv4还是ipv6 - (default 4) -scan-type, -s string 扫描类型, 默认syn半连接 (SYN/CONNECT) -source-ip string 来源IP端口 (x.x.x.x:yyy) -interface-list, -il 列出可用网卡和公共IP -interface, -i string 指定用于端口扫描的网卡 -nmap 直接调用namp扫描, 需注意已标位弃用 (nmap must be installed) - Deprecated -nmap-cli string 对找到的结果运行nmap命令 (example: -nmap-cli 'nmap -sV') -r string 自定义域名解析 (comma separated or from file) -proxy string socks5 代理 (ip[:port] / fqdn[:port] -proxy-auth string socks5 代理认证 (username:password) -resume 通过resume.cfg恢复扫描 -stream 流模式 (disables resume, nmap, verify, retries, shuffling, etc) -passive 使用shodan的数据接口显示被动开放端口 -irt, -input-read-timeout duration 输入超时时间 (default 3m0s) -no-stdin 禁用标准处理
HOST-DISCOVERY: -sn, -host-discovery 仅执行主机探活 -Pn, -skip-host-discovery 跳过主机探活 -ps, -probe-tcp-syn string[] TCP SYN Ping (host discovery needs to be enabled) -pa, -probe-tcp-ack string[] TCP ACK Ping (host discovery needs to be enabled) -pe, -probe-icmp-echo ICMP echo request Ping (host discovery needs to be enabled) -pp, -probe-icmp-timestamp ICMP timestamp request Ping (host discovery needs to be enabled) -pm, -probe-icmp-address-mask ICMP address mask request Ping (host discovery needs to be enabled) -arp, -arp-ping ARP ping (host discovery needs to be enabled) -nd, -nd-ping IPv6 Neighbor Discovery (host discovery needs to be enabled)
OPTIMIZATION: -retries int 端口扫描重试次数 (default 3) -timeout int 超时等待时间, 单位为毫秒 (default 1000) -warm-up-time int 扫描阶段之间的时间 (default 2) -ping 进行ping探活 -verify 使用tcp再次验证端口
DEBUG: -health-check, -hc run diagnostic check up -debug 显示调试信息 -verbose, -v 展示详细输出 -no-color, -nc 在cli输出禁用着色 -silent 在输出中仅展示结果 -version 显示naabu的版本 -stats 显示运行扫描的状态 -si, -stats-interval int 显示统计信息更新之间等待的秒数 (default 5)
|