1747347030

This commit is contained in:
2025-05-15 16:10:30 -06:00
parent 70deb3f3d5
commit c5f0d6e9f4
6 changed files with 16 additions and 37 deletions
-14
View File
@@ -1,14 +0,0 @@
#!/bin/bash
# alias nmap="/var/www/html/nmaprincesspi/nmap-script.sh"
scansPath="/var/www/html/nmaprincesspi/scans"
fileName="nmap-$(date +%Y%m%d-%H%M%S).xml"
filePath="$scansPath/$fileName"
webPath="http://10.0.0.51/nmaprincesspi/scans/$fileName"
cmd="nmap -oX \"$filePath\" --stylesheet \"/nmaprincesspi/xsl/princesspi-nmap.xsl\" $*"
echo -e "\n\nRunning:\n\t$cmd"
echo -e "Report Saving to\n\t$webPath\n\n"
eval "$cmd"
echo -e "\n\nReport Visible at $webPath"