Program to decrypt and parse Telegram Desktop's local storage
This project relies on OpenSSL for crypto primitives. See their license here.
Build on Net Standard 1.3
using MihaZupan.TelegramStorageParser;
using MihaZupan.TelegramStorageParser.TelegramDesktop;
string tDataPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "/Telegram Desktop/tdata";
ParsingState parsingState = LocalStorage.TryParse(tDataPath, out LocalStorage localStorage);
if (parsingState == ParsingState.Success)
{
Console.WriteLine("Phone number: " + localStorage.LoggedPhoneNumber ?? "not present");
}
It can:
Parsing of other data types (stickers, messages ...) will follow
A gpu based cracker is now available in John the Ripper thanks to @kholia