Inspired by telegram-desktop-decrypt
- Accounts MTP auth data decryption (User ID, DC ID, DC keys)
- Settings decryption
git clone https://github.com/ntqbit/tdesktop-decrypter
pip install ./tdesktop-decrypter
tdata
- path to tdata folder containingsettings
(orsettings
) andkey_*
files--passcode
,-p
- an optional passcode for data decryption--show_settings
- show decrypted settings--json
,-j
- JSON output
$ 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
}
- Media decryption
- Decode
dbiApplicationSettings
setting block