tags:

views:

55

answers:

2

I need a method that would allow me to read all the HTTP traffic on a local machine, and to change 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?

+3  A: 

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)

Paul
Thanks! This realy can be, what i need!
lebron2323
A: 

Thought: Don't do it.

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

wilx
hi, proxy not work with my case, because my program must work without setup, if i use proxy then users need setup browser settings to set proxy.
lebron2323
There is also a thing called transparent proxy. Though I think it is evil. Much like modifying people's traffic on the fly. Also, if your "clients" will be using HTTPS then you cannot do what you want anyway because all of the traffic will be encrypted.
wilx
with transparent proxy can read and change all http traffic without any setup, i mean do i can setup in system transparent proxy thru program?
lebron2323