Skip to content

Instantly share code, notes, and snippets.

@shahifaqeer
Last active October 28, 2015 17:04
Show Gist options
  • Save shahifaqeer/6d142e4792351ad14a04 to your computer and use it in GitHub Desktop.
Save shahifaqeer/6d142e4792351ad14a04 to your computer and use it in GitHub Desktop.
sudo tcpdump -i eth0 -xnvv -w - | tee $(date +"%s").pcap | tcpdump -rn -
@shahifaqeer
Copy link
Author

read using -rn as -r would require DNS:IP lookups

@shahifaqeer
Copy link
Author

sudo tcpdump -i eth0 -xnvv -w $(date +"%s").pcap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment