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: Review: Angry IP Scanner

Re: Review: Angry IP Scanner

From: <bensonk_at_acm.wwu.edu>
Date: Fri, 6 Jun 2008 00:40:53 -0700

> cat input | perl -ne 'print int(rand()*99999999)." $_"' | sort -n | perl -ne 's/^\d+ // and print' > output
>
> I call it the frax0r-shuffle (tm) patentz pending all rights reserved ;)

That's a lot of perl overhead. If you have GNU sort:
cat input | sort -R > output
should achieve the same result. You can even specify your preferred
source of randomness if you care.

Benson

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

  • application/pgp-signature attachment: stored
Received on Jun 06 2008
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos