CTF论坛

标题: Bugku-web6 [打印本页]

作者: zesiar    时间: 2020-2-11 00:31
标题: Bugku-web6
1.分析代码
QQ图片20200211002729.png
empty()函数判断变量是否为空
file_get_contents()函数将整个文件读入一个字符串中
2.根据提示,访问flag.txt,发现flags
所以$ac=flags,$fn=flag.txt
得到代码





欢迎光临 CTF论坛 (https://www.bugku.com/) Powered by Discuz! X3.4