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

Hello,关于登录直连实现 #243

Closed
Notsfsssf opened this issue Feb 13, 2021 · 1 comment
Closed

Hello,关于登录直连实现 #243

Notsfsssf opened this issue Feb 13, 2021 · 1 comment
Labels
good first issue Good for newcomers

Comments

@Notsfsssf
Copy link

PixEz已经实现了登录直连
可以参考一下:

我使用gomobile编写了一个go的lib,监听本地端口
webview设置proxy转发到go层,设置信任所有证书
go层滤掉sni,作为中间人转发,已经跑通,只是包会大10兆
可以将项目里的weiss module 引入gradle,然后weiss.Weiss.start(port),此时登录就不需要代理了
应该也可以通过java层实现,只是我需要适配ios端所以没有这么干

我测试过使用okttpclient interrupt webview的request,get请求还好办,post请求很难拿到ajax的body,用比较麻烦的办法比如注入js代码应该也可以

总之,新年快乐:)

@CeuiLiSA
Copy link
Owner

新年快乐!感谢你的宝贵建议和辛苦开源的代码,果然大佬还是大佬啊

@CeuiLiSA CeuiLiSA added the good first issue Good for newcomers label Feb 13, 2021
@CeuiLiSA CeuiLiSA reopened this Feb 13, 2021
@CeuiLiSA CeuiLiSA pinned this issue Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants