Grab kit on Mac Charles

Source: Internet
Author: User

Take a look today at how to grab a packet on your Mac, before an article about using Fidder to grab a packet

http://blog.csdn.net/jiangwei0910410003/article/details/19806999

But unfortunately, Fidder use C # developed, so it can not be used on the Mac, but there is another grab package artifact, is Charles, it is Java development, so cross-platform, not only can be used on Mac, Linux and window can be used, Of course, the JDK needs to be installed to run, and one problem is that he is charged.


Download

first to its official website http://www.charlesproxy.com/can be downloaded to the latest version, this download is a bit slow, I have put it in the network disk:Http://pan.baidu.com/s/1gdu0S4V

This is 3.9.3 version, download down, install not much said, very easy .... Open the interface:



Crack

But this charge, then start cracking it, in fact, the crack is very simple is to replace a file can be searched online: Charles3.9.3 cracked jar file

I'm here, too. Download good: HTTP://PAN.BAIDU.COM/S/1I3GJEFJ

After downloading it, we can hack it:

Open the application, select Charles, and select Show Package Contents:


Then click Contents->resources->java:


Then replace the Charles.jar we have downloaded with the Charles.jar here. And then open Charles again, it will not be too prompt 30 days to use the deadline, crack fix


Grab Bag
Here's a look at how to grab a bag

First, HTTP Grab
1, open the Charles program
2, Check the IP address of your Mac computer, and the network of System preferences can be viewed, such as my IP address: 192.168.1.7
3, open iOS settings, enter the current WiFi connection (Mac in a LAN), set the HTTP proxy group, fill the server with the IP obtained in the previous step, that is, 192.168.1.7, Port fill 8888:


4. iOS device open the app you want to grab the package for network operation
5, Charles Pop-Up confirmation box, click the Allow button to


Second, HTTPS grab packet

Need to download Charles certificate Http://www.charlesproxy.com/ssl.zip, unzip and import into iOS device, here I also downloaded:

Http://pan.baidu.com/s/1sjJiZYt, we use Safari to open this link on iOS devices:


Click to open:


Click Install:


Click Install Again, The certificate is installed successfully

Switch to the SSL tab, check Enable SSL proxying, do not worry, choose to do not turn off, and next
This step is different from Fiddler, fiddler install the certificate can catch HTTPS URL package, Charles is a bit of trouble, Need to fill in the locations form of the SSL tab in the previous step to grab the domain name and port, click the Add button, in the popup form host fill in the domain name, such as fill api.instagram.com,port fill 443


At this time we open the NetEase app:


You can see the data, and then grab the bag work is done.

Note: When we do not grab the bag, we will turn off Charles, when iOS is not accessible to the network, because the agent (that is, Charles), the need to turn off the agent in iOS, this is a common mistake in the capture package.



Grab kit on Mac Charles

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.