[comp.virus] Script to kill new HC

mike@pyrite.SOM.CWRU.Edu (Michael Kerner) (04/09/91)

Alright already!  Enough with the EMAIL!  Stop!  First, I disagree
that Dukakis was a virus since it lacked the capacity to replicate and
spread - it would simply make one move and stop.  I think it would be
better to call it a trojan since it was disguised as somthing else
(i.e. nude pictures).  HOWEVER I DON'T CARE HOW WE CLASSIFY IT!!!
I'VE GOTTEN LOTS OF MAIL ABOUT THIS NEW CRITTER, SO HERE IS A GENERAL
PURPOSE SCRIPT THAT WILL STOP ALL KNOWN HC VIRUSES AND TROJANS.
Install this script in your HOME stack (in the stack info) - if you
run 2.0, and are redirecting the inheritence path to include a
library, put it there.  The only stipulation is that this be the only
script that intercepts the SET command.  If others intercept the
command, then parts of this must be imbedded (if you can't figure it
out, EMAIL me).

on set -- primitive anti-HC trojan/virus protection
   if the params contains "script " then -- notice the space after script
      -- THE SPACE IS ESSENTIAL SINCE ANY BUTTONS THAT HAVE THE WORD "SCRIPT"
      -- IN THEM WILL SEND THIS MESSAGE WHEN THEY ARE HILITED, ETC.
      play "boing"
      answer the params with "YES" or "NO"
      if it is "YES" then pass set
   end if -- the params contains "script " then
end set

this will intercept all "set the script of " type commands.

hope it helps...

Mikey.
mac admin
wsom csg
cwru
mike@pyrite.som.cwru.edu