Skip to content

Automation via MITM #14

Description

@ManiaciaChao

Automation on PC alone is nearly impossible, since we can't expose WeChat PC client's CDP port by CLI parameters anymore. Currently, an Android device is needed according to #12 (comment).

Here I purpose a new approach as its alternative.

  1. Set up an MITM proxy, which will install root CA certificate into system's vault. Intercept all network requests to host v18.teachermate.cn.
  2. Set up an server, signed with our certificate, to wait for client's connection.
  3. Extract openId from request.
  4. Modify HTML response to inject a script, allowing yatm to communicate with WeChat's browser.

Anyway, I don't think I have time or interest to implement this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions