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

实现当没有传入证书时只拦截和处理 http 请求,跳过所有 https 请求。 #41

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

xausky
Copy link

@xausky xausky commented Oct 21, 2019

当只想用这个库拦截一个 http 请求时,需要进行不必要的证书安装过程,并且MITM攻击在 Android 7.0 以上只能通过虚拟环境或者Root实现,并且还存在 CA Pinning 的情况,而导致其他不需要拦截的 https 请求产生错误,所以实现了这个功能来实现只拦截 http,使用的时候不用创建和安装证书 JKS 传入 null 即可。

关联这个问题 #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant