neustarsabbir-max/ESP32-Evil-Twin-Captive-Portal
À propos
ESP32 WiFi Pentesting tool: Scans networks, creates Evil Twin APs, and captures credentials to internal storage via Captive Portal
Sécurité et confidentialitéWhat you can do
- Network Scanning: Scans for available WiFi networks (AP + STA mode).
- Evil Twin Attack: Clones SSID and creates an open Access Point.
- DNS Hijacking: Redirects all traffic (Google, Apple, Android captive checks) to the phishing page.
- Credential Harvesting: Logs usernames/passwords to internal SPIFFS storage.
Progression mesurée des étoiles
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- +4
- in 1 month
- +5
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalEsp32-Evil-Portal
Advanced ESP32 Evil Twin Attack & Captive Portal framework for WiFi Penetration Testing. Features include DNS Hijacking, SPIFFS credential logging, custom HTML phishing pages, and a mobile-responsive Admin UI. Educational security tool for ESP32
ESP32 Evil Twin & Captive Portal Suite
A standalone WiFi Penetration Testing tool for ESP32. This project creates an "Evil Twin" Access Point that mimics legitimate networks to capture credentials via a realistic Captive Portal.
[!WARNING] DISCLAIMER: This project is for educational purposes and security research only. Usage of this tool for attacking targets without prior mutual consent is illegal. The author assumes no liability and is not responsible for any misuse or damage caused by this program.
⚡ Features
- Network Scanning: Scans for available WiFi networks (AP + STA mode).
- Evil Twin Attack: Clones SSID and creates an open Access Point.
- DNS Hijacking: Redirects all traffic (Google, Apple, Android captive checks) to the phishing page.
- Credential Harvesting: Logs usernames/passwords to internal SPIFFS storage.
- Mobile-Friendly Admin UI: Control the device from your phone.
- Global Channel Support: Unlocked channels 1-13 (CN/JP region fix).
- Custom HTML Support: Upload your own phishing pages via the Admin Interface.
- Persistent Configuration: Settings saved in memory.
🛠️ Hardware Required
- ESP32 Development Board (ESP32-WROOM-32 or similar).
- USB Cable for power/programming.
💾 Installation
- Install Arduino IDE: Ensure you have the ESP32 Board Manager installed.
- Libraries: This sketch uses built-in ESP32 libraries:
WiFi.hWebServer.hDNSServer.hSPIFFS.h
- Partition Scheme:
- In Arduino IDE, go to Tools > Partition Scheme.
- Select "Default 4MB with SPIFFS" (or any scheme that includes SPIFFS).
- Upload: Connect your ESP32 and upload the
Evil_Portal.ino.
🚀 How to Use
1. Connect to Admin Panel
- Power on the ESP32.
- Connect your phone/PC to the WiFi network:
WiFi_Pentest. - Password:
password123. - Open a browser and navigate to:
http://192.168.4.1/admin.
2. Launch an Attack
- Go to the Scan tab to find targets.
- Click Select on the target network.
- Click START in the control panel.
- The ESP32 will now broadcast the target SSID.
3. View Logs
- When a victim connects and enters a password, it is saved.
- Refresh the Admin Panel to view captured credentials in the "Captured Data" section.
- Logs are persistent (saved to flash memory) until you click Clear.
📸 Screenshots
| Admin Dashboard | Attack Config |
|---|---|
| Admin UI | |
👨💻 Author
Sabbir
- Department of Electrical and Electronic Engineering (EEE)
- Southeast University (SEU), Batch 43
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
Explorer des projets similaires
Chargement…