Charles(HTTP 监视器和网络抓包工具)

1、软件简介

Charles(HTTP 监视器和网络抓包工具)

  • Charles 是在 Mac、Linux 或 Windows 下常用的 http 协议网络包截取工具,在平常的测试与调式过程中,掌握此工具就基本可以不用其他抓包工具了。Charles 通过将自己设置成系统的网络访问代理服务器,使得所有的网络访问请求都通过它来完成,从而实现了网络封包的截取和分析。除了在做移动开发中调试端口外,Charles 也可以用于分析第三方应用的通讯协议。配合 Charles 的 SSL 功能,Charles 还可以分析 Https 协议。

  • Charles 是在您自己的计算机上运行的 Web 代理(HTTP 代理 / HTTP 监视器)。然后,您的网络浏览器(或任何其他 Internet 应用程序)配置为通过 Charles 访问 Internet,Charles 然后可以为您记录并显示发送和接收的所有数据。在 Web 和 Internet 开发中,您无法看到 Web 浏览器/客户端和服务器之间发送和接收的内容。没有这种可见性,确定错误在哪里是困难和耗时的。Charles 很容易看到发生了什么,所以你可以快速诊断和解决问题。

  • Charles is a web proxy (HTTP Proxy / HTTP Monitor) that runs on your own computer. Your web browser (or any other Internet application) is then configured to access the Internet through Charles, and Charles is then able to record and display for you all of the data that is sent and received.

2、功能特色

  • SSL proxying: view SSL requests and responses in plain text
  • Bandwidth throttling to simulate slower Internet connections including latency
  • AJAX debugging : view XML and JSON requests and responses as a tree or as text
  • AMF: view the contents of Flash Remoting / Flex Remoting messages as a tree
  • Repeat requests to test back-end changes
  • Edit requests to test different inputs
  • Breakpoints to intercept and edit requests or responses
  • Validate recorded HTML, CSS, and RSS/atom responses using the W3C validator

3、资源列表

软件平台 下载链接 提取密码 版本 系统要求 软件语言 是否*****版 来源
macOS Charles for Mac anbs v4.2.7 10.8 及以上 英文 互联网
macOS Charles for Mac 8aug v4.2.5 英文 互联网
macOS Charles for Mac yfwv v4.2.1 英文 互联网
macOS Charles for Mac u1pz v4.0.2 英文 互联网
macOS Charles for Mac oysb v4.0.1 英文 互联网
macOS Charles for Mac 33tv v3.9.1 英文 互联网

4、软件安装

macOS 系统:

    • 1)先在系统 “安全性与隐私” 设置里打开允许从 “任何来源” 安装下载的应用。如果不存在 “任何来源” 选项,请参照文章 Mac 安装任何来源的文件 解决。

    • 2)下载上边资源列表中列出的某个版本的软件。

    • 3)下载完成后打开软件包,按照软件安装包中 “ Read Me ” -> “ 安装说明 ” 文件中的说明安装软件。

    • 4)安装完成后建议不要更新**的软件,如果不小心更新了导致**失败,请卸载软件,重启机器,再重新安装**。

    • 5)对于软件的使用方法及遇到的各种问题,本站不具有解释的职责,如有需要,请 参考相关文章查询解决方法,自行解决。

5、预览截图

Charles(HTTP 监视器和网络抓包工具)