shell fork bomb classic

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-11-12 23:00:01 +00:00
parent ca47a77676
commit ff4aaec5bc
2 changed files with 15 additions and 3 deletions

View 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