From bbb66f591cf59add992d3160d29185447b2c063f Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Tue, 12 May 2026 23:47:38 -0600 Subject: [PATCH] workann on some sntiforensics shit --- customscripts/zero_blank_space.sh | 7 +++++++ customscripts/zero_memory.sh | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 customscripts/zero_blank_space.sh create mode 100644 customscripts/zero_memory.sh diff --git a/customscripts/zero_blank_space.sh b/customscripts/zero_blank_space.sh new file mode 100644 index 0000000..a950c14 --- /dev/null +++ b/customscripts/zero_blank_space.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +echo -e "\n\nmakin a huge ass file filled wit nothing but zeros and when ya drive/partition runs out of room, it deletes da file. filaneme: $PWD/zerofile.zero\n\n" + +sudo dd if=/dev/zero bs=4M status=progress > "$PWD/zerofile.zero" || echo -e "zero file reached max size, deleting"; sudo rm -f "$PWD/zerofile.zero"; echo -e "retcode: $?" + +echo -e "\n\nall dne :3 free space haz been zeroed nuaa~\n\n" \ No newline at end of file diff --git a/customscripts/zero_memory.sh b/customscripts/zero_memory.sh new file mode 100644 index 0000000..2a2479c --- /dev/null +++ b/customscripts/zero_memory.sh @@ -0,0 +1,6 @@ +#!/bash +# get list of all vars +## fill them to a comical length with /dev/zero +## then unset them +# figure out a more robust method +## otherwise jus drop a zerofile.zero into /tmp :vv: \ No newline at end of file