Skip to content

Instantly share code, notes, and snippets.

View The3ven's full-sized avatar
🎯
Focusing

THE EVEN The3ven

🎯
Focusing
  • India
  • 17:30 (UTC +05:30)
View GitHub Profile
@The3ven
The3ven / proxy.ino
Last active October 9, 2025 04:23
try to build a proxy to redirect to right endpoint i have mistekenly push in production
/*
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>