V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
serge001
V2EX  ›  问与答

如何查看安卓 (华为)android captive portal 的 url?

  •  
  •   serge001 · Nov 25, 2019 · 2367 views
    This topic created in 2359 days ago, the information mentioned may be changed or developed.

    公司网络需要 captive portal 登陆,开发时候需要手机连接代理切换环境,但是开了代理后发现不能 wifi 认证了,必须要先关掉代理才能弹出 wifi 认证页面.

    看了一下原因是 captive portal 的 url 也走了代理,所以怎么才能知道 captive portal 的 url 呢?这样就能在配置代理的的时候忽略掉这个 url

    3 replies    2019-11-25 21:37:34 +08:00
    morethansean
        1
    morethansean  
       Nov 25, 2019   ❤️ 1
    adb shell settings get global captive_portal_https_url
    morethansean
        2
    morethansean  
       Nov 25, 2019   ❤️ 1
    公司 WiFi 登录页你关代理先直接抓包吧...里面可能有些 302,你看看。
    mxalbert1996
        3
    mxalbert1996  
       Nov 25, 2019 via Android
    你打开浏览器随便开个非 HTTPS 网页看跳转到哪里不就行了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1678 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 16:29 · PVG 00:29 · LAX 09:29 · JFK 12:29
    ♥ Do have faith in what you're doing.