首页| 论坛| 消息
主题:ASP上两个防止SQL注入式攻击Function
cai发表于 2005-08-04 23:53
==========================
'过滤提交表单中的SQL
'==========================
function ForSqlForm()
dim fqys,errc,i,items
dim nothis(18)
nothis(0)="net user"
nothis(1)="xp_cmdshell"
nothis(2)="/add"
nothis(3)="exec%20master.dbo.xp_cmdshell"
nothis(4)="net localgroup administrators"
nothis(5)="select"
nothis(6)="count"
nothis(7)="asc"
nothis(8)="char"
nothis(9)="mid"
nothis(10)="'"
nothis
下一页 (1/9)
回帖(0):

全部回帖(0)»
最新回帖
收藏本帖
发新帖