抓包工具Charles(一)

Charles是什么

官网介绍
Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet. This includes requests, responses and the HTTP headers (which contain the cookies and caching information).

Charles的应用

介于Charles的特性,它常常被用于软件测试过程中,用于查看设备发出的Http请求和接受到的Http响应。

Charles的安装

Charles是一款收费软件,官网可下载各个平台的Charles来试用

Charles的界面

抓包工具Charles(一)

Charles的常用功能

  1. 抓包(手机 && 电脑设备发起的请求和收到的响应)

  2. 修改请求 && 响应
    a. 通过对某个请求打断点,截到请求/响应并且修改参数
    b. 通过rewrite方法,对满足条件的所有请求/响应做修改

  3. 拷贝curl给对应的开发人员,方便排错

相关文章: