开发者

How do I track a program Internet Request in order to build an Msn bot? [closed]

It's difficult 开发者_运维百科to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

How do I track a program Internet Request? Like Windows Live Messenger, in order to make a bot that does the same thing. Because I'm making a application that verifies the number of users online, and chat with these people, but I would like to know, where does it connect to do that.

In Web I use the LiveHTTPHeader or FireBug to see where is the page sending GET/Post DATA too and which parameters are being sent. What about desktop applications? how do I do?


You should use a library, for instance in csharp: http://code.google.com/p/msnp-sharp/

Because tracking web request is irrelevant. if you want to make a bot, you should work with an Api.


Applications like Live Messenger, Skype etc do not normally use the http protocol to communicate with their servers or peers. Instead they mostly use their own, sometimes proprietary protocols over TCP/IP, over ports other than the default http port. In order to "listen" to what these programs are sending/receiving you would need a program that "sniffs" TCP data. I imagine however that these eavesdropping attempts will mostly prove futile, since many of the programs you are trying to understand also use encryption.


Use Wireshark to dump all your network traffic, then use filters so you keep only the data that Messenger sends.

http://www.wireshark.org/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜