From 8d11a679f1bbbc6d609cf272edc0f50caf132db2 Mon Sep 17 00:00:00 2001 From: hPrnicessPi3 Date: Thu, 15 May 2025 13:41:46 -0600 Subject: [PATCH] uopdoots and pretties --- nmap-script.sh | 7 ++++--- xsl/princesspi-nmap.xsl | 44 ++++++++++++++++++++--------------------- 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/nmap-script.sh b/nmap-script.sh index 47cadae..6d9fccf 100755 --- a/nmap-script.sh +++ b/nmap-script.sh @@ -1,4 +1,5 @@ #!/bin/bash +# alias nmap="/var/www/html/nmaprincesspi" scansPath="/var/www/html/nmap-scans" fileName="nmap-$(date +%Y%m%d-%H%M%S).xml" filePath="$scansPath/$fileName" @@ -6,8 +7,8 @@ webPath="http://10.0.0.51/nmap-scans/$fileName" cmd="nmap -oX \"$filePath\" --stylesheet \"/nmaprincesspi/xsl/princesspi-nmap.xsl\" $*" -echo -e "\nRunning: $cmd" -echo -e "Report Saving to: $webPath\n\n" +echo -e "\n\nRunning:\n\t$cmd" +echo -e "Report Saving to\n\t$webPath\n\n" eval "$cmd" -echo -e "Done!\n\nReport Visible at $webPath\n\n" \ No newline at end of file +echo -e "\n\nReport Visible at $webPath" \ No newline at end of file diff --git a/xsl/princesspi-nmap.xsl b/xsl/princesspi-nmap.xsl index 5b8b2a3..a6508f0 100644 --- a/xsl/princesspi-nmap.xsl +++ b/xsl/princesspi-nmap.xsl @@ -81,7 +81,7 @@ } body { - font-family: "Comic-Code-Regular" "Comic Sans MS", "Comic Sans", sans-serif; + font-family: "Comic-Code-Regular","Comic Sans MS", "Comic Sans", sans-serif; background-color: #FFDDDD; } @@ -146,7 +146,7 @@ @media screen { body { - font-family: "Comic-Code-Regular" "Comic Sans MS", "Comic Sans", sans-serif; + font-family: "Comic-Code-Regular", "Comic Sans MS", "Comic Sans", sans-serif; background-image: url('/nmaprincesspi/img/princesspi-large-alpha-transparency-more-faded.png'); background-repeat: no-repeat; background-color: #FFDDDD; @@ -162,9 +162,9 @@ } h1 { - font-family: "Comic-Code-Regular" "Comic Sans MS", "Comic Sans", sans-serif; + font-family: "Comic-Code-Regular", "Comic Sans MS", "Comic Sans", sans-serif; font-weight: bold; - font-size: 14pt; + font-size: 2em; color: #800080; background-color: #FFB4C0; margin: 10px 0 0 0; @@ -175,9 +175,9 @@ } h2 { - font-family: "Comic-Code-Regular" "Comic Sans MS", "Comic Sans", sans-serif; + font-family: "Comic-Code-Regular","Comic Sans MS", "Comic Sans", sans-serif; font-weight:bold; - font-size: 11pt; + font-size: 1.7em; color: #800080; margin:30px 0px 0px 0px; padding:4px; @@ -199,9 +199,9 @@ } h3 { - font-family: "Comic-Code-Regular" "Comic Sans MS", "Comic Sans", sans-serif; + font-family: "Comic-Code-Regular","Comic Sans MS", "Comic Sans", sans-serif; font-weight:bold; - font-size: 10pt; + font-size: 1.5em; color: #800080; background-color: #FFB4C0; width: 75%; @@ -209,8 +209,8 @@ } p { - font-family: "Comic-Code-Regular" "Comic Sans MS", "Comic Sans", sans-serif; - font-size: 8pt; + font-family: "Comic-Code-Regular", "Comic Sans MS", "Comic Sans", sans-serif; + font-size: 1em; color: #800080; background-color: #FFB4C0; width: 75%; @@ -218,15 +218,15 @@ } p i { - font-family: "Comic-Code-Regular" "Comic Sans MS", "Comic Sans", sans-serif; - font-size: 8pt; + font-family: "Comic-Code-Regular", "Comic Sans MS", "Comic Sans", sans-serif; + font-size: 1em; color: #800080; background-color: #FFEEEE; } ul { - font-family: "Comic-Code-Regular" "Comic Sans MS", "Comic Sans", sans-serif; - font-size: 8pt; + font-family: "Comic-Code-Regular","Comic Sans MS", "Comic Sans", sans-serif; + font-size: 1em; color: #800080; background-color: #FFB4C0; width: 75%; @@ -234,18 +234,18 @@ } a { - font-family: "Comic-Code-Regular" "Comic Sans MS", "Comic Sans", sans-serif; + font-family: "Comic-Code-Regular","Comic Sans MS", "Comic Sans", sans-serif; text-decoration: none; - font-size: 8pt; + font-size: 1em; font-weight: bold; background-color: #FFB4C0; color: #800080; } li a { - font-family: "Comic-Code-Regular" "Comic Sans MS", "Comic Sans", sans-serif; + font-family: "Comic-Code-Regular","Comic Sans MS", "Comic Sans", sans-serif; text-decoration: none; - font-size: 10pt; + font-size: 1em; font-weight: bold; background-color: #FFB4C0; color: #800080; @@ -269,8 +269,8 @@ tr { vertical-align:top; - font-family: "Comic-Code-Regular" "Comic Sans MS", "Comic Sans", sans-serif; - font-size: 8pt; + font-family: "Comic-Code-Regular","Comic Sans MS", "Comic Sans", sans-serif; + font-size: 1em; color: #800080; background-color: #FFB4C0; } @@ -314,8 +314,8 @@ #menubox { position: fixed; - bottom: 0px; - right: 0px; + bottom: 0; + right: 0; width: 120px; }