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
When I use
-sU
option with--top-ports
it give me tcp not udpwith noting that
-sU
option works correct with--ports
optionthe fix should be in
--top-ports
option it only use tcpEX: