WiFi-captive-portal-for-ESP8266-Fake-sign-in

H4cksploit
2 min readFeb 28, 2023

Download this from github https://github.com/H4cksploit/WiFi-captive-portal-for-ESP8266-Fake-sign-in

Disclaimer

This project is for testing and educational purposes. Use it only against your own networks and devices. I don’t take any responsibility for what you do with this program.

About this project

WiFi captive portal for the NodeMCU (ESP8266 Module) with DNS spoofing. It asks the user for an email and a password for a fake sign in, in order to “get connected to the internet”.

The built-in LED will blink 5 times when some credentials are posted.

Warning! Your saved credentials will disappear when you restart/power off the ESP8266.

Note: If you want to see the stored credetials go to “http://yourcurrentwebsite.co/creds" or “172.0.0.1/creds”

Screenshots

Installation (Arduino IDE)

  1. Open your Arduino IDE and go to “File -> Preferences -> Boards Manager URLs” and paste the following link: http://arduino.esp8266.com/stable/package_esp8266com_index.json
  2. Go to “Tools -> Board -> Boards Manager”, search “esp8266” and install esp8266
  3. Go to “Tools -> Board” and select you board”
  4. Download and open the sketch “ESP8266_WiFi_Captive_Portal
  5. You can optionally change some parameters like the SSID name and texts of the page like title, subtitle, text body…
  6. Upload the code into your board.
  7. You are done!

--

--