5 ms·
Quite Nice. Just FYI, the very first command, :(){ :|:& };: is a fork bomb and you probably shouldn't run it in your shell
by dwpdwpdwpdwpdwp 10y ago
Quite Nice. Just FYI, the very first command, :(){ :|:& };: is a fork bomb and you probably shouldn't run it in your shell
- mih 10y agoWish I'd read your comment beforehand. Tried it blindly and and lost about 10 min trying to figure out what was happening ...
- moxious 10y ago:) Well I'm tempted to chide you for running arbitrary code from the Internet from an untrusted source, but then I remember that's the entire web via JavaScript and I realize I'm living in a glass house. Who came up with this security model anyway?
- nonsince 10y agoAt least JavaScript's immune to fork bombs because it has no threading model. Doesn't stop some bored college kid with access to NPM and a vicious streak from mining bitcoin on your computer.
- TazeTSchnitzel 10y agoThat's not true, JS has Web Workers. But they're threads, not processes, and perhaps the browser will throttle them.
- mih 10y agoIn my defense, it appeared to be a harmless looking sequence of special characters (not quite, as I found to my dismay). Explain Shell didn't help much
- dullgiulio 10y agoWhich is easily blocked by having sensible ulimits. Too bad they are always at zero (no limits.)