views:

72

answers:

1

I would like to write communication sniffer for some im, like icq or msn. Can you please help me how to start? its quite hard to find useful info how to do this. How should i start? i know that there is winpcap library for windows that is good for packet sniffing. If you could me give som advice, i would appriciate it. THX

A: 
  • Search for the specification of the IM protocol you want to sniff
  • Learn how to use libpcap or similar e.g: winpcap
  • Download and study the source code of a IM Client, for example pidgin
pcent
libpcap and winpcap can parse a bunch of protocols, you could start studying how it works.Also, you could make some captures to learn about the protocols involved
pcent
The tool for packet capturing is wireshark: www.wireshark.org
pcent