3 ms·
Without a rooted phone, there's no better way to "fix" Android's captive portal code, or to automate it.
by voltagex_ 8y ago
Without a rooted phone, there's no better way to "fix" Android's captive portal code, or to automate it.
- icebraining 8y agoHow would root or iOS help you? The problem is that each captive portal is different, so you need the user to "teach" it once. Seems a reasonable approach to me.
- voltagex_ 8y agoRoot would allow packet capture without the VPN framework that may not work before there's a network "up" (I should try tShark). I guess I'm just a bit exasperated about how the lesser-used parts of Android have far less attention to detail (there's no reason this couldn't be a built in feature)
- icebraining 8y agoWhy would you do this with packet capture? You'd have to install a root cert and MITM connections, it'd be much more messy and dangerous.
- voltagex_ 8y agoI haven't seen a portal with SSL (correctly) configured - are there any that don't work by capturing DNS/HTTP and redirecting to a login page? You're already essentially doing MITM by redirecting form actions.
- icebraining 8y agoI haven't seen a portal with SSL (correctly) configured - are there any that don't work by capturing DNS/HTTP and redirecting to a login page? The ones I've used recently all capture DNS/HTTP, but use it to redirect to an HTTPS page with the actual form - which you'd have to MITM. You're already essentially doing MITM by redirecting form actions. Yes, but inside a single webview, not system-wide!
- ryanlol 8y agoHow do you automate captive portals on iOS then?