charles对于某些app应用无法抓包

2019-07-09  本文已影响0人  风一样的存在

  对于有些app不知道怎么回事无法抓包会出现如下的情况:

charles抓包
在网上找了些资料,有的说是ssl证书认证的问题,有的说是手机系统的android版本7.0的问题,API Level 24及更高版本的应用程序不再信任用户或管理员添加的CA用于安全连接。我使用自己的Android 9.0会出现抓不到包,使用测试机Android 6.0虽然可以抓包,但是只能抓部分包,想要的登录查询的接口都没抓到:
HttpCanary抓包-android9.0
HttpCanary抓包-android9.0
HttpCanary抓包-android6.0
后来使用Xposed+JustTrustMe:
1.安装xposed框架。
2.继续安装JustTrustMe
安装完后,记得xposed模块内点击右侧框开启。
然而还是抓取不到包,直接就是自动断网
最后尝试使用公司的测试机iphone6,越狱后完美的可以抓包了。
越狱后

使用到的工具包:
1.HttpCanary工具
https://github.com/MegatronKing/HttpCanary
2.VirtualXposed
https://github.com/android-hacker/VirtualXposed
3.JustTrustMe
https://github.com/Fuzion24/JustTrustMe

相关文章:
1.https://android-developers.googleblog.com/2016/07/changes-to-trusted-certificate.html
2.https://blog.csdn.net/mrxiagc/article/details/75329629
3.http://www.ttk7.cn/post-99.html

上一篇下一篇

猜你喜欢

热点阅读