Re:Hole in Linux kernel provides root rights
by jacquesm on Monday September 20, 2010 @08:00AM
(#1708467)
Hehe, that's a funny way to reverse an attack.
I don't think that sysadmin would qualify as 'evil' though.
It'd be even more fun if they had gotten to it before you and you ended up wiping your own files like that ;)
I am almost tempted to do this, use the exploit to get root on my work machines, and then replace the libc... just to see if anyone else tries the exploit. (Note to the literal: not really.)
execv("/bin/sh -c 'for i in `find $HOME`; do echo "rm -f $i"; done', 0);