MihaZupan / TelegramStorageParser

Library to decrypt and parse Telegram Desktop's storage
Other
59 stars 20 forks source link

Can`t parse new desktop storage after last update #1

Open mr-tron opened 6 years ago

mr-tron commented 6 years ago

I added

                default:
                    Console.WriteLine(storageKey);
                    return false;

to src/TelegramStorageParser/TelegramDesktop/Map.cs:144

and got ouput of example program:

165804707
Something went wrong: InvalidData
MihaZupan commented 6 years ago

You have to advance the 'stream' by the right amount of bytes (that's figured out by looking at the local_storage.cpp of the official client).

I'll update the library tomorrow.

MihaZupan commented 6 years ago

@mr-tron Out of curiosity, what's your use case for the library?

mr-tron commented 6 years ago

background controllable cacher for client. for me it`s easier than edit client on c++

MihaZupan commented 6 years ago

Turns out the storage for images was redesigned in the last several updates and they are now located in a different folder architecture. It'll take me a bit longer to dif through all of it tho.

faejr commented 5 years ago

@MihaZupan Is this project entirely dead or will there be some update to it? I made an attempt at updating it myself but my knowledge appears to be lacking

MihaZupan commented 5 years ago

I might revisit it during the holidays but currently I don't have the spare time to look through all TelegramDesktop source changes.

faejr commented 5 years ago

Thanks for the update