Created
March 14, 2014 07:07
-
-
Save jonahgeorge/9543263 to your computer and use it in GitHub Desktop.
Tcpdump Examples
This file contains 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
# Captures one packet and writes it to output.pcap | |
sudo tcpdump -I -P -i en0 -w output.pcap -c 1 | |
# Converts output.pcap to a more human-friendly format | |
tshark -r output.pcap -V |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment