Skip to content

Instantly share code, notes, and snippets.

@tyndyll
Created June 26, 2018 16:46
Show Gist options
  • Save tyndyll/de376854f9f64b5a8f9662973426fcfd to your computer and use it in GitHub Desktop.
Save tyndyll/de376854f9f64b5a8f9662973426fcfd to your computer and use it in GitHub Desktop.
#/bin/bash
#
# https://twitter.com/samykamkar/status/1011166802880020482
# Sniff network traffic from your iOS device, no jailbreak necessary! Just plug into your mac and run:
system_profiler SPUSBDataType|perl -0 -ne'/iP(?:hone|ad):.*?Serial Number: (\S+)/s?`rvictl -s $1`:0' ; sudo tcpdump -i rvi0 # standard tcpdump options/filters apply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment