Recently because of many problems of the app, the reason is related to the network, so the study of the iOS capture package method, share to everyone, interested classmates, you can try.
Prerequisites: Machine to crack, Cydia can open
Need tools
1.openssh
2.tcpdump
3. (not required) apt, install apt 0.6 transitional
Installation Tool Method:
1. Connect to the network and open Cydia
2. Confirm that the Cydia is set to developer mode (Manager, Setup, developer), search for openssh,tcpdump and install on Cydia
Connection method:
1. Find a computer with the iphone connected to the same WiFi, the PC can ping through the iphone
2. Enter SSH in the command line interface of the PC [email protected]
3. Prompt for SSH connection, enter Yes
4. Enter the password Alpine
5. Normal Display login iphone successful command line preceded by "iphone phone name"
6. Input tcpdump, normal can see a lot of package information display
7.ctrl+c Stop grasping the bag
Introduction to 8.tcpdump with reference
a.tcpdump-x-s0-w/tmp.cap//Grab all-inclusive write file
b.tcpdump-x-S0 host www.qq.com//host All inclusive
c.tcpdump-x-s0 Port 14000//Catch ports All inclusived. Can be combined with the above parameters to grasp the packageE.
WiFi下抓包tcpdump -i en0 -X -s0 -wdata.pcap
f.2G/3G下抓包tcpdump -i pdp_ip0 -X -s0 -w data.pcap或tcpdump-X -s0 -w data.pcap
9. Open the file with Wireshark or ethereal on the PC and analyze the message.