Skip to content

Telegram Desktop tdata folder decrypter written in python

Notifications You must be signed in to change notification settings

ntqbit/tdesktop-decrypter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Desktop tdata decrypter

Inspired by telegram-desktop-decrypt

Features

  • Accounts MTP auth data decryption (User ID, DC ID, DC keys)
  • Settings decryption

Installation

git clone https://github.com/ntqbit/tdesktop-decrypter
pip install ./tdesktop-decrypter

Usage

Arguments

  • tdata - path to tdata folder containing settings (or settings) and key_* files
  • --passcode, -p - an optional passcode for data decryption
  • --show_settings - show decrypted settings
  • --json, -j - JSON output

Example

$ python -m tdesktop_decrypter /path/to/tdata -p passcode

Account 0:
MTP data:
User ID: 12345
Main DC ID: 1
Key DC 1: aabbccdd...


$ python -m tdesktop_decrypter /path/to/tdata -p passcode -j

{
    "accounts": [
        {
            "index": 0,
            "user_id": 12345,
            "main_dc_id": 1,
            "dc_auth_keys": {
                "1": "aabbccdd..."
            }
        }
    ],
    "settings": null
}

Todo (not yet implemented)

  • Media decryption
  • Decode dbiApplicationSettings setting block

Useful links

About

Telegram Desktop tdata folder decrypter written in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages