拦截和操纵HTTP POST请求
我使用的网络应用程序存在隐私问题。它运行一个 Flash 脚本,该脚本抓取屏幕截图,然后以特定的时间间隔将其提交到服务器。我已成功拦截 HTTP POST 请求,但我希望对其进行操作以返回空白图像。
我已经弄清楚如何在 Firebug 中捕获 HTTP 请求,并且可以在 Fiddler 中捕获/中断事件。 Fiddler 甚至允许我提交修改后的 POST 命令(但我只能弄清楚如何手动执行此操作,并且如果没有及时收到此 POST,网络应用程序就会中断。)是否有我可以使用的工具或脚本在浏览器中修改这个post请求?我没有看到 Greasemonkey 工作,因为 HTTP 请求是由 SWF 文件生成的。
I have a privacy issue with a web-app that I use. It runs a flash script that is grabbing a screen capture and then submitting it to a server at a specific interval. I have successfully intercepted the HTTP POST request but I wish to manipulate this to return a blank image.
I've figured out how to capture the HTTP request in Firebug and I can capture/break on the event in Fiddler. Fiddler even allows me to submit a modified POST command (but I can only figure out how to do this manually and the web-app breaks if it doesn't receive this POST in time.) Is there a tool or script that I can use to modify this post request in the browser? I don't see Greasemonkey working since the HTTP request is being generated by an SWF file.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Fiddler 还有一种脚本语言,允许自动修改某些请求或响应。
fiddler 脚本默认保存在我的文档目录中的
Fiddler2\Scripts\CustomRules.js
中。一个简单的脚本如下:
有关更多示例,请访问 http://www.fiddler2.com/ fiddler/dev/scriptsamples.asp
Fiddler has also a script language that allows to automate modification certain requests or responses.
The fiddler script is saved by default in
Fiddler2\Scripts\CustomRules.js
inside your my documents directory.A simple script would like this:
For further samples visit http://www.fiddler2.com/fiddler/dev/scriptsamples.asp
Request Maker 是 Google Chrome 的一个不错的小扩展程序,您可以使用它来编辑和创建请求。重新发送各种 HTTP 请求。
Request Maker is a nice little extension for Google Chrome you can use to edit & resend all kinds of HTTP Requests.