Kids, don't try this at home!

Look at this beauty:

(){ :|:& };:

If fed to bash, it will start a cascade of processes that will leave your box almost inoperable. It is an example of what’s called “fork bomb”. Look there for further discussion, including cure and prevention.

I really love the Perl version of it:

fork while fork

he he.

Thanks to my friend Dato for showing it to me!

Tags bash perl infosec
pancho horrillo
I do things with computers.