Bugku CTF_Web——需要管理员
进入站点先简单看看
没找到啥信息
还是老样子先扫一扫目录
扫出来一个robots.txt
http://114.67.175.224:14722/robots.txt
拼接一下进入看看
User-agent: *
Disallow: /resusl.php
再访问一下resusl.php看看
http://114.67.175.224:14722/resusl.php
if ($_GET[x]==$password)
下面给了提示
既然说我不是管理员记录我的ip
根据提示变成管理员看看
构造payload
http://114.67.175.224:14722/resusl.php/?x=admin
成功拿到flag
flag{da3eab5606156b4e351b6fd9b5f2d82d}
结束!!!!