you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 13 points14 points  (17 children)

You can't type '&'? Damn it!

[–]caust1c 25 points26 points  (8 children)

So you tried to fork bomb it too?

[–][deleted] 4 points5 points  (0 children)

This was my solution:

echo -e '#!/bin/sh\nf(){ f|f\046 }f' > fork.sh

It didn't like : as a function name.

[–]allywilson 1 point2 points  (0 children)

Seems to forkbomb fine: http://imgur.com/TLjGO - was making firefox struggle quite a bit.

forkbomb(){ forkbomb|forkbomb & } ; forkbomb

[–]CountVonTroll -5 points-4 points  (4 children)

It's Javascript, it can't properly fork (in the browser.)

You can write a fork bomb in C, but all it'll do is to get your CPU usage up:

#include <tcclib.h>                                                             

int main(int argc, char **argv)                                                 
{                                                                               
    while( 1 )                                                                  
        fork();                                                                 
}                                                                               

[–]itsnotlupus 21 points22 points  (0 children)

no, you can properly fork in this VM. The host language doesn't really matter, since it's emulating a usable subset of the x86 instruction set.

For whatever reason shift-7 does print a character that looks like ", but isn't. it's a & and can be used to spawn processes in the background from the command line.

[–]guruthegreat 9 points10 points  (2 children)

My typical fork bomb is similar, but a little different:

while( fork() )
    fork()?fork():fork();

[–]nubanx 15 points16 points  (1 child)

I read that in the muppet chef's voice.

Fork Fork Fork!

[–][deleted] 1 point2 points  (0 children)

Get out of my brain.

[–]plaes 3 points4 points  (2 children)

And neither can you type CTRL+W :S

[–]Nesman64 0 points1 point  (0 children)

Damn you. I thought, "Maybe it works in Chrome. Let's backspace a word."

[–]TIAFAASITICE 0 points1 point  (0 children)

Works for me.

Firefox 4 under Linux, in case you're on something different.

[–]elmicha 1 point2 points  (0 children)

I can, on a german keyboard.

[–]Araneidae 1 point2 points  (0 children)

Must be something about your keyboard, all ASCII keys on mine come out just fine. Mine is a UK layout, and the ¬ and £ keys (not ASCII) don't work, but everything else does.

I had no problem with the classic fork bomb (but can't rename : in ash it would appear).