Nmap Development mailing list archives

Re: Possible error message bug in nmap-4.11 on Gentoo


From: Andreas Ericsson <ae () op5 se>
Date: Thu, 12 Oct 2006 13:34:26 +0200

Daniel Rozsnyó wrote:
Space or no space, does not matter - tested right now on my Gentoo box:

$ nmap -sP -p1-1024 192.168.1.5

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2006-10-12 12:47
CEST
No ports specified -- If you really don't want to scan any ports use
ping scan...
QUITTING!
$ nmap -sP -p 1-1024 192.168.1.5

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2006-10-12 12:47
CEST
No ports specified -- If you really don't want to scan any ports use
ping scan...
QUITTING!
daniel@a03-0106a ~ $


Well, you *are* telling nmap to do a ping-scan (-sP) which doesn't use 
ports, but then you specify ports as well.

Quite possibly, some condition has been reversed/reused somewhere where 
it wasn't proper, so that the error message for the opposite condition 
(non-PING scan with no ports specified) is shown instead.

A quick scan of the source-code should tel you if this is the case.

-- 
Andreas Ericsson                   andreas.ericsson () op5 se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

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


Current thread: