by tryauuum · 3y ago · 0 comments
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.