uopdoots and pretties and added README and scans dir and gitignore
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
scans
|
||||||
|
scratch*
|
||||||
|
*.bak*
|
||||||
|
*.old*
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
# silly lil nmap thing
|
||||||
|
|
||||||
|
add alias to .zshrc or .basrc
|
||||||
|
`alias nmap="/var/www/html/nmaprincesspi/nmap-script.sh"`
|
||||||
|
|
||||||
|
manuual
|
||||||
|
`nmap -oX /var/www/html/nmaprincesspi/scans/FILENMAME.xml --stylesheet /nmaprincesspi/xsl/princesspi-nmap.xsl`
|
||||||
@@ -1 +0,0 @@
|
|||||||
-oX <filename> --stylesheet /nmaprincesspi/xsl/princesspi-nmap.xsl
|
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# alias nmap="/var/www/html/nmaprincesspi"
|
# alias nmap="/var/www/html/nmaprincesspi/nmap-script.sh"
|
||||||
scansPath="/var/www/html/nmap-scans"
|
scansPath="/var/www/html/nmaprincesspi/scans"
|
||||||
fileName="nmap-$(date +%Y%m%d-%H%M%S).xml"
|
fileName="nmap-$(date +%Y%m%d-%H%M%S).xml"
|
||||||
filePath="$scansPath/$fileName"
|
filePath="$scansPath/$fileName"
|
||||||
webPath="http://10.0.0.51/nmap-scans/$fileName"
|
webPath="http://10.0.0.51/nmap-scans/$fileName"
|
||||||
|
|||||||
Reference in New Issue
Block a user