Bugku web——求getshell

打开连接,是一个文件上传页面,结合题目名称,应该是需要上传shell
Bugku web——求getshell
写一个简单shell,上传并抓包
Bugku web——求getshell
需要更改下面三点来绕过:

  • 将后缀改为.php5,因为php,php2,php3,php4,php5,phps,pht,phtm,phtml都被过滤
  • Content-Type: application/octet-stream改为Content-Type: image/jpeg,躲避文件识别
  • Content-Type: multipart/form-data;其中的一个字母换成大写,越过服务器端检查