Mac under Android/ios HTTPS grab bag

Source: Internet
Author: User

I. Introduction to Charles

Charles, developed in Java, so that cross-platform, not only can be used on Mac, Linux and Windows can be used, of course, the need to install JDK, to run, but currently charged.

Two. Download

Official website: https://www.charlesproxy.com/download/
Corresponding Mac version, Linux version and window version

Download to installation I'm not going to nag!

I downloaded the current version: 4.0. Version 2 (March 3, 2017)

By default, the agent that connects your Mac

Three. Cracking

Since Charles is charged, we need to hack it and can search directly on the Web: Charles4.0.2 cracked jar file.

I've already downloaded it here.

Hack file: http://download.csdn.net/detail/u014005316/9769617

Replace the Charles.jar directly and reopen Charles, and you won't be prompted for a 30-day trial.

Since we are mainly doing app development, we need to crawl the app's package on the mobile device

Four. HTTP Grab Packet
    • Open the Charles Program.
    • Check the IP address of your Mac, System Preferences--network can be viewed, such as my IP address is: 192.168.0.110
    • Turn on the WiFi connection on your phone

Change proxy settings to manual, enter host name: 192.168.0.110 (IP address of my Mac), Port: 8888

Open Charles, click Proxy, select Proxy Settings, enter the port number: 8888

OK, you can get the HTTP grab bag!

This is the app for an HTTP request on my phone

Five. HTTPS Grab Bag

HTTPS grab packet Relatively speaking, a little bit of trouble

1. Install the certificate for Mac

Open Certificate, trust certificate

2. Install the certificate for the mobile phone

Open Charles.

In menu select Help > SSL proxying > Install Charles Root Certificate on a Mobile Device or Remote Browser

After clicking, the popup dialog box

Enter: Chls.pro/ssl on your mobile browser (may not be the same as the popup dialog)

Enter a name for the certificate and click OK!

3. Turn on the SSL proxy function

In the menu select Proxy->ssl proxying Setting, select Enable SSL proxying, add the site to use the SSL proxy in locations, if you need to match all HTTPS sites, enter the * number. HTTPS packets can now be intercepted.

Click OK

OK, you can make HTTPS grab bag! I grabbed the bag with the Nuggets app as an example.

Mac under Android/ios HTTPS grab bag

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.