I am trying to figure out how to either hook winsock or in someway
intercept socket connections for port 80 to basically sniff all
information passing over them for any given application. Does anyone
know of any example of doing this in .net or have any ideas?
thanks,
Bryan
hB - 26 Aug 2005 00:31 GMT
There are many ways.
Easiest is to use a home brew proxy server (nothing a simple socket
listener and data forwarded). In your browser or application(s) allow
them to use this http proxy server. And from that proxy app log all
data.
There are many small such apps are available. You can also create one.
(since you asked about the port 80, avoid hooking)
---
hB
octupul@gmail.com - 26 Aug 2005 04:40 GMT
Thats not acceptable. I want to monitor data from multiple windows
simultaneously. I have explored using a proxy server but, this would
force me to modify the client every time. I would rather intercept the
data or have somekind of transparent proxy in place so I wouldn't have
to modify settings.
Bryan
Lloyd Dupont - 27 Aug 2005 15:00 GMT
http://www.codeproject.com/csharp/pacanal.asp

Signature
On a toujours tort d'essayer d'avoir raison devant des gens qui ont
toutes les bonnes raisons de croire qu'ils n'ont pas tort !
>I am trying to figure out how to either hook winsock or in someway
> intercept socket connections for port 80 to basically sniff all
[quoted text clipped - 3 lines]
> thanks,
> Bryan