1754767465

This commit is contained in:
2025-08-09 13:24:24 -06:00
parent a1e41fd639
commit 3377f3326b
2 changed files with 1 additions and 17 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ local_subnet="10.0.0.0/24"
echo -e "\nSTARTING! THIS WILL TAKE ABOUT FIVE MINUTES!\n\tLogging to $out_file\n\tand $web_file\n"
# da nmap command with my custom xsl stylesheet
nmap -A --reason $local_subnet -oX $out_file --stylesheet https://h.acker.is/nmaprincesspi/xsl/princesspi-nmap.xsl
nmap -T4 -A --reason $local_subnet -oX $out_file --stylesheet https://h.acker.is/nmaprincesspi/xsl/princesspi-nmap.xsl
scp $out_file $remote_server:$remote_path/$file_name
# ssh inter "sudo bash /usr/share/customscripts/fix_permissions" # fix perms remote
-16
View File
@@ -1,16 +0,0 @@
#!/bin/zsh
# runs in appx 90 MINUTES
file_name="nmap-hardcore-$(date +%Y%m%d%H%M%S)-$(echo $RANDOM | md5sum | awk '{print $1}').xml"
out_file="/tmp/$file_name"
echo "this will take a while ~90 MINUTES"
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/$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/$file_name"