Mac installation Charles packet capture tool and usage tutorial (what, when will not capture the packet)

Mac installation Charles capture tool and tutorial

1. Comparison of packet capture tools

These five tools are relatively commonly used packet capture tools, and which one is more suitable for you needs to be decided according to your specific needs and usage habits. Here are their respective pros and cons:

  1. Charles: It has powerful functions, friendly interface, and supports multiple platforms, but the fee is relatively high.
  2. Wireshark: Full-featured, supports multiple protocols and filters, open source and free, but requires a certain technical level to use.
  3. Fiddler: Powerful, easy to use, supports custom scripts and plug-ins, but only supports the Windows platform.
  4. Proxyman: An emerging tool with good functions and multi-platform support, but relatively new compared to other tools, there may be some instability and compatibility issues.
  5. mitmproxy: Lightweight tool with good functions, supports custom scripts and plug-ins, open source and free, but requires a certain technical level to use.

On the whole, Charles and Fiddler are relatively mature and widely used tools, while Wireshark and mitmproxy are more suitable for users with a certain technical level. Although Proxyman is an emerging tool, it has good functions and can be used as an alternative.

2. Install Charles

  1. Install click me to jump to download Charles

Three, web page capture

  1. open tool
    insert image description here
  2. We only need to open our own proxy to capture packets
    insert image description here
  3. tick this line
    insert image description here
  4. Then we open Baidu Test
    insert image description here
    insert image description here

Guess you like

Origin blog.csdn.net/A_yonga/article/details/130322735