A captive portal for MicroPython using ESP32 (WeMos)
I assume no responsibility for the usage of this code and post. The book "The Hacker Playbook 2: Practical Guide to Penetration Testing - Peter Kim" says
Just remember, ONLY test systems on which you have written permission. Just Google the term “hacker jailed” and you will see plenty of different examples where young teens have been sentenced to years in prison for what they thought was a “fun time.” There are many free platforms where legal hacking is allowed and will help you further educate yourself.
WeMos WiFi ESP32 Development Tool | x 1 | buy | |
INR18650 3.7v Battery | x 1 | buy buy | |
MicroPython | download tutorial | ||
uPyPortal | download |
- Read the following blog article: https://goo.gl/3jQzQV
- For the logging data, I took the files from notes-pico and modified them.
- For DNS fake code I wrote a
dns.py
file using info from here mirrored here.