Board logo

标题: 久了没来了,发个asp防注入的东东 [打印本页]

作者: skyxhc    时间: 2006-3-11 02:35     标题: 久了没来了,发个asp防注入的东东

<% dim sql_injdata SQL_injdata = "';|and|exec|insert|select|delete|update|count|*|%|chr|mid|master|truncate|char|declare" SQL_inj = split(SQL_Injdata,"|") If Request.QueryString<>"" Then For Each 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 "" Response.end end if next Next End If If Request.Form<>"" Then 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 "" Response.end end if next next end if %>
作者: chinanic    时间: 2006-3-11 02:38     标题: 久了没来了,发个asp防注入的东东

quote:alert(';我就在这样的痛苦与边缘沉沦!!!';)
晕,沉沦个啥啊?
[MagicFace=311]




欢迎光临 黑色海岸线论坛 (http://bbs.thysea.com/) Powered by Discuz! 7.2