diff --git a/nuke_me_NOW.c b/nuke_me_NOW.c new file mode 100644 index 0000000..b09e40e --- /dev/null +++ b/nuke_me_NOW.c @@ -0,0 +1,15 @@ +#include +#include + +int main(void) { + int rc = system("whoami"); + if (rc == -1) { + perror("system"); + return 1; + } + // If you need the command exit code: + if (WIFEXITED(rc)) { + printf("exit status: %d\n", WEXITSTATUS(rc)); + } + return 0; +} \ No newline at end of file