Nmap Development mailing list archives
Re: [nmap-svn] r32919 - in nmap: . todo
From: Daniel Miller <bonsaiviking () gmail com>
Date: Thu, 5 Jun 2014 14:11:46 -0500
Jay, I just realized that your change here to the configure script will be overwritten the next time someone runs autoconf. The change should instead be made to configure.ac, then run autoconf 2.69 to regenerate configure. Please make this change and commit it. Dan On Sat, May 31, 2014 at 5:34 AM, <commit-mailer () nmap org> wrote:
Author: jay Date: Sat May 31 10:34:11 2014 New Revision: 32919 Log: Add randomizer to configure script so that a random ASCII art from docs/leet-nmap-ascii-art*.txt is printed Modified: nmap/configure nmap/todo/nmap.txt Modified: nmap/configure ============================================================================== --- nmap/configure (original) +++ nmap/configure Sat May 31 10:34:11 2014 @@ -9392,7 +9392,24 @@ fi # Krad ASCII ART#!#@$!@#$ -if test -f docs/leet-nmap-ascii-art.txt; then - cat docs/leet-nmap-ascii-art.txt +# Randomly store the name of one of the ASCII Art files in FILENAME +FILENAME=`ls docs/leet-nmap-ascii-art*.txt 2>/dev/null | awk ' + BEGIN { + srand(); + } + + { + lines[++d] = $0 + } + + END { + # This makes AWKs random numbers more random + print lines[int(rand()*49139)%d+1]; + } + '` +# Print the file to screen, if any such file exists (i.e. $FILENAME is not empty) +if test "$FILENAME"; then + cat "$FILENAME" fi + echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile." Modified: nmap/todo/nmap.txt ============================================================================== --- nmap/todo/nmap.txt (original) +++ nmap/todo/nmap.txt Sat May 31 10:34:11 2014 @@ -74,9 +74,6 @@ topology view. http://seclists.org/nmap-dev/2012/q1/82 has a patch, however it doesn't handle the case of two or more consecutive timeouts. - o Add randomizer to configure script so that a random ASCII art from - docs/leet-nmap-ascii-art*.txt is printed. I think I'll start naming - them leet-nmap-ascii-art-submittername.txt. o Provide an option to send a comment in scan packet data for target network. Examples: --comment "Scan conducted by Marc Reis from SecOps, extension 2147" or --comment "pH33r my l3eT @@ -832,6 +829,10 @@ DONE: +o Add randomizer to configure script so that a random ASCII art from + docs/leet-nmap-ascii-art*.txt is printed. I think I'll start naming + them leet-nmap-ascii-art-submittername.txt. + o Add IPv6 subnet/pattern support like we offer for IPv4. o OK, we now have the subnet/pattern support, but not the two-stage model discussed below. So we added a separate task for that. _______________________________________________ Sent through the svn mailing list http://nmap.org/mailman/listinfo/svn
_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: [nmap-svn] r32919 - in nmap: . todo Daniel Miller (Jun 05)
- Re: [nmap-svn] r32919 - in nmap: . todo Jay Bosamiya (Jun 06)