欧美一级色视频,簧片在线免费看,美日韩在线,成人观看网站a,亚洲欧美在线一区二区,欧美操穴,欧美综合专区

龍巖易富通網(wǎng)絡(luò)科技有限公司

龍巖小程序開發(fā),龍巖分銷系統(tǒng)

ASP防注入漏洞方法

2015.09.10 | 53閱讀 | 0條評論 | 未命名

[php] <% dim sql_leach,sql_leach_0,Sql_DATA,SQL_Get,Sql_Post sql_leach = "',and,exec,insert,select,delete,update,count,*,%,chr,mid,master,truncate,char,declare" sql_leach_0 = split(sql_leach,",") If Request.QueryString<>"" Then For Each SQL_Get In Request.QueryString For SQL_Data=0 To Ubound(sql_leach_0) if instr(Request.QueryString(SQL_Get),sql_leach_0(Sql_DATA))>0 Then Response.Write "請不要嘗試進(jìn)行SQL注入!" 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_leach_0) if instr(Request.Form(Sql_Post),sql_leach_0(Sql_DATA))>0 Then Response.Write "請不要嘗試進(jìn)行SQL注入!" Response.end end if next next end if %> [/php] 防止暴庫的辦法,在數(shù)據(jù)庫文件前面加上On Error Resume Next [php] <% On Error Resume Next dim conn,connstr,db %> [/php] 本文來自CSDN博客,轉(zhuǎn)載請標(biāo)明出處:http://blog.csdn.net/wjq3714/archive/2009/05/17/4195793.aspx

贊 (

發(fā)表評論

霍城县| 元谋县| 乌拉特后旗| 绥阳县| 冕宁县| 北海市| 龙南县| 四川省| 定南县| 白朗县| 夏河县| 长寿区| 东海县| 和平区| 法库县| 英德市| 尚义县| 辽中县| 佛冈县| 北安市| 庆元县| 泊头市| 许昌县| 灵武市| 枣阳市| 兴隆县| 茶陵县| 历史| 明溪县| 金华市| 阜城县| 栾川县| 武宁县| 武邑县| 淮北市| 房产| 通城县| 龙海市| 杂多县| 枞阳县| 婺源县|