Advertisement
FlyFar
Jul 17th, 2023
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ESP8266 WiFi Captive Portal
  2.  
  3. DISCLAIMER:
  4. 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.
  5.  
  6. About this project
  7. WiFi captive portal for the NodeMCU (ESP8266 Module) with DNS spoofing.
  8.  
  9. The built-in LED will blink 5 times when a password is posted.
  10.  
  11. Warning! Your saved passwords will not disappear when you restart/power off the ESP8266.
  12.  
  13. Note: If you want to see the stored passwords go to "172.0.0.1/pass". For changing the SSID, go to "172.0.0.1/ssid"
  14.  
  15. V. 2.0 (Fake sign-in): https://github.com/125K/ESP8266_WiFi_Captive_Portal_2.0
  16.  
  17.  
  18.  
  19. Installation (ESP8266 Flasher - Easy way)
  20. Download ESP8266 Flasher.
  21.  
  22. Download the release.bin file.
  23.  
  24. Open the ESP8266 Flasher and select the Node MCU port
  25.  
  26.  
  27.  
  28. Then, go to the config tab and select the .bin file you've just downloaded.
  29.  
  30.  
  31. Finally, go back to the first tab and press "Flash"
  32.  
  33. Your Node MCU is ready!
  34.  
  35. Installation (Arduino IDE)
  36. 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
  37. Go to "Tools -> Board -> Boards Manager", search "esp8266" and install esp8266
  38. Go to "Tools -> Board" and select your board"
  39. Download and open the sketch "WiFi_Captive_Portal.ino"
  40. You can optionally change some parameters like the SSID name and texts of the page like title, subtitle, and text body...
  41. Upload the code to your board.
  42. You are done!
  43.  
  44. Check out 125K's other projects
  45. WiFi-Spam: 📧📡 Spam thousands of WiFi access points with custom SSIDs.
  46. https://github.com/125K/WiFi-Spam
  47.  
  48. PwrDeauther: ⚡ Deauth a specific WiFi access point or an entire channel.
  49. https://github.com/125K/PwrDeauther
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement