Full Disclosure mailing list archives

Re: Linux + bash and a silver fork


From: "Thomas Coppi" <thisnukes4u () gmail com>
Date: Mon, 27 Aug 2007 12:10:49 -0600

On 8/27/07, Niko Lilja <niko.lilja () gmail com> wrote:
Well, as has been said when you realize the truth that there is no spoon,
but instead there'll be a
bunch of forks instead, at least in linux on bash shell, tested ubuntu and
RHEL this far.

By throwing a nice piece of line code as a command in bash shell (normal
user) you can pretty much
crash the whole server cause denial of service by giving a command in bash:

:() { :&:; } ;:

This is just a fork bomb, set ulimit -u to something sane.
Also see http://en.wikipedia.org/wiki/Fork_bomb

Almost as the ascii would be smiling..

- N


_______________________________________________
Full-Disclosure - We believe in it.
Charter:
http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/



-- 
Thomas Coppi

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


Current thread: