ridercz / HoneyESP

Captive portal honeypot for ESP8266
MIT License
62 stars 13 forks source link

No auto prompt on every smartphone #3

Open hugovantriet opened 3 years ago

hugovantriet commented 3 years ago

Hello,

On my smartphone, a Nokia 8 with Android 9.0, I get a prompt message to log into the network, but on my friends samsung A50 with Android 10, you need to manually visit the login page on a browser. It also does not give a prompt on all iPhone models. Am I doing something wrong, and what would that be?

Thank you in advance!

Thebys commented 3 years ago

I used to get a prompt on my Samsung Galaxy S10 and I no longer do. But being connected to the honeypot and attempting to access any http site using a browser results in the honeypot captivate portal to appear. It may be caused by more complex mechanism of internet availability validation which the honeyESP does not reflect yet.

ridercz commented 3 years ago

All captive portal detection methods I am aware of are based on making HTTP request to vendor's web server and handling potential redirect. HoneyESP does that in redirectToCaptivePortal method, where all requests without proper Host header are redirected.

I noticed that other captive portals were recently detected incorrectly in Android 10. so maybe something changed, but I don't know what and currently do not have time to debug it.