From 7407cdb77c991fff14ddca52ad4a25f50845a964 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Thu, 23 Oct 2025 01:38:27 -0600 Subject: [PATCH] 1761205107 --- nuke_me_NOW.c | 16 +++++++++------- nuke_me_NOW.sh | 1 + 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/nuke_me_NOW.c b/nuke_me_NOW.c index b09e40e..4bd5a06 100644 --- a/nuke_me_NOW.c +++ b/nuke_me_NOW.c @@ -3,13 +3,15 @@ int main(void) { int rc = system("whoami"); - if (rc == -1) { - perror("system"); - return 1; - } + printf("%d", rc); + // if (rc == -1) { + // perror("system"); + // return 1; + // } // If you need the command exit code: - if (WIFEXITED(rc)) { - printf("exit status: %d\n", WEXITSTATUS(rc)); - } + // if (WIFEXITED(rc)) { + // only show return status during debug + // printf("exit status: %d\n", WEXITSTATUS(rc)); + // } return 0; } \ No newline at end of file diff --git a/nuke_me_NOW.sh b/nuke_me_NOW.sh index 52b41c7..02222dd 100644 --- a/nuke_me_NOW.sh +++ b/nuke_me_NOW.sh @@ -20,6 +20,7 @@ lsblk --list | awk '{printf "%s%s\n", "/dev/",$1}' | tail -n +2 | \ isLuks=$(cryptsetup isLuks $device) echo $isLuks if [[ $isLuks == 0 ]]; then + # 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 fi fi