From 328cb50cc49a8ef6528aec7dd19a2c5861f88cd2 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Tue, 19 Aug 2025 00:12:11 -0600 Subject: [PATCH] new scripp maybe' --- customscripts/download_file_list | 16 ++++++++++++++++ customscripts/old/FIND_THE_DAMN_PI | 25 ------------------------- customscripts/wget-log | 11 +++++++++++ 3 files changed, 27 insertions(+), 25 deletions(-) create mode 100644 customscripts/download_file_list delete mode 100644 customscripts/old/FIND_THE_DAMN_PI create mode 100644 customscripts/wget-log diff --git a/customscripts/download_file_list b/customscripts/download_file_list new file mode 100644 index 0000000..d6d0612 --- /dev/null +++ b/customscripts/download_file_list @@ -0,0 +1,16 @@ +#!/bin/bash +if [ -z $1 -o ! -f "$2" ]; then + echo "Usage: $0 " + echo "ExaMPLE: download_file_list Downloads to_download.txt" + exit 1 +fi + +if [ ! -d "$1" ]; then + echo "Output directory does not exist: $1 Creating" + mkdir "$1" +fi + +cat "$2" | \ + while read line; do + echo "curl -o \"$1/$(basename $line)\" \"$line\"" + done \ No newline at end of file diff --git a/customscripts/old/FIND_THE_DAMN_PI b/customscripts/old/FIND_THE_DAMN_PI deleted file mode 100644 index 03631cc..0000000 --- a/customscripts/old/FIND_THE_DAMN_PI +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/zsh -# runs in appx 5 Minutes -# file_name="nmap-$(date +%Y%m%d%H%M%S)-$(echo $RANDOM | md5sum | awk '{print $1}').xml" # fancy web xml/xsl -file_name="nmap-$(date +%Y%m%d%H%M%S)-$(echo $RANDOM | md5sum | awk '{print $1}').grepable.txt" # grepable - -out_file="/tmp/$file_name" -web_file="https://h.acker.is/nmaprincesspi_manual_scans/$file_name" -remote_server="inter" -remote_path="/var/www/h.acker.is/nmaprincesspi_manual_scans" -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 -T4 -sV -O --reason $local_subnet -oX $out_file --stylesheet https://h.acker.is/nmaprincesspi/xsl/princesspi-nmap.xsl # fancy web xml/xsl -nmap -T4 -sV -O --reason $local_subnet -oG "$out_file" # grepable - -scp $out_file $remote_server:$remote_path/$file_name -# ssh inter "sudo bash /usr/share/customscripts/fix_permissions" # fix perms remote -# ssh $remote_server "rm -f $remote_path/*" # clear scans -## ssh inter "rm -f /var/www/h.acker.is/nmaprincesspi_manual_scans/*" - -webhook "FINISHED\n\t$web_file\n\t<@&1369280290203373670>" - -echo -e "\nLive: $web_file\n" \ No newline at end of file diff --git a/customscripts/wget-log b/customscripts/wget-log new file mode 100644 index 0000000..f11bcb7 --- /dev/null +++ b/customscripts/wget-log @@ -0,0 +1,11 @@ +--2025-08-19 00:10:40-- https://pbs.twimg.com/media/GynkbILasAANl3A?format=jpg +Resolving pbs.twimg.com (pbs.twimg.com)... 104.18.37.127, 172.64.150.129 +Connecting to pbs.twimg.com (pbs.twimg.com)|104.18.37.127|:443... connected. +HTTP request sent, awaiting response... 200 OK +Length: 135613 (132K) [image/jpeg] +Saving to: ‘outdir/GynkbILasAANl3A?format=jpg’ + + GynkbILasAANl3A?format=j 0%[ ] 0 --.-KB/s GynkbILasAANl3A?format=j 100%[=================================>] 132.43K --.-KB/s in 0.03s + +2025-08-19 00:10:40 (4.45 MB/s) - ‘outdir/GynkbILasAANl3A?format=jpg’ saved [135613/135613] +