dialburn/common/globals.go

15 lines
994 B
Go
Raw Normal View History

2023-11-20 23:16:10 +00:00
package common
var (
SERVLPORT = "37373"
AGENTLPORT = "37773"
SERVPATH = "/shut/it/down/charlie/brown"
AGENTPATH = "/c4tch/m3/1f/y0u/c4n/3y3m/th3/g1ng3rbr34d/m4n"
MUSIC = "https://git.supernets.org/assets/rhapsody.mp3"
ACCEPTED = "https://git.supernets.org/assets/laugh.mp3"
DENIED = "https://git.supernets.org/assets/tryagain.mp3"
AGENTLOG = "agents.list"
2023-11-22 19:36:04 +00:00
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`
2023-11-20 23:16:10 +00:00
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`
)