Using Python to be the Man in the Middle

2010-08-20 by Motoma, tagged as hacking, mitm, programming, python, sockets

I've started working on a private project which is on par with the type of programming I like to do. The basic premise is that the program acts as a man in the middle, routing traffic between client and server, occasionally altering or injecting data into the stream each way.

What follows is a stripped down snippet of code that is at the heart of tool:

blog comments powered by Disqus