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