Code Monkey home page Code Monkey logo

Comments (11)

monkeyWie avatar monkeyWie commented on September 18, 2024

你抓的应用应该做了ssl pinning

from proxyee.

gitcfly avatar gitcfly commented on September 18, 2024

你抓的应用应该做了ssl pinning

没有的,我抓取的安卓应用是我自己开发的,一个简单的安卓webview, 没有做ssl pinning。
我是在安卓应用中执行的第一条评论中的startProxyServer方法,然后在webview中设置代理,结果发现无法对百度首页进行抓包。看这个报错像是netty读取证书有问题,我用的证书是proxyee下的证书,从你的项目下载之后复制到我的应用中的,大佬能帮忙看看这个能解决吗

from proxyee.

monkeyWie avatar monkeyWie commented on September 18, 2024

根证书安装了吗

from proxyee.

gitcfly avatar gitcfly commented on September 18, 2024

根证书安装了吗

是的,已经安装过了,在新人的凭据中,有我安装的用户凭据,名称为ProxyeeRoot。

from proxyee.

monkeyWie avatar monkeyWie commented on September 18, 2024

你要不先试试电脑上跑代理,看看行不行,排除下安卓底层库的问题

from proxyee.

monkeyWie avatar monkeyWie commented on September 18, 2024

突然想起来了,你可能需要自己生成一个根证书:
image

from proxyee.

gitcfly avatar gitcfly commented on September 18, 2024

突然想起来了,你可能需要自己生成一个根证书: image

我曾经按照项目介绍,完全用一样的openssl命令生成过证书,发现是一样的错误,网上查阅资料,发现可能是netty与安卓证书不兼容,具体原因和解决方法不清楚

from proxyee.

monkeyWie avatar monkeyWie commented on September 18, 2024

是只有你app的webview抓不了吗,有正常能抓的吗

from proxyee.

gitcfly avatar gitcfly commented on September 18, 2024

是只有你app的webview抓不了吗,有正常能抓的吗

感谢你的解答,等我尝试在安卓上运行一下此代理服务,然后抓一下电脑浏览器的数据看看能不能有效果,有结果了我再反馈给你

from proxyee.

gitcfly avatar gitcfly commented on September 18, 2024

是只有你app的webview抓不了吗,有正常能抓的吗

感谢你的解答,等我尝试在安卓上运行一下此代理服务,然后抓一下电脑浏览器的数据看看能不能有效果,有结果了我再反馈给你

我尝试过,在安卓上确实无法正常执行https中间人代理,无法拦截到https的任何请求。用电脑浏览器也试过了

from proxyee.

gitcfly avatar gitcfly commented on September 18, 2024

另外,我看好多代理服务的证书内容都是以-----BEGIN PRIVATE KEY----- 和-----BEGIN CERTIFICATE-----开始的两个文件,但是你的项目是中有个文件是ca_private.der是乱码的,不清楚是不是这个的原因,可以让这个项目支持下面这种形式的证书吗:
-----BEGIN PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
这样的话,我可以更换一个可以正常代理的证书再尝试一下

from proxyee.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.