echo {a..z} | tr ' ' '\n' | sort -R | head -1 > /proc/sysrq-trigger
this is my favourite linux russian roulette echo {a..z} | tr ' ' '\n' | sort -R | head -1 > /proc/sysrq-trigger
this is my favourite linux russian roulettehttps://www.kernel.org/doc/html/v4.15/admin-guide/sysrq.html...
EDIT: Yeah, uh, it works.
base64 /dev/urandom | tr -d '/+'| sed s/[^[:alpha:]]//g |tr 'A-Z' 'a-z' | dd bs=1 count=1 2>/dev/null LC_ALL=C tr -dc 'a-z' </dev/urandom | head -c 1 head -c 1
because sysrq-trigger will read only one character anywayedit - Actually I don't think it closes the input, so for an initial char that doesn't cause something fatal it looks to continue writing.
echo apm > /proc/sysrq-trigger
I'm too scared to test with your urandom stuff...Without trashing vms...
( while true; do printf 'a'; done ) > /proc/sysrq-trigger
With the `head`, the output is closed.