最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp 简单安全过滤sql防注入程序
时间:2022-07-02 23:02:51 编辑:袖梨 来源:一聚教程网
Function ReplaceCode(Str,tagStr)
Str = Replace(Str,Chr(32),tagStr)
Str = Replace(Str,Chr(9),tagStr)
Str = Replace(Str," ",tagStr)
Str = Replace(Str," ",tagStr)
Str = Replace(Str,"(",tagStr)
Str = Replace(Str,")",tagStr)
Str = Replace(Str,"<",tagStr)
Str = Replace(Str,">",tagStr)
Str = Replace(Str,"""",tagStr)
Str = Replace(Str,"?",tagStr)
Str = Replace(Str,"*",tagStr)
Str = Replace(Str,"|",tagStr)
Str = Replace(Str,",",tagStr)
Str = Replace(Str,".",tagStr)
Str = Replace(Str,"/",tagStr)
Str = Replace(Str,"",tagStr)
Str = Replace(Str,"-",tagStr)
Str = Replace(Str,"@",tagStr)
Str = Replace(Str,"#",tagStr)
Str = Replace(Str,"$",tagStr)
Str = Replace(Str,"%",tagStr)
Str = Replace(Str,"&",tagStr)
Str = Replace(Str,"+",tagStr)
Str = Replace(Str,":",tagStr)
Str = Replace(Str,"",tagStr)
Str = Replace(Str,"",tagStr)
Str = Replace(Str,"",tagStr)
Str = Replace(Str,"",tagStr)
Str = Replace(Str,"",tagStr)
Str = Replace(Str,"",tagStr)
ReplaceCode = Str
End Function