Skip to content

Instantly share code, notes, and snippets.

@lloydroc
Created July 30, 2016 20:56
Show Gist options
  • Save lloydroc/4c017b8433bc5c4482e4bd97d3c6be64 to your computer and use it in GitHub Desktop.
Save lloydroc/4c017b8433bc5c4482e4bd97d3c6be64 to your computer and use it in GitHub Desktop.
Sniff iPhone Packets
Connect your iOS device by USB
UDID=<get from xcode>
ADDR=<address of iphone>
rvictl -s $UDID # where UDID is the UDID of your device (located in XCode under Devices, shortcut to with ⇧⌘2)
sudo launchctl list com.apple.rpmuxd
sudo tcpdump -n -t -i rvi0 -q tcp or $ sudo tcpdump -i rvi0 -n
sudo tcpdump 'src $ADDR' -i rvi0 -n -A -w blah.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment