Shoutbox

Message header/body manipulation via script - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Message header/body manipulation via script (/showthread.php?tid=94579)

Message header/body manipulation via script by frtci on 05-14-2010 at 03:38 AM

Hi. Sorry if this has been posted before, did not find anything related so will be asking it.

Is it possible to manipulate the instant messages contents using scripts ?

As we know they are in the "mime" format and start with :

--------------------------------------
Mime-Version: 1.0
Content-Type: 'apropriate type'

msg-contents-here

----------------------------------------

a lot of things could be changed in the msg header/body itself such as the content-type, font, user typing, emoticons, winks, etc etc...

If this is possible let me know please and give me some light/hints. The rest I will happily do it by myself, and if you guys get interested I can post it here when it is ready.

thanks in advance.


RE: Message header/body manipulation via script by Spunky on 05-14-2010 at 05:24 AM

It's not possible to manipulate this information without using some form of proxy (this is what MessengerDiscovery does do send "fake invites")

Viewing this information on the other hand is fairly simple...


RE: Message header/body manipulation via script by frtci on 05-15-2010 at 01:52 AM

hmm right. maybe in next versions it could have something liketht because it would be theoretically simple to manipulate anything in the message, without even messing with APIs etc...

However if you know of such a program that can act as a proxy to manipulate the messages let me know please.

I do know that using for example wireshark it is possible to see the outgoing and incoming messages and its contents in plain text and there are interesting stuff I would like to play with...depending on the complexity of this I could create some kind of script to integrate in MsgPlus and give developers much more control over the messages,etc...

tell me your thoughts please.

thank you.


RE: Message header/body manipulation via script by Spunky on 05-15-2010 at 08:32 AM

There are other methods of seeing the plain-text protocol messages too, one being a script using the Xniff ocx. Messenger Plus! Live will not ever make it possible to manipulate the protocol messages for various reasons.


RE: Message header/body manipulation via script by CookieRevised on 05-16-2010 at 01:31 AM

quote:
Originally posted by frtci
because it would be theoretically simple to manipulate anything in the message
On the contrary.
It is not as easy as it sounds to manipulate such messages without screwing up things. One needs to be very carefull when manipulating the protocol messages directly! If you don't know _exactly_ what you're doing, and how the protocol _exactly_ works you will screw up things. It is not as easy as 'just' replacing some texts (it might for some selective protocol messages, but it sure is not for all).

That is one of the reasons why Plus! will not let you tamper with it; too much things can go wrong.