Juszoe
V2EX  ›  问与答

wx 小程序是否能方便地提取 Cookie

  •  
  •   Juszoe · Feb 2, 2023 · 1678 views
    This topic created in 1389 days ago, the information mentioned may be changed or developed.
    抓包可以提取,但是太麻烦了。有什么办法在手机端也能实现的呢?
    5 replies  •  2023-02-03 08:03:56 +08:00
    AppxLite
    AppxLite
    Feb 2, 2023 via Android
    1
    没有 cookie 吧
    Ranying
    Ranying
    Feb 2, 2023
    2
    微信小程序用 setStorageSync API 存储数据。
    Juszoe
    Juszoe
    OP
    Feb 2, 2023
    3
    @AppxLite #1 我这里描述不准确,应该是 token

    @Ranying #2 不是我的小程序,没法动代码
    letitbesqzr
    letitbesqzr
    Feb 2, 2023
    4
    使用微信协议 或者 hook ,拿小程序登陆的 code ,然后去交换对应小程序的 token
    zhaokun
    zhaokun
    Feb 3, 2023 via iPhone
    5
    ios 有 app 可以抓包,比如 quanx
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1338 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 00:01 · PVG 08:01 · LAX 16:01 · JFK 19:01
    ♥ Do have faith in what you're doing.