3 ms·
Back when `/dev/mem` was a thing in default kernels (now you need a special config, or a module), I enjoyed `cat /dev/urandom > /dev/mem`. That would usually bo
by srl 14y ago
Back when `/dev/mem` was a thing in default kernels (now you need a special config, or a module), I enjoyed `cat /dev/urandom > /dev/mem`. That would usually bork things pretty quickly, so then I would set random offsets with `dd`. Fun times.
- mikeash 14y agoSee also kmem Russian Roulette: https://twitter.com/shadowcat_mst/status/754107237269504 https://twitter.com/shadowcat_mst/status/754107237269504
- zx2c4 14y agoOr try this -- http://git.zx2c4.com/memory-hemlock/tree/slow-death.c http://git.zx2c4.com/memory-hemlock/tree/slow-death.c It picks a random device on your system -- ram, video, bios, etc -- and writes a random number of random bytes into it and then sleeps for a random amount of time. Last one standing lives.