攻防世界-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。

 

posted @ 2020-11-03 23:32  NEWdun  阅读(1056)  评论(0)    收藏  举报