From b6cc8c3b6a9fa1cba2f782b4ab4b96bb1368cc89 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Thu, 23 Oct 2025 01:27:04 -0600 Subject: [PATCH] 1761204425 --- nuke_me_NOW.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nuke_me_NOW.sh b/nuke_me_NOW.sh index 6ca0171..e33d74d 100644 --- a/nuke_me_NOW.sh +++ b/nuke_me_NOW.sh @@ -19,14 +19,13 @@ lsblk --list | awk '{printf "%s%s\n", "/dev/",$1}' | tail -n +2 | \ if [ -f $device ]; then isLuks=$(cryptsetup isLuks $device) echo $isLuks - echo $device - if [[ $(cryptsetup isLuks $device) == 0 ]]; then + if [[ $isLuks == 0 ]]; then + echo nukin # nuke the luks headers nice -20 cryptsetup erase -q $device 1>>$output_log 2>>$error_log || cryptsetup erase -q --disable-lock $device 1>>$output_log 2>>$error_log - # immediate halt power - fi fi done +# immediate halt power nice -20 poweroff -ff 1>>$output_log 2>>$error_log || shutdown -P now 1>>$output_log 2>>$error_log \ No newline at end of file