说的具体一点function f_lj(strTemp) strTemp=lcase(strTemp) If Instr(strTemp,"select%20") or Instr(strTemp,"insert%20") or Instr(strTemp,"delete%20from") or Instr(strTemp,"count(") or Instr(strTemp,"drop%20table") or Instr(strTemp,"update%20") or

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 10:51:24
说的具体一点function f_lj(strTemp) strTemp=lcase(strTemp) If Instr(strTemp,
xJ1_%,[xW<4;kWId"@DIŃXAEė-.[|OvLB~|^?=|3L"w!U5R}48~í#̬mmz5"q&B.4F:3̄bJ pp&d*e "5h_fs$r֥&=fiCjP%|eV4N4͠F^ΨUH,]q]+L&7^MFS>{t[D~PYHl)|@5u<|8Z7.0Њf

说的具体一点function f_lj(strTemp) strTemp=lcase(strTemp) If Instr(strTemp,"select%20") or Instr(strTemp,"insert%20") or Instr(strTemp,"delete%20from") or Instr(strTemp,"count(") or Instr(strTemp,"drop%20table") or Instr(strTemp,"update%20") or
说的具体一点
function f_lj(strTemp) strTemp=lcase(strTemp) If Instr(strTemp,"select%20") or Instr(strTemp,"insert%20") or Instr(strTemp,"delete%20from") or Instr(strTemp,"count(") or Instr(strTemp,"drop%20table") or Instr(strTemp,"update%20") or Instr(strTemp,"truncate%20") or Instr(strTemp,"asc(") or Instr(strTemp,"mid(") or Instr(strTemp,"char(") or Instr(strTemp,"xp_cmdshell") or Instr(strTemp,"exec%20master") or Instr(strTemp,"net%20localgroup%20administrators") or Instr(strTemp,"net%20user") or Instr(strTemp,"'") or Instr(strTemp,"%20or%20")or Instr(strTemp,"declare%20") then Response.Write "非法地址" response.End() else f_lj=strTemp End If end function

说的具体一点function f_lj(strTemp) strTemp=lcase(strTemp) If Instr(strTemp,"select%20") or Instr(strTemp,"insert%20") or Instr(strTemp,"delete%20from") or Instr(strTemp,"count(") or Instr(strTemp,"drop%20table") or Instr(strTemp,"update%20") or
过滤非法字符的.防注入的.