开发者

How to read and change HTTP traffic on-the-fly on Windows?

开发者 https://www.devze.com 2023-01-19 22:57 出处:网络
I need a method that would allow me to read all the HTTP traffic on a local machine, and to chan开发者_运维技巧ge this traffic on-the-fly.Basically, I need to change the content on any web page opened

I need a method that would allow me to read all the HTTP traffic on a local machine, and to chan开发者_运维技巧ge this traffic on-the-fly. Basically, I need to change the content on any web page opened in any browser at the machine.

Any thoughts?


For debugging/troubleshooting, or in production?

For debugging. fiddler2 lets you do this with scripts

For production use, you probably want to implement a Layered Service Provider (which I assume Fiddler2 does)


Thought: Don't do it.

If you need this for corporate environment, use mandatory proxy with some URL scanning and redirection.


You can run Privoxy locally as a proxy server, and define your content or URL rewrite rules it in.

0

精彩评论

暂无评论...
验证码 换一张
取 消