通过 Windows Live Messenger 跟踪消息

发布于 2024-07-13 08:57:35 字数 374 浏览 7 评论 0原文

我想跟踪通过 Windows Live Messenger 发送和接收的消息。 然后我想将这些消息整理到数据库中(不在这个问题的范围内)。

问题是我应该如何以及在哪里跟踪这些消息。 最简单的方法是强制所有客户端保留历史文件并读取这些文件,但这并不是我正在寻找的解决方案。 有没有办法从在同一域中运行的服务器跟踪它们,我已经阅读了一些 Windows Communicator,我也看到很多人谈论 http://dev.live.com/messenger/ 但我希望有人可能已经解决了这个问题:)

我想使用 C# .NET 来做到这一点3.5

I would like to track messages sent and received though Windows Live Messenger. I would then like to collate these messages into a database (not in the scope of this question).

The question is how and where should I track these messages. The simplest way it to force all clients to keep history files and read those, but it is not really the solution that I am looking for. Is there a way to track them from a server running in the same domain, I have read a little into Windows Communicator, I have also seen a lot of people chat about http://dev.live.com/messenger/ but I was hoping that someone may have addressed this problem already :)

I would like to do this using C# .NET 3.5

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

毁我热情 2024-07-20 08:57:35

查看 MSNPSharp。 它是一个.NET msn 库。 它非常强大,允许您从多个位置登录。 因此,您可以登录并收听给定帐户上发生的其他对话。
使用起来非常简单。 下载完整的源代码,其中有一个示例应用程序详细演示了其用法。

http://code.google.com/p/msnp-sharp/

Check out MSNPSharp. Its a .NET msn library. Its very powerful and allows you to sign in from multiple locations. So you can sign in and listen to other conversations happening on a given account.
Its very straight forward to use. Download the full source code, there's a sample application that demonstrates its use in full detail.

http://code.google.com/p/msnp-sharp/

是你 2024-07-20 08:57:35

这是两个可能可行的想法。

第一个是最简单的,但如果用户不想登录,可以轻松避免。 可以通过 MSN 使用 MSN Plus。 借助 MSN Plus,您拥有一个 API,可以让您从任何聊天窗口获取所有消息……以及更多。 当然,如果用户不是您,则用户可以简单地卸载Msn Plus,您的程序将不会记录任何数据。

如果您有一个需要检查所有 Msn 对话的网络,那么第二个想法会更好。 如果您使用WireShark,您可以看到对话没有加密(我上次这样做的时候)并且您可以检查端口和协议来简单地从网络获取数据。

希望它能为您提供一种满足您需求的方法。

Here is two idea that might work.

The first one is the easiest but can be easily avoided by the user if he doesn't want to be logged. It would be to use MSN Plus over the MSN. With MSN Plus you have an API that let you get all messages from any Chat Windows... and a lot more. Of course, if the user is not you, the user can simply uninstall Msn Plus and your program will not log any data.

The second idea is better if you have a network that you require to check all Msn Conversation. If you use WireShark you can see that conversation are not crypted (well the last time I did it) and you can check the port and protocol to simply get the data from the network.

Hope it gives you a way to what you need.

感悟人生的甜 2024-07-20 08:57:35

只是两个想法
1. 首先,标准MSN协议是纯文本的(据我所知),因此您可以拦截防火墙上的消息,然后将它们放入数据库中并在那里进行关联。
2. 如果是在组织中,您可以使用 Office Communicator,它是 MSN 的“企业”版本,并且已经内置了该功能。 然后您可以通过他们的 SDK 进入并获取相关数据。

Just two ideas
1. First the standard MSN protocol is plain text (from what I understand) so you could intercept the messages on the firewall and then put them in the DB and do the correlation there.
2. If this is in an organisation you could use Office Communicator which is the "corporate" version of MSN and has that functionality built in already. You can then just go in via their SDK and get the correlated data.

旧竹 2024-07-20 08:57:35

我设法找到了两种方法来做到这一点,尽管这两种方法都不是真正的程序化解决方案,因此可能不会吸引这些观众。

  1. 利用 Jabber 网关在您的 Jabber 客户端和其他 IM 网络之间设置转发。 流量通过 jabber 服务器在支持 jabber 的客户端和 jabber 服务器之间流动。 然后,Jabber 服务器将其转换为目标网络协议并转发该消息。 同样,来自外部 IM 网络的消息由 Jabber 服务器路由和翻译。 这方面的一个例子是 PSI<-> 爱思华宝 Merak <-> MSN

  2. 利用 Symantec IM Manager 拦截来自消息客户端的消息你的网络。 您需要使用主机文件或本地 DNS 规则来让您的本地 PC 相信 Messenger.hotmail.com 实际上位于 192.168.0.59,而不是位于 Microsoft。

希望它可以帮助其他可能想做同样事情的人。

I managed to find two ways of doing this, though both are not really programmatic solutions, so may not appeal to this audience.

  1. Make use of a Jabber gateway to set up forwards between your jabber client and the other IM networks. Traffic flows between your jabber enabled client and the jabber server via the jabber server. The Jabber server then translates this to the destination networks protocol and forwards the message. Likewise messages from the external IM networks are routed and translated by the Jabber server. An example of this is PSI <-> IceWarp Merak <-> MSN

  2. Make use of Symantec IM Manager to intercept messages from the messaging clients on your network. You will need to either use host files or local DNS rules to convince the your local PCs that Messenger.hotmail.com is actually located at 192.168.0.59 and not at Microsoft.

Hope it helps other people that may want to do the same.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文