[Tutor] listen in on other program's tcp connections

W W srilyk at gmail.com
Tue Dec 16 09:55:55 CET 2008


On Tue, Dec 16, 2008 at 12:57 AM, xbmuncher <xboxmuncher at gmail.com> wrote:

> On windows XP, I'm running a program that sends TCP connections on port
> 5039. I'v ran wireshark to determine this. I want to create a simple program
> that listens for these connections and intercepts and then turns the data
> transferred into a string. From there I'd obviously like my program to act
> and manipulate those strings, but for now just spitting out that intercepted
> TCP data is good enough.
>
> I was reading up on Twisted. http://twistedmatrix.com/
> Can someone get me started on how to do this with twisted framework or
> anything else?


I've never done anything like this specifically... but my guess is that it's
pretty similar to creating a proxy.

HTH,
Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20081216/b43ba4e3/attachment.htm>


More information about the Tutor mailing list