Created
July 30, 2018 22:22
-
-
Save WJDigby/107f9330ad120ba4044c69e951cc953a to your computer and use it in GitHub Desktop.
Extract IP addresses from a packet capture
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
tcpdump -r <filename>.pcap 'ip' -n | grep -E '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' -o | sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment