From d0cc75a6ac9b021ecd36c73ba90ff44a032c708b Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 9 Aug 2025 10:35:41 -0600 Subject: [PATCH] 1754757341 --- customscripts/FIND_THE_DAMN_PI | 11 +++++++---- customscripts/FIND_THE_DAMN_PI_HARDCORE | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/customscripts/FIND_THE_DAMN_PI b/customscripts/FIND_THE_DAMN_PI index 993938c..ce70a46 100644 --- a/customscripts/FIND_THE_DAMN_PI +++ b/customscripts/FIND_THE_DAMN_PI @@ -1,11 +1,14 @@ -out_file="/tmp/nmap.xml" +#!/bin/zsh -nmap -vv --reason -T4 10.0.0.0/24 -oX $out_file --stylesheet https://h.acker.is/nmaprincesspi/xsl/princesspi-nmap.xsl +file_name="nmap-$(date +%Y%m%d%H%M%S)-$(echo $RANDOM | md5sum | awk '{print $1}').xml" +out_file="/tmp/$file_name" -scp $out_file inter:/var/www/h.acker.is/nmaprincesspi_manual_scans/nmap.xml +nmap -vv --reason 10.0.0.0/24 -oX $out_file --stylesheet https://h.acker.is/nmaprincesspi/xsl/princesspi-nmap.xsl + +scp $out_file inter:/var/www/h.acker.is/nmaprincesspi_manual_scans/$file_name # ssh inter "sudo bash /usr/share/customscripts/fix_permissions" webhook "FINISHED <@&1369280290203373670>" echo "file: $out_file" -echo "live: https://h.acker.is/nmaprincesspi_manual_scans/nmap.xml" \ No newline at end of file +echo "live: https://h.acker.is/nmaprincesspi_manual_scans/$file_name" \ No newline at end of file diff --git a/customscripts/FIND_THE_DAMN_PI_HARDCORE b/customscripts/FIND_THE_DAMN_PI_HARDCORE index f1d722c..b5f170e 100644 --- a/customscripts/FIND_THE_DAMN_PI_HARDCORE +++ b/customscripts/FIND_THE_DAMN_PI_HARDCORE @@ -1,7 +1,7 @@ out_file="/tmp/nmap.xml" echo "this will take a while" -nmap -vv -A --reason -Pn 10.0.0.0/24 -oX $out_file --stylesheet https://h.acker.is/nmaprincesspi/xsl/princesspi-nmap.xsl +nmap -vv -A --reason -Pn 10.0.0.0/24 -oX $out_file --stylesheet https://h.acker.is/nmaprincesspi/xsl/princesspi-nmap.xsl scp $out_file inter:/var/www/h.acker.is/nmaprincesspi_manual_scans/nmap.xml # ssh inter "sudo bash /usr/share/customscripts/fix_permissions"