说的具体一点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/07/31 05:50:30
![说的具体一点function f_lj(strTemp) strTemp=lcase(strTemp) If Instr(strTemp,](/uploads/image/z/13308846-6-6.jpg?t=%E8%AF%B4%E7%9A%84%E5%85%B7%E4%BD%93%E4%B8%80%E7%82%B9function+f_lj%28strTemp%29+strTemp%3Dlcase%28strTemp%29+If+Instr%28strTemp%2C%22select%2520%22%29+or+Instr%28strTemp%2C%22insert%2520%22%29+or+Instr%28strTemp%2C%22delete%2520from%22%29+or+Instr%28strTemp%2C%22count%28%22%29+or+Instr%28strTemp%2C%22drop%2520table%22%29+or+Instr%28strTemp%2C%22update%2520%22%29+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
说的具体一点
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
过滤非法字符的.防注入的.