This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
ESP32 single-domain HTTP interceptor (target: example.com) | |
- Spoofs DNS only for "example.com" -> AP IP | |
- Receives HTTP requests from clients, logs them (plain text) | |
- Fetches response from real backend and returns to client | |
- No HTTPS handling. Other domains ignored. | |
#include <WiFi.h> | |
#include <WebServer.h> |