robertdavidgraham / masscan

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

using top ports with udp scan

SefeinSaeed opened this issue · comments

When I use -sU option with --top-ports it give me tcp not udp

with noting that -sU option works correct with --ports option

the fix should be in --top-ports option it only use tcp

EX:

─$ sudo masscan -sU --top-ports 50 -e tun0 10.10.125.223
Starting masscan 1.3.2 (http://bit.ly/14GZzcT) at 2023-10-25 18:31:36 GMT
Initiating SYN Stealth Scan
Scanning 1 hosts [50 ports/host]
Discovered open port 53/tcp on 10.10.125.223                                   
Discovered open port 80/tcp on 10.10.125.223                                   
Discovered open port 22/tcp on 10.10.125.223