Full Disclosure mailing list archives

Re: Linux + bash and a silver fork


From: Harry Hoffman <hhoffman () ip-solutions net>
Date: Mon, 27 Aug 2007 14:11:24 -0400

Excellent discovery!

I think you should call it a "fork bomb"!

;-)


http://en.wikipedia.org/wiki/Fork_bomb



Niko Lilja 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:

:() { :&:; } ;:


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/

_______________________________________________
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: