源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

asp下的风讯用的SQL通用防注入模块提供了

  • 时间:2021-02-10 00:13 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:asp下的风讯用的SQL通用防注入模块提供了
[u]复制代码[/u] 代码如下:
<% Dim FS_NoSqlHack_AllStr,FS_NoSqlHack_Str,FS_NoSqlHack_ComeUrlGet,FS_NoSqlHack_ComeUrlPost,FS_NoSqlHack_Get,FS_NoSqlHack_Post,FS_NoSqlHack_i 'On Error Resume Next FS_NoSqlHack_AllStr="'|;| and |chr(|exec |insert |select |delete from|update |mid(|master." FS_NoSqlHack_ComeUrlGet   = Request.QueryString FS_NoSqlHack_ComeUrlPost  = Request.Form FS_NoSqlHack_Str = Split(FS_NoSqlHack_AllStr,"|") 'Post If FS_NoSqlHack_ComeUrlPost<>"" then  For Each FS_NoSqlHack_Post In Request.Form   For FS_NoSqlHack_i = 0 To Ubound(FS_NoSqlHack_Str)    If Instr(LCase(Request.Form(FS_NoSqlHack_Post)),FS_NoSqlHack_Str(FS_NoSqlHack_i))<>0 Then     Response.Write("Error!!")     Response.End    End if   Next  Next End if 'Get If FS_NoSqlHack_ComeUrlGet<>"" then   For Each FS_NoSqlHack_Get In Request.QueryString   For FS_NoSqlHack_i = 0 To Ubound(FS_NoSqlHack_Str)    If Instr(LCase(Request.QueryString(FS_NoSqlHack_Get)),FS_NoSqlHack_Str(FS_NoSqlHack_i))<>0 Then     Response.Write("Error!!")     Response.End    End if   Next  Next End if %>
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部