Mac HTTP and HTTPS grab packets

Source: Internet
Author: User

HTTP Packet capture process

1. Download the agent software on Mac computer, Charlse or fiddler can;

Download method: http://www.charlesproxy.com/ can download to the latest version


2. View the IP address of your Mac computer

To view the method:

Computer top left Apple Icon-System Preferences-network-select wifi--click on the lower right "advanced"-Select "TCP/IP" to view the corresponding display content IPV4 address, this address is the computer's IP address, copy this address;

3. Bind the computer IP on the phone

Binding method:

    • Open iphone--Settings-Wireless LAN, open Network settings, locate the HTTP proxy below, select "Manual";

    • The MAC computer IP address of the 2nd step is filled in the " Server " column;

    • "Port" is filled with 8888;


4. Open the agent software installed in the 1th step, under normal circumstances, the data request on the mobile phone, the agent software will display the corresponding access request data, it proves that your phone is connected to your computer network;

5. After the above steps, modify the hosts address on the Mac computer, the corresponding request on the iphone hosts will be modified accordingly, to achieve the purpose of mobile phone access test environment;

HTTPS Grab Bag

The HTTPS grab takes a few more steps than the HTTP grab, removing the previous 123 steps, and the work that needs to be done is:

1. You need to download the Charles Certificate Http://www.charlesproxy.com/ssl.zip, unzip it into an iOS device, or open it directly on your iOS device for download and installation.


2.  proxy Settings ... SSL tab enable SSL proxying ,
This step is different from Fiddler, fiddler install the certificate can catch https URL of the package, Charles is troublesome some, need to be in the SSL tab of the previous step locations form fill in to grab the packet domain name and port, click the Add button, in the Popup form host Domain name


3. After the above operation, can grasp the data of HTTPS;



Mac HTTP and HTTPS grab packets

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.