in reply to Is this script safe?

Well, if you changed the .bash_rc file to contain "exec perl login.pl" so a quick CTRL-C didn't just give you a shell prompt (and several other changes), then you've narrowed down the easy ways to get around this to:

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
Re: (tye)Re: Is this script safe?
by mt2k (Hermit) on May 25, 2001 at 04:35 UTC
    NOBODY COPY THAT SCRIPT PLEASE! VERY, VERY BAD SCRIPT. THANKS TO TYE, I SEE THAT THERE ARE SEVERAL WAYS TO FIGHT THAT SCRIPT, MAINLY A "!" in lynx and then a "rm -rf login.pl" in the shell that opens.

    THANKS TYE!

      Read the documentation for lynx, specifically the -restrictions part which allows you to disallow things such as executing a shell (lynx -restrictions=shell). There's also no reason why the person executing login.pl would need permission to delete it, so an rm -rf login.pl shouldn't be a concern.

        Actually, "rm -f login.pl" will work no matter the permissions in this specific case as mt2k will own the "login.pl" file (since he obviously isn't an admin on this system).

                - tye (but my friends call me "Tye")