本文记录文件上传学习过程,教程为 《Upload Attack Framework V1.0》
简介
检测上传到服务器的文件类型,在 burp 抓包可以看到类似于 Content-Type: image/gif
检测内容:
实例:
地址是: http://www.heibai.net/articles/hacker/ruqinshili/2011/0325/13735.html
源代码
绕过
使用 burp 抓包
上传本地文件 2012.asp
在 burp 的 request 包里可以看到
Content-Type: text/plain
修改:Content-Type: text/plain -> Content-Type: image/gif
像这种服务端检测http 包的Content-Type 都可以用这种类似的方法来绕过检测