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: Nmap 3.81: warning accompanies netmask /1

Re: Nmap 3.81: warning accompanies netmask /1

From: Fyodor <fyodor_at_insecure.org>
Date: Fri, 22 Apr 2005 20:52:22 -0700

On Tue, Feb 08, 2005 at 10:44:18AM -0500, Justin Cranford wrote:
> I get a warning with all versions of nmap (including 3.81) when I run
> this command:
>
> nmap 10.0.0.0/1
>

I don't know how useful that command is, since it covers 2,147,483,648
IPs. I hope you have a long time to wait for results :). Also, as
someone else on nmap-dev mentioned, the 10 is kinda pointless for
anything below /4. 0.0.0.0/1 scans the same IPs.

I looked into the issue though, and found and integer overflow. I
changed TargetGroup::ipsleft from an int into an unsigned long and that
command now works appropriately. The change will be in the next version.

/0 still doesn't work, so I added an error message if someone tries it.

Cheers,
-F

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Received on Apr 22 2005

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos