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: [Bug]? -iR <num_hosts> on windows XP generates duplicate targets

Re: [Bug]? -iR <num_hosts> on windows XP generates duplicate targets

From: Fyodor <fyodor_at_insecure.org>
Date: Wed, 23 Apr 2008 20:16:43 -0700

On Thu, Apr 24, 2008 at 01:54:45AM +0000, Brandon Enright wrote:
>
> The solution to this is to drop the re-seeding code starting at line
> 184 of nbase/nbase_rng.cc (it is redundant and done in main.cc).

Good find. While the srand() call in nbase_rnd.c shouldn't be
repeating, maybe the main.cc one is clobering it so soon afterward
that tv.tv_usec hasn't changed on Windows. In other words, Windows
must not be good at updating tv.tv_usec . Maybe we should just change
one of the srand calls to use a different seeding mechanism.

-F

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

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