diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c54a445 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# build files +*.o +*.out + +# the built binaries +build_poweroff_aarch64 +build_poweroff_x86_64 diff --git a/README.md b/README.md index 471a5dd..e88b7f9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ # nuke_me_NOW For immediate irrecoverable destruction of running Linux OS using cryptsetup **THIS TOOL WILL IMMEDIATELY AND IRRECOVERABLY DESTORY ALL DATA ON THE CRYPT LVM WITHOUT ASKING TO CONFIRM, AND AS ASSEMBLED, SHOULD BE ABLE TO RUN AS ROOT BY ANY USER WITH EXECUTE PERMISSIONS ON IT** + +## Prerequisites +1. A Linux OS running encrypted lvm with cryptsetup +2. packages: nasm, as, ld, build-essential, cryptsetup +3. root permisisons (of course) +4. faith you nor anybody else wil accidently or maliciously trigger +5. BACKUPS OF YOUR SHIT diff --git a/a.out b/a.out deleted file mode 100644 index e69de29..0000000 diff --git a/nuke_me_NOW.sh b/nuke_me_NOW.sh new file mode 100644 index 0000000..e291a07 --- /dev/null +++ b/nuke_me_NOW.sh @@ -0,0 +1,4 @@ +#!/bin/bash +# todo: find them and parse them +nice -20 cryptsetup erase /dev/sda5 || cryptsetup erase --disable-locks dev/sda5 +nice -20 poweroff -ff || shutdown -P now