Last active
November 28, 2017 20:50
-
-
Save oniksfly/f9595a62f778c57b43e0523cb86136a2 to your computer and use it in GitHub Desktop.
Get TCP dump for iOS device
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Attach iOS device to Mac and create virtual network | |
# Use real iOS UUID instead placeholder | |
# It is possible to get UUID with iTunes: just click on `Serial number` field | |
rvictl -s UUID | |
# Returns `Starting device UUID [SUCCEEDED] with interface rviX` | |
# Start dumping traffic | |
# Use real name of virtual network instead `rviX` | |
# To stop use `ctrl + C` | |
sudo tcpdump -i rviX -w ~/ios.pcap | |
# Remove virtual network | |
rvictl -x UUID | |
# Open dump with Wireshark | |
wireshark ~/ios.pcap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment