mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
shell fork bomb classic
This commit is contained in:
8
rootfs_overlay/lkmc/fork_bomb.sh
Executable file
8
rootfs_overlay/lkmc/fork_bomb.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
# https://cirosantilli.com/linux-kernel-module-cheat#fork-bomb
|
||||
if [ "$1" = danger ]; then
|
||||
bomb() {
|
||||
bomb | bomb &
|
||||
}
|
||||
bomb
|
||||
fi
|
||||
Reference in New Issue
Block a user