-
-
Save jaybosamiya/e2cecc305b4055cb7776 to your computer and use it in GitHub Desktop.
[NMAP] [Patch] KRAD Ascii Art (A short and sweet patch)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: configure | |
=================================================================== | |
--- configure (revision 32783) | |
+++ configure (working copy) | |
@@ -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." | |
Index: docs/leet-nmap-ascii-art-jay.txt | |
=================================================================== | |
--- docs/leet-nmap-ascii-art-jay.txt (revision 0) | |
+++ docs/leet-nmap-ascii-art-jay.txt (working copy) | |
@@ -0,0 +1,16 @@ | |
+ | |
+ :================: | |
+ /||nmap@nmap:~@ || | |
+ / || || | |
+ | || || | |
+ \ || || | |
+ ================== | |
+ ........... / \............. | |
+ :\ ############ \ | |
+ : --------------------------------- | |
+ : | * |__________|| :::::::::: | | |
+ \ | | || ....... | | |
+ --------------------------------- 8 | |
+ | |
+ NMAP IS A POWERFUL TOOL -- USE CAREFULLY AND RESPONSIBLY | |
+ | |
Index: docs/leet-nmap-ascii-art-gary-g-nass.txt | |
=================================================================== | |
--- docs/leet-nmap-ascii-art-gary-g-nass.txt (revision 0) | |
+++ docs/leet-nmap-ascii-art-gary-g-nass.txt (working copy) | |
@@ -0,0 +1,24 @@ | |
+ | |
+ GOD | |
+ * . dZZZZZ, . * | |
+ dZZZZ ZZ, | |
+ * . ,AZZZZZZZZZZZ `ZZ,_ * | |
+ ,ZZZZZZV' ZZZZ `Z,`\ | |
+ ,ZZZ ZZ . ZZZZ `V | |
+ * ZZZZV' ZZ ZZZZ \_ . | |
+. V l . ZZ ZZZZZZ . | |
+ l \ ZZ, ZZZ ZZZZZZ, | |
+ . / ZZ l ZZZ ZZZ `Z, | |
+ ZZ l ZZZ Z Z, `Z, * | |
+ . ZZ ZZZ Z Z, `l | |
+ Z ZZ V `Z \ | |
+ V ZZC l V | |
+ Z l V ZR l . | |
+ \ \ l ZA | |
+ \ C C | |
+ \ K / / K | |
+ A \ \ | / / / | |
+ \ \\|/ / / | |
+ __________________________________\|/_________________________ | |
+ NMAP IS A POWERFUL TOOL -- USE CAREFULLY AND RESPONSIBLY | |
+ | |
Index: todo/nmap.txt | |
=================================================================== | |
--- todo/nmap.txt (revision 32783) | |
+++ todo/nmap.txt (working copy) | |
@@ -738,12 +738,6 @@ | |
(there used to be umit logo there). | |
o Maybe that can be done after the release by soliciting ideas. | |
-o Create or collect some great ./configure ascii art. | |
- | |
-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 | |
@@ -783,6 +777,12 @@ | |
DONE: | |
+o Create or collect some great ./configure ascii art. | |
+ | |
+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 Web: figure out why autogeneration of nmap.org/nsedoc/ doesn't seem | |
to be working. I think we had a cron job which was supposed to be | |
doing it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment