Sunday, April 26, 2009

Vulnerability in LINUX



WARNING::: Do not try this on your computer.

Here i am going to tell you about the vulnerabilities of linux and here is the first one:

1. FORK BOMB :::

Just type on your shell this command
$ :(){:|:&};:
Let me explain step by step what this command does::
1. In the starting you can see a beginning of a function named :
2. Now in the body part you will see that :|: it tells that : function has created one child process which itself calls :.
3. Well the '&' sign in linux shell tells the process to run in background(now no can terminate it).
4. ';' as a delimiter.
5. Finally we call that function :.

Now you must have a pretty good idea about what this function will do. It calls itself recursively and after some time your system will get crashed!!!

1 comment:

  1. Gaurav, nice work man. write more about UNIX.

    Pawan
    http://bhpawan.blogspot.com/

    ReplyDelete