Telegram bot for 2FA. Deprecated.
Find a file
2018-04-29 11:14:24 +02:00
.gitignore Pin requirements, update .gitignore 2018-04-13 23:33:33 +02:00
config.py First commit 2016-06-12 21:04:39 +02:00
LICENSE Add LICENSE and README 2016-08-01 10:35:46 +02:00
main.py Warn users on login messages about switching to GA 2018-04-29 11:14:24 +02:00
mysql.py ops 2017-01-15 15:57:31 +01:00
README.md Fix typo in README 2016-08-01 10:37:12 +02:00
requirements.txt Pin requirements, update .gitignore 2018-04-13 23:33:33 +02:00

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

Installation

First, install the dependencies with pip

$ pip install tornado mysqlclient python-telegram-bot

Then, run the bot to create the config file

$ python3 main.py

Edit the config file

$ nano config.ini

And finally, start the bot

$ python3 main.py

License

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