iOS mobile data capture Rvictl

Source: Internet
Author: User

The main way of the mobile device grasping package

First, set up a network share on the PC, generate Wi-Fi hotspot for mobile device use, and then use Tcpdump, Wireshark and other capture analysis on PC;
Second, on the PC to open the HTTP Proxy tool server (such as Charles, Fiddler), mobile devices and then through the HTTP proxy internet (only to catch Http/https);
Iii. using pipeline tools to bring traffic on iOS to your PC (jailbreak required)

Rvictl Grab Bag

After IOS5, Apple introduces the RVI remote virtual Interface feature, just connect your iOS device to your Mac using a USB cable, and then use the Rvictl tool to suggest a virtual network interface in your Mac with the udid of your iOS device RVi , you can use Tcpdump, Wireshark and other tools on your Mac to create an interface for packet capture analysis. This way of capturing is to capture the network traffic on the iOS device directly, so Wi-Fi, 2g/3g, non-HTTP/HTTPS and other networks can be captured.

Here's how:
First step: Connect your iOS device to your Mac using a USB cable;
The second step: Get the iOS device Ucid, you can directly use the Itunes/xcode Organizer tool to view;
Step three: Create the RVi interface:
Rvictl-s
View Create virtual interfaces:
Rvictl-l
Once created, you can use the following command to see if the virtual interface was created successfully:
Ifconfig rvi0
Fourth step: The Mac uses Tcpdump/wireshark and so on to create the virtual interface to grab packets;
Fifth step: After the analysis is complete, remove the RVi interface created:
Rvictl-x

Note: Android devices require root, and tcpdump can be used for non-wi-Fi capture.

Appendix:
Rvictl usage:
~ RVICTL

Rvictl [-h][-l][-s ... ][-x ... ]

Remote Virtual Interface Tool starts and stops a remote packet capture instance
For any set of attached mobile devices. It can also provide feedback on any attached
Devices that is currently relaying packets back to the this host.

Options:
-L,-l List currently active devices
-S,-s Start a device or set of devices
-X,-X Stop a device or set of devices

iOS mobile data capture Rvictl

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.