Reveal UI analysis tool analyzes mobile APP

Source: Internet
Author: User

The previous article introduced: Reveal UI analysis tool simple to use

This article describes how to use the Reveal UI Analysis tool to analyze the UI of the mobile App.

Prerequisite Preparation:

(1) Mac with Reveal installed

(2) Jailbroken IPhone

(3) A good network environment

Principle:

Recalling that we used Reveal to analyze the IPhone simulator app, we referenced and loaded the Reveal.framework file in Xcode's designated project so that when the app runs, it opens Reveal Select Connect to the current app to make his U I interface Analysis. The key point is to "reference and load the Reveal.framework file in the specified project".

And the mobile app is already deployed to our mobile phone, we can not install the app "foot" so that he can load Reveal related files, then what should we do?

That's a good question, but in the jailbreak iPhone, we found in the IFile App that there's a directory of shared dynamic libraries in IOS, "/library/mobilesubstrate/dynamiclibraries", stored in this directory. Dylib The suffix file can be called on demand by the App. So again, how do you copy Reveal related files from your Mac to this directory on your iPhone?

The answer is: first install the "openssh" in the IPhone via the Cydia App, then in the Mac terminal, the SSH protocol file transfer via the command.

Ps:openssh for WinSCP relies on the Basic Communication Service protocol: OpenSSH is a widely used SSH program, SSH is the abbreviation of Secure Shell, both secure command line, SSH is a kind of protocol that can ensure users telnet to the system, and IOS is actually A custom OS X system based on the BSD underlying Linux kernel, so you can use this protocol to remotely (non-native) login to a device that already has an SSH protocol, which allows you to remotely enter commands on your PC (MAC) to operate your IOS device.

Next, let's start practicing.

Steps:

1. Install OpenSSH on IPhone

    • Open the Cydia on your IPhone

    • Select Search in the lower right corner, enter OpenSSH

    • Select OpenSSH in the search results

    • Click Install in the upper right corner of the screen

2. Test if your MAC can connect to your IPhone

    • Keep your Mac and iPhone in the same WiFi environment

    • Enter SSH [email protected] on the MAC terminal (this IP is the IP on the iphone, such as the IP on my iphone is 192.168.0.101, this time the input command is: SSH [email protected])

    • After waiting for a while, enter the password (no echo operation), the default is Alpine (default password suggestions do not change, but for security reasons, can be modified. See step 3rd for specific actions)

    • Once the connection is successful, you can manage the files on your iPhone.

    • Enter Exit exit (we're just testing to see if we can connect to the IPhone)

3. Change the root and mobile account password of the IPhone (note: The operation needs to be very cautious, make sure to remember the password after the change: for example, I set the password for my easy-to-remember dial-up account)(optional operation)

 1  //  2  ssh [email protected]. 0.101  3   Enter the account password login successful, then enter the following command, and then enter the old password and the new password (no echo), to modify the root account password  4  PASSWD  //  logout login  6  exit 
1 // log in using your mobile account, and consider entering the "su-mobile" command to switch to the mobile account when the root account is logged in 2 ssh [email protected]192.168. 0.101 3 // Enter the account password to login successfully, then enter the following command, and then enter the old password and the new password (no echo), to modify the mobile account password 4 passwd 5 // Log off login 6 Exit

4. Ready to upload files

    • Open Reveal, click Help on the menu bar, select Show Reveal Library in Finder

    • Copy the Libreveal.dylib to the desktop for easy operation

    • Create libreveal.plist on the desktop, enter the Bundleid of the App you want to analyze, can be multiple. such as AppStore (in fact, can not input, this can analyze all the App, but the machine will be slow to you can not imagine, or boot white apple What, suggest or specify Analysis App is better)

1 {      2     Filter = {          3         Bundles = (             4  "com.apple.AppStore"5        );     6      7 }

5. Uploading files to IPhone (MAC terminal operation)

1 // upload libreveal.dylib and libreveal.plist to iphone (192.168.0.101 is the IP on iphone) 2 SCP desktop/libreveal.dylib [email protected]192.168. 0.101:/library/mobilesubstrate/dynamiclibraries3 SCP desktop/libreveal.plist [email Protected]192.168. 0.101:/library/mobilesubstrate/dynamiclibraries

6. Restart IPhone (power off, reboot)

If you have successfully completed the above steps, and the IPhone has been successfully restarted, OK, you can analyze the App below.

    • Open Reveal, open the app you specified on your iPhone, and select app on top left of Reveal

    • After you switch the page, you can click the Refresh button in the top right corner of the Reveal

Reveal UI analysis tool analyzes mobile APP

Related Article

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.