'''''''''''''''''''''''''''''''''''''''''''''''用户名和密码检查
function Chk_usrpss(Str,strname,lenmin,lenmax)'lenmin表长度下限,lenmax表长度上限 b=""c=trueif str="" thensession("errmsg")="对不起,"&strname&"不能为空!"response.redirect "错误"response.endend ifif len(str)<lenmin thensession("errmsg")="对不起,"&strna...
function cleardb()
if rs.state<>0 thenrs.close end ifif rs1.state<>0 thenrs1.close end ifif rs2.state<>0 thenrs2.close end ifif conn.state<>0 thenconn.close end if set rs=nothingset rs1=nothingset rs2=nothingset conn=nothing
end function
记得以前网上有个“桂林老兵SQL注入点扫描工具”,虽然是黑客工具,但是可以扫描出你的网站有哪些网页可以实施SQL注入,找到这些网页后加入放注入的函数
Function SafeRequest(ParaValue)
ParaValue = Trim(Request(ParaValue))
If ParaValue = "" Then
SafeRequest = ""
Exit Function
End If
'要过滤的字符以","隔开
LockValue = "',Se...