ubuntu 安装charles

如题,下面上货。

1、首先需要进入到官网。

https://www.charlesproxy.com/documentation/installation/apt-repository/

2、输入如下指令进行安装

wget -q -O - https://www.charlesproxy.com/packages/apt/PublicKey | sudo apt-key add

sudo sh -c 'echo deb https://www.charlesproxy.com/packages/apt/ charles-proxy main > /etc/apt/sources.list.d/charles.list'

sudo apt-get update

sudo apt-get install charles-proxy

3、下面是详细的内容:

APT repository

Charles has an APT repository for Debian-based Linux distributions.

NB: The keys for the repo changed on 26 July 2016, to utilise a larger key size and stronger digests. Existing users of the APT repository will need to import the new public key. The new public key is at the same URL as the old public key, therefore repeat the apt-key add step below to add it. Finally, run apt-get update to use the new key.

First install the GPG public key for the repository so you can verify that the packages are correctly signed. The current public key id is 1AD28806 and its fingerprint is 4BA7 DB85 7B57 0089 7420  96E1 5F16 B97C 1AD2 8806:

wget -q -O - https://www.charlesproxy.com/packages/apt/PublicKey | sudo apt-key add -

or alternatively:

sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 1AD28806

Then add the repository to your sources:

sudo sh -c 'echo deb https://www.charlesproxy.com/packages/apt/ charles-proxy main > /etc/apt/sources.list.d/charles.list'

Then update your sources and install Charles:

sudo apt-get update sudo apt-get install charles-proxy

The package creates a "charles" command in /usr/bin, and adds Charles in your application menus in your window manager.

You may also install the beta track of Charles which is called charles-proxy-beta.

Charles 3

To install Charles 3, use the package charles-proxy3. You can have both Charles 4 and Charles 3 installed at the same time.

The package creates a "charles3" command in /usr/bin, and adds Charles in your application menues in your window manager.

 

 

最后如果需要破解,那么要这样替换charles.jar这个文件。

将/usr/lib/charles-proxy/下的Charles.jar 替换掉,重新启动软件即可

 

后记:

最常见的问题是在进行https的包进行分析的时候出现乱码,首先需要在手机端安装证书,然后是参考下面的文章:

https://www.jianshu.com/p/ddef21c3b9ba

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值