Security Basics mailing list archives

RE: Nmap discovery - specifying port ranges?


From: "Strykar" <str () hackerzlair org>
Date: Wed, 19 Sep 2007 11:35:18 +0530

RTFM.
nmap -PS -p 1-1024

-----Original Message-----
From: listbounce () securityfocus com
[mailto:listbounce () securityfocus com] On Behalf Of spencerforhire
Sent: Monday, September 17, 2007 8:30 PM
To: security-basics () securityfocus com
Subject: Nmap discovery - specifying port ranges?

I've found Nmap ping sweeps (TCP SYN) very useful to discover machines
that are up, but specifying port ranges doesn't seem to work.  When I
try "-PS1-1024" I get:

"Bogus character in supposed number-list string.  Example of proper
form: "20,80,65532""

Does anyone know if there is a way to specify port ranges w/ the ping
option?

Also, anyone know what the status of the "top ports" project
(http://seclists.org/nmap-dev/2006/q3/0138.html) is?

Thanks!


Current thread: