Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



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

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

From: Andreas Ericsson <ae_at_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_at_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_at_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
Received on Oct 12 2006
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]