From 7b571fcbf1771d9212c0716ed19add6f978d64b1 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Fri, 27 Feb 2026 07:23:52 -0700 Subject: [PATCH] including IDS/IPS/AV evasion and reorg --- Linux/README.md | 1 - README.md | 2 +- Shell_Scripts.md | 0 TESTING_Here_Be_Dragons/shellscripttest.sh | 47 ++++++++++++++++++++++ TODO.md | 6 +++ Windows/README.md | 1 - 6 files changed, 54 insertions(+), 3 deletions(-) delete mode 100644 Linux/README.md create mode 100644 Shell_Scripts.md create mode 100644 TESTING_Here_Be_Dragons/shellscripttest.sh create mode 100644 TODO.md delete mode 100644 Windows/README.md diff --git a/Linux/README.md b/Linux/README.md deleted file mode 100644 index 00d7bdd..0000000 --- a/Linux/README.md +++ /dev/null @@ -1 +0,0 @@ -WIP diff --git a/README.md b/README.md index 2a6e41d..2123811 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Adventures in Antiforensics +# Adventures in Antiforensics and AV IDS/IPS/AV Evasion # WIP ## Platform Independant Methods ### Data Destruction diff --git a/Shell_Scripts.md b/Shell_Scripts.md new file mode 100644 index 0000000..e69de29 diff --git a/TESTING_Here_Be_Dragons/shellscripttest.sh b/TESTING_Here_Be_Dragons/shellscripttest.sh new file mode 100644 index 0000000..c8e63ac --- /dev/null +++ b/TESTING_Here_Be_Dragons/shellscripttest.sh @@ -0,0 +1,47 @@ +#!/bin/bash +set +e # dont stop on errror. defau,lt shit but fuckitweball set explicitly to prevent issues +# set +E explicity set trap, and continue on error + +# silence all ouitputs + +## using nromie /dev/null and exec +### exec &>/dev/null # silent time :pope: + +## even fancier split difference using processs substitution and trap usin trap to /dev/null +## return zero eve n if an error happens cuz fck dat shit usin trap +exec &> >(cat > /dev/null) # output to /dev/null +trap 'exit 0' EXIT # exit zero on error + +# sum bullshit testy shit lmfao +sum_var="i learned all my sex monves in china" + +# temp files and pathes +temp_file=$(mktemp) # creates and returns sum shit like filw /tmp/tmp.FcFzhKg55B +temp_dir=$(mktemp -d) # same buT directory +temp_file_name=$(mktemp -u) # dry run -u to not create file just return path +temp_dir_name=$(mktemp -u -d) # dry run for dirs + +echo dildoz +echo dildozz +echo dildozzz +echo good ls +ls . +echo bad ls 0 +ls /notherelol +echo bad ls 1 +ls /dildoz +echo "$sum_var" +unset $sum_var # dont forget to use ya fuckin unsets jeez +echo "$sum_var" + +# maek a temp file/dir go byebye +dd if=/dev/zero of="$temp_file" # zero it out +rm -f "$temp_file" # delete file no prompt -f +# rm -Rf "$temp_file" # delete dir -r it no prompt -f +unset $temp_file # empty the var +# todo: test unsettin mem manuqally with /dev/zero + +# /sum bullshit testy shit lmfao + +# return zero so no silly concernz :3 +exit 0 # no error retcode :pepesmirk: \ No newline at end of file diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..0510e23 --- /dev/null +++ b/TODO.md @@ -0,0 +1,6 @@ +# TODO +TESTING/shellscripttest.sh + - 42: test manual var unset with dd /dev/zero + - explore other data sinks other than /dev/null + - explore other ways to delet a file/dir + - error handling? \ No newline at end of file diff --git a/Windows/README.md b/Windows/README.md deleted file mode 100644 index 00d7bdd..0000000 --- a/Windows/README.md +++ /dev/null @@ -1 +0,0 @@ -WIP