Can you capture the event of sending instant message from Yahoo Messenger and replace text using C#?

355 views Asked by At

I've just made a quick research about that but there is nothing about that in C#. Is this a lost cause or it can be made?

2

There are 2 answers

3
Myrtle On

You are trying to modify behavior of an closed source application. The only thing i can think of is somehow goeing lower-level in the OSI model (Transport layer i.e.) and change values. This sounds like a bad idea.

Actually i even wonder whether that data is sent plain-text or that encryption etc. has been used. I wonder if you can actually change the message at all.

0
ken2k On

As Yahoo Messenger is not an open source project, I have no idea about how sending message is implemented. First thing you should do is launching Wireshark on your machine to see how Yahoo Messenger works (which port is used, which protocol, data encryption...etc.).

When you have determined how the application works, you'll have to write some low level code that intercepts and modifies the bytes Yahoo Messenger sends. You'll probably have to write a driver, so it looks to me like a dead-end if your are using C#. And even using C/C++ or any langage usable to write drivers, it'll require a large amount of time/resources IMO.