Nmap Development mailing list archives

RE: nmap 4.53 not liking -'s in ip's


From: "Sina Bahram" <sbahram () nc rr com>
Date: Fri, 1 Feb 2008 13:43:28 -0500

Aha, I could have sworn that syntax worked before to go from 200 to 250 ...
but now I have to do 200-250

Take care,
Sina

-----Original Message-----
From: nmap-dev-bounces () insecure org [mailto:nmap-dev-bounces () insecure org]
On Behalf Of Ben Rosenberg
Sent: Friday, February 01, 2008 1:32 PM
To: Sina Bahram
Cc: nmap-dev () insecure org
Subject: Re: nmap 4.53 not liking -'s in ip's

It is illegal because you told it span from 200 to 50. The second number
needs to be larger than the first.

This works:
$ nmap -sP 127.0.0.4-5

Starting Nmap 4.53 [Revision 6743] ( http://nmap.org ) at 2008-02-01 10:31
PST Host 127.0.0.4 appears to be up.
Host 127.0.0.5 appears to be up.
Nmap done: 2 IP addresses (2 hosts up) scanned in 0.057 seconds

This doesnt:
$ nmap -sP 127.0.0.4-3

Starting Nmap 4.53 [Revision 6743] ( http://nmap.org ) at 2008-02-01 10:31
PST Your host specifications are illegal!
QUITTING!


scdlbx

On Feb 1, 2008 10:15 AM, Sina Bahram <sbahram () nc rr com> wrote:
Hi all,

Unless if I missed something, this is legal syntax, right?

nmap -sP 10.100.1.200-50

It claims it's illegal.

Take care,
Sina


_______________________________________________
Sent through the nmap-dev mailing list 
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: