Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automation via MITM #14

Open
ManiaciaChao opened this issue Apr 3, 2024 · 0 comments
Open

Automation via MITM #14

ManiaciaChao opened this issue Apr 3, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ManiaciaChao
Copy link
Owner

ManiaciaChao commented Apr 3, 2024

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.

@ManiaciaChao ManiaciaChao changed the title Automation Via MITM Automation via MITM Apr 3, 2024
@ManiaciaChao ManiaciaChao added enhancement New feature or request help wanted Extra attention is needed labels Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant