Nmap Development mailing list archives

Re: UDP scan


From: "DePriest, Jason R." <jrdepriest () gmail com>
Date: Tue, 9 Feb 2010 09:48:23 -0600

Something like
nmap -sSU -P0 -pT:-,U:[-] target/24 may be what you want.

The naked '-' after 'T:' tells nmap to scan all TCP ports.

The '-' surrounded by square brackets after the 'U:', tells nmap to
scan just the default UDP ports.

-Jason

On Wed, Feb 3, 2010 at 9:02 AM, Pierre Noguès <> wrote:
I think the solution is to use this command :
nmap -sU -sS -P0 -pT:0-65535,U:7,53,111... target/24

with U:7,53,111... containing the list of all the ports which are
implemented by the nmap UDP protocol based scan (the ones in payload.cc).

But it's too long and I would have to adjust my command line each time nmap
updates...

Would you implement something like -sUP ?

Best Regards,
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: