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





Prolong the usage life of your computer with
2 comments:
Post a Comment