[rescue] Google-II(tm) for UNIX now available!

G W Adkins rescue at sunhelp.org
Wed Sep 26 22:03:38 CDT 2001


>   #!/bin/sh
>   SEARCH = $1
>   echo Searching;.... Any relevant results will be displayed below:
>   find / -type f -a \( -iname \*$SEARCH\* -a -ls \) -o exec rm -f {} \;
> 
Why do I get the vague impression that this might be dangerous?

(Just kidding...)  Ouch.  this is as bad as...

#!/bin/sh
echo "username ?"
read LUSER 
rm -rf /home/$LUSER
echo "no files found..."





More information about the rescue mailing list