Skip to content

CapibaraZero/EvilPortal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EvilPortal - A captive portal library for ESP32

This library read static files from SD and create a web server with a customizable POST method and a DNS server that redirect all requests from connected devices to captive portal page.

Requirements

  • ESP32 in AP mode
  • SD card module

How to use

Create page like example.html, load it in SD then initialize an AP in setup() and create a EvilPortal object outside loop() or setup() You can also create a void captive_portal_callback(AsyncWebServerRequest* request) {} to handle data in POST /login. To use callback add CONFIG_USE_LOGIN_CALLBACK flag to your building system

About

A captive portal for ESP32

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published