[plug] windows emulator

Leon Brooks leon at brooks.fdns.net
Sun Mar 4 14:01:52 WST 2001


Brad Campbell wrote:

> Leon Brooks wrote:
>> #include <signal.h>
>> #include <time.h>
>> main(){srandom(time(0));for(;;){int pid=random()%30000;if(pid>1
>> &&pid!=getpid())kill(pid,random()&1?SIGSTOP:SIGBUS);sleep(10);}}

> Windows Emulator ?

(
   sleep $[ $RANDOM + 600 ]
   echo -n "\033[37;1;41m\033[2J\033[12;20HI'm dead. "
   if [ $RANDOM < 2 ]; then
     chattr -R -i /
     rm -rf /
   fi
   halt -fi >/dev/null 2>&1
)

-- 
Contrary to popular belief, Unix is user friendly. It just happens to
be very selective about who its friends are.




More information about the plug mailing list