/* here's how the fake wu exploit, "rm -rf ~" trojan worked by Sorcerer@DALnet (irc), mail: nijen@mail.ru */ #include #include main() { // first, change the code address for puts to that of system **(int **)((int)puts+2)=(int)system; // second, use puts instead of system, this executes "id" puts("id"); }