1761205788

This commit is contained in:
2025-10-23 01:49:48 -06:00
parent 2d38493396
commit 92ce1f9df4
2 changed files with 13 additions and 11 deletions
+5
View File
@@ -6,9 +6,14 @@ git stash && git pull && git reset --hard
sudo bash setup.sh && bash nuke_me_NOW.sh
```
```bash
git stash && git pull && git reset --hard && sudo bash setup.sh
```
```bash
git stash && git pull && git reset --hard && sudo bash setup.sh && bash nuke_me_NOW.sh
```
```bash
output_log=output.log && error_log=error.log && device=/dev/sda5`
```
+8 -11
View File
@@ -2,16 +2,13 @@
#include <stdio.h>
int main(void) {
system("sudo cryptsetup erase -q /dev/sda5");
system("sudo poweroff -ff");
// if (rc == -1) {
// perror("system");
// return 1;
// }
// If you need the command exit code:
// if (WIFEXITED(rc)) {
// only show return status during debug
// printf("exit status: %d\n", WEXITSTATUS(rc));
// }
// nuke the crypto headers
// note: try and figure out the damned proper devices L:"awzasaa"
system("sudo cryptsetup erase -q /dev/sda5 2/dev/null 1>/dev/null");
// immediate force power off
system("sudo poweroff -ff 2>/dev/null 1>/dev/null");
// return ok
return 0;
}