<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/>
<title></title>
<body>
<%
Dim sql_injdata
Sql_injdata = "' |and|or|exec|insert|select|delete|update|count|*|%| Chr|mid|master|truncate|char|declare "
Sql_inj = Split (Sql_injdata, "|")
If request.querystring<> "" Then
For all SQL get in Request.QueryString
For Sql_data=0 to Ubound (Sql_inj)
If InStr (Request.QueryString (Sql_get), Sql_inj (sql_data)) >0 Then
Response.Write (' <script>alert (' Do not include illegal characters in Parameters! '); History.back ( -1) </Script> ")
Response.End
End If
Next
Next
For each sql_post in Request.Form
For Sql_data=0 to Ubound (Sql_inj)
If InStr (Request.Form (Sql_post), Sql_inj (sql_data)) >0 Then
Response.Write "<script>alert (' do not include illegal characters in Parameters! '); History.back ( -1) </Script> ")
Response.End
End If
Next
Next
%>
</body>