Quick tip. It is possible to download media with small python script.
Goto https://my.telegram.org and generate api id and api hash
Install Telethon library with
pip3 install telethon
Run saveAllMedia.py (replace api_id, api_hash and username with your values).
If you need proxy install https://github.com/Anorov/PySocks
pip install PySocks
This code downloads all media from the dialog with username user/chat/channel in current directory.
|var querystring = require('querystring');|
|var https = require('https');|
|var iconv = require('iconv-lite');|
|const readline = require('readline-sync');|
|var my_id = parseInt(readline.question("Enter your ID: "));|
|var COOKIE = readline.question("Enter your cookies: ");|
|var USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36';|
Keepass file format explained
I’m currently working (I’m just at the beginning, and I’m quite slow) on a personal project that will use Keepass files (kdb and kdbx).
I tried to find some documentation about .kdb and .kdbx format, but I didn’t find anything, even in the Keepass official website. I you want to know how these file formats are structured, you must read Keepass’s source code. So I wrote this article that explains how Keepass file format are structured, maybe it will help someone.