Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

gotd/telegram-desktop-decrypt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telegram-desktop-decrypt

Tool to decrypt tdata files.

Telegram Desktop (the one that runs on desktops, not on phones) has a "tdata" folder where it stores some encrypted files. This folder is normally found at "~/.local/share/TelegramDesktop" on Linux and at "%USERPROFILE%\AppData\Roaming\Telegram Desktop" on Windows.

This tool can decrypt those files, which contains settings and cache files, but not chat histories because these are not included in tdata.

Usage

./telegram-desktop-decrypt bulkdecrypt tdata/D877F783D5D3EF8C/map0 outdir

This will produce 3 kinds of files:

  • .rawencrypted: decrypted unparsed file
  • .cache: The cache file (may be a JPEG, video, or any type of shared file).
  • .json: settings or metadata about the cache file.

The .rawencrypted files are files that were decrypted but are still unparsed. Only some types of structure have parsing support. For those, .json or .cache files are produced too.

About

Tool to decrypt tdata files.

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

  • Go 100.0%