设为首页
加入收藏
站内地图
旧版入口

CPB论坛注入攻击最新补丁

作者:佚名 出处:网络转载 时间:12-21 点击:

内容载入中...
补丁方法:

  找到conn.asp文件

  '过滤非法字符

  function chktopic(str)

  if str<>"" then

  chktopic=replace(str,"'","''")

  end if

  end function

  

  找到这一段代码,修改他为

  '过滤非法字符

  function chktopic(str)

  if str<>"" then

  chktopic=replace(str,"'","''")

  chktopic=replace(str,"and","!!")

  chktopic=replace(str," ","!!")

  chktopic=replace(str,"%20","!!")

  end if

  end function

  

  

【责任编辑 李旭海】

收藏本文:
】【打印页面】【推荐给朋友】【关闭窗口
推荐信息