SkillAgentSearch skills...

TelegramStorageParser

Library to decrypt and parse Telegram Desktop's storage

Install / Use

/learn @MihaZupan/TelegramStorageParser
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Telegram Storage Parser

Build Status

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

Usage example

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");
}

Example project

View project source

It can:

  • Parse local storage
  • Export all cached images
  • Export all cached voice recordings
  • Export MTProto keys
  • Export a bunch of miscellaneous settings

Parsing of other data types (stickers, messages ...) will follow

Brute forcing the passcode

A gpu based cracker is now available in John the Ripper thanks to @kholia

View on GitHub
GitHub Stars81
CategoryDevelopment
Updated1mo ago
Forks23

Languages

C#

Security Score

85/100

Audited on Feb 10, 2026

No findings