Some anti-virus software will mistake normal ASP files for ASP Trojan files and automatically delete them, affecting normal use.
The following methods may be effective in preventing deletion by anti-virus software
. Thefollowing
is a quoted fragment:
dim tStream
set tStream = Server.CreateObject("adodb.stream")
Change it
to the following quote:
dim tStream
set tStream = Server.CreateObject("ado" & "db.stre" & "am")
If the anti-virus software thinks that the key string of the virus is a method or attribute of an object,
such as
the following reference fragment:
tStream2.CopyTo tStream,200
It can be changed
to the following quote fragment:
execute("tStream2.Cop" & "yTo tStream,200")
Consider
the following snippet:
dim tStream
set tStream = Server.CreateObject("adodb.stream")
Change it
to the following quote:
dim tStream
execute("set tStream = Ser" & "ver.Crea" & "teObject(""ado" & "db.stre" & "am"")")
Another method is to encrypt the code using encryption software.