News for hackers. Stuff that matters.
Re:ESP32-C6, a Wi-Fi 6 and Bluetooth 5 (LE) SoC by lostlogin on Saturday April 10, 2021 @06:19AM (#26760400)
Any idea how this works? Are they trying to connect to a particular address?
Re:ESP32-C6, a Wi-Fi 6 and Bluetooth 5 (LE) SoC by g_p on Saturday April 10, 2021 @07:14AM (#26760623)
Yes, phones request a particular (plain http) URL from Google or Apple, which returns a 204 response. If they don't get a response, the network is assumed to have a connectivity issue. If they get redirected due to captive portal, they detect that and can prompt the user to log in.

https://github.com/leoleozhu/android-captive-portal

Re:ESP32-C6, a Wi-Fi 6 and Bluetooth 5 (LE) SoC by numpad0 on Saturday April 10, 2021 @08:50AM (#26761103)
Sometimes as straightforward as pinging a server, sometimes elaborate as trying lists of random domains that some must respond and some must not resolve.