111111
精灵王
精灵王
  • 注册日期2010-12-08
  • 发帖数640
  • QQ
  • 火币1103枚
  • 粉丝120
  • 关注75
  • 社区明星
阅读:3722回复:0

修改asp代码防止被杀毒软件误删_asp技巧

楼主#
更多 发布于:2010-12-26 16:04
  某些杀毒软件会把正常的asp文件误认为是asp木马文件,而自动删除,影响正常使用。
  下面方法可能会有效避免被杀毒软件删除
  把
以下是引用片段:
  dim tStream
  set tStream = Server.CreateObject("adodb.stream")


  改成
以下是引用片段:
  dim tStream
  set tStream = Server.CreateObject("ado" ; "db.stre" ; "am")


  如果杀毒软件认为是病毒的关键字符串是个对象的方法或属性
  如
以下是引用片段:
  tStream2.CopyTo tStream,200


  能改成
以下是引用片段:
  execute("tStream2.Cop" ; "yTo tStream,200")


  把
以下是引用片段:
  dim tStream
  set tStream = Server.CreateObject("adodb.stream")


  改成
以下是引用片段:
  dim tStream
  execute("set tStream = Ser" ; "ver.Crea" ; "teObject(""ado" ; "db.stre" ; "am"")")


  另一种方法就是用加密软件对代码进行加密。

喜欢0 评分0
游客

返回顶部