Cristi Balas . wordpress . com

A blog about programming, hacking and open source

Posts Tagged ‘archive’

Yahoo! Messenger Archive Decoder

Posted by Cristi on Sunday, 2008-10-12

Using the same approach as others did (see notes at the bottom of this page), and doing some reverse engineering of my own, I’ve created a little script in C that decodes all the messages (chats are ignored) in a yahoo profile directory.
I’ve made this because i wanted to merge my Yahoo! Messenger logs and Pidgin logs (I am also using Linux) in one common place.

It doesn’t have any interface.. it works like this:
Method 1: Just drag and drop the user profile folder on the exe. The user profile folder is, for example
C:\Program Files\Yahoo!\Messenger\Profiles\pufuletz_roz
Example:

Method 2: From the command line, run YM_decoder <user_profile_folder>

The decoded logs are put in a “Decoded_Archive” subfolder of the target profile.

Download .zip

Notes
Some reverse engineering for finding out the format of the archive I did my own, but I was also inspired by:

Good luck!

LE:

Linux Version
A lot of visitors are searching for a linux version.
I haven’t yet writen one (the chdir functions are different across platforms).
BUT the source code is in the .zip archive, and there’s a multi-platform function that decodes an archive. It’s like

int ym_decode_file(const char *id, const char *other_id, const char *strFin, const char *strFout);

So just pass the yahoo IDs of the file and input and output file names, and that’s it.
If u would need a ym decoder for linux, leave a comment and i’ll write it as soon as i have some free time.

Posted in Security, Utility programs, Windows | Tagged: , , , , | 3 Comments »