Crawl Web data from apps on iphone

Source: Internet
Author: User

This section mainly records the problems I encountered when using blue-and-white porcelain (Charles) to connect the Mac to my mobile phone, mainly the blue and white porcelain software settings.

Because of Apple's mandatory requirements for app data security, many of the apps on the market now use HTTPS on their interfaces. So now simply take the blue and white porcelain to directly grasp the mobile phone app data is obviously not feasible. If you want to intercept intact HTTPS data, you need the following steps:

First, install Charles's certificate on Mac: Open Charles,help->ssl proxying->install Charles Root Certifacate, the keychain is automatically opened and prompted to add.

650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M02/8F/67/wKioL1jdDsWh5QfmAADaZ8Lh65A502.jpg "title=" Day5-1.jpg "alt=" Wkiol1jddswh5qfmaadaz8lh65a502.jpg "/>

Second, configure SSL access: Mac side, in Charles left upper menu bar, Proxy->ssl proxying setting-> Click add-> in the Popup dialog box to set the host and port number, if set to: * * for Ministry Access

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/8F/67/wKioL1jdD6GQLu1mAADAbsuMABo208.jpg "title=" Day5-2.jpg "alt=" Wkiol1jdd6gqlu1maadabsumabo208.jpg "/>

Third, after the above two steps can achieve the Mac side of the data crawl, want to crawl the iphone data, but also on the phone side of the configuration of Charles's certificate and manually set up the agent (and Mac side need to connect to the same WiFi). help->ssl proxying-> Select Install Charles Root certifacate on a Mobile Device or Remote Browser, you will be prompted

650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/8F/69/wKiom1jdEhmgrfgvAACB9D8FlBw632.jpg "title=" Day5-3.jpg "alt=" Wkiom1jdehmgrfgvaacb9d8flbw632.jpg "/> Set up Agent and certificate installation on mobile phone side

650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M00/8F/67/wKioL1jdE7TjaUqaAAFrCeD8dRk741.jpg "style=" float : none; "title=" day5-4.jpg "alt=" Wkiol1jde7tjauqaaafrced8drk741.jpg "/>

650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M00/8F/67/wKioL1jdE7WhNwYqAADtBo2ivT0911.jpg "style=" float : none; "title=" day5-5.jpg "alt=" Wkiol1jde7whnwyqaadtbo2ivt0911.jpg "/>

The URL that was successfully intercepted is then mended.

Crawl Web data from apps on iphone

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.