Telegram bot for 2FA
Giuseppe Guerra 56390c9e4e ops part 2 1 year ago
.gitignore First commit 1 year ago
LICENSE Add LICENSE and README 1 year ago Fix typo in README 1 year ago First commit 1 year ago ops part 2 1 year ago ops 1 year ago

2FA Telegram Bot

This is the Telegram bot that sends you 2FA codes when logging in from a new IP address. It’s written in Python3 and requires Tornado, MySQLDB and python-telegram-bot


First, install the dependencies with pip

$ pip install tornado mysqlclient python-telegram-bot

Then, run the bot to create the config file

$ python3

Edit the config file

$ nano config.ini

And finally, start the bot

$ python3


All code in this repository is licensed under the GNU AGPL 3 License.
See the “LICENSE” file for more information.