Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MihaZupan/TelegramStorageParser
Library to decrypt and parse Telegram Desktop's storage
https://github.com/MihaZupan/TelegramStorageParser
decryption localstorage tdesktop telegram telegram-desktop
Last synced: about 2 months ago
JSON representation
Library to decrypt and parse Telegram Desktop's storage
- Host: GitHub
- URL: https://github.com/MihaZupan/TelegramStorageParser
- Owner: MihaZupan
- License: other
- Created: 2018-06-24T19:00:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-27T12:58:35.000Z (about 5 years ago)
- Last Synced: 2024-07-04T16:17:13.123Z (6 months ago)
- Topics: decryption, localstorage, tdesktop, telegram, telegram-desktop
- Language: C#
- Homepage:
- Size: 956 KB
- Stars: 56
- Watchers: 9
- Forks: 20
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram Storage Parser
[![Build Status](https://travis-ci.org/MihaZupan/TelegramStorageParser.svg?branch=master)](https://travis-ci.org/MihaZupan/TelegramStorageParser)Program to decrypt and parse Telegram Desktop's local storage
This project relies on OpenSSL for crypto primitives. See their [license here](https://www.openssl.org/source/license.txt).
Build on Net Standard 1.3
## Usage example
```csharp
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](https://github.com/MihaZupan/TelegramStorageParser/blob/master/examples/TelegramDesktopExample/Program.cs)
It can:
* Parse local storage
* Export all cached images
* Export all cached voice recordings
* Export MTProto keys
* Export a bunch of miscellaneous settingsParsing of other data types (stickers, messages ...) will follow
## Brute forcing the passcode
A gpu based cracker is now available in
[John the Ripper](https://github.com/magnumripper/JohnTheRipper)
thanks to [@kholia](https://github.com/kholia)