A Python Telegram bot that leverages Holehe to check if an email address is registered on various sites (OSINT).
- Email Search: Checks a provided email against 120+ sites (Instagram, Twitter, etc.) using Holehe.
- Simple Interface: Just send the email to the bot, and it replies with the results.
- Secure: Token management via environment variables.
- Python 3.x
- python-telegram-bot: For Telegram API integration.
- Holehe: The core OSINT tool for email checking.
- Subprocess: To execute the CLI tool from within the Python script.
- Python 3.8+ installed.
- A Telegram Bot Token (get one from @BotFather).
-
Clone the repository
git clone [https://github.com/RohitWaghire/OSINT-Bot.git](https://github.com/RohitWaghire/OSINT-Bot.git) cd OSINT-Bot -
Install dependencies
pip install -r requirements.txt
-
Configuration Create a
.envfile in the root directory and add your Telegram Bot Token:TELEGRAM_BOT_TOKEN=your_token_starts_with_numbers
-
Start the bot
python bot.py
-
Interact on Telegram
- Open your bot in Telegram.
- Send
/startto verify it's running. - Send an email address (e.g.,
test@gmail.com). - The bot will process the request and return the list of sites where the email is registered.
This tool is for educational and research purposes only. The author is not responsible for any misuse of this tool. Please use responsibly and respect privacy laws.