Last active
December 15, 2020 15:24
-
-
Save leveled/39a9b19ce2d83852875fcc7a588d3025 to your computer and use it in GitHub Desktop.
tcpdump cheatsheet
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
##Basic Structure is | |
#[timestamp] [network protocol] [source IP].[source port] > [dest IP].[dest port] | |
tcpdump -n -r icmp.pcap 'icmp[icmptype] = icmp-echoreply' and dst host 192.168.2.127 | |
# Number of packets | |
tcpdump -nn -r capture.pcap | wc - l | |
# Capture incoming DNS Traffic | |
tcpdump -l -n -i pub dst port 53 and inbound |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment