Telegram bot that checks whether a given email is part of a data leak, via https://haveibeenpwned.com
Bot developed for version 2 of the API. Not tested with API v3 (only one currently supported). Now, an API key is required, obtained from https://haveibeenpwned.com/API/Key, in addition to a small adaptation in the
Conn_mail_curl
andcheck_alertas
functions infunc. php
so that both use the key in the request
-
Change the variables in the func.php file (Database, API key, your own Telegram ID - to receive usage alerts, feedback, etc) and username and password for the file broadcast.php
-
The broadcast.php file sends messages to all database users. You can use {first name} and {last name} for more personalized messages
-
The file check.php checks the domains registered with the Have I Been Pwned breaches. Preferably, set up a cron job for it
This project is licensed under the GNU General Public License