Simple PoC script that allows you to exploit telegram's "send with timer" feature by saving any media sent with this functionality.
Due to Telegram API Terms of Service, the use of this script is for PoC only.
1.4. It is forbidden to interfere with the basic functionality of Telegram. This includes but is not limited to: making actions on behalf of the user without the user's knowledge and consent, preventing self-destructing content from disappearing, preventing last seen and online statuses from being displayed correctly, tampering with the 'read' statuses of messages (e.g. implementing a 'ghost mode'), preventing typing statuses from being sent/displayed, etc. Telegram API Terms of Service - Privacy & Security - 1.4
but that doesn't change the fact that this is a broken API call ¯_(ツ)_/¯
Working - April 20, 2022
git clone https://github.com/matteounitn/breaking-telegram.git
- Go to https://my.telegram.org/auth?to=apps;
- Create an app(doesn't matter how do you call it);
- Get API ID and API KEYS;
- Replace them in
config.ini.example
and save it asconfig.ini
cd breaking-telegram
python3 -m venv venv && source venv/bin/activate
pip3 install -r requirements.txt
python3 broke.py
Now insert your number and your code.
Eventually you will be asked for a password, if you have one set in your account.
Receive an image with timer (could also be a video or gif). Check your saved messages.
Use secret chats. They're not bulletproof, but they're definitely safer.