Skip to content

Instantly share code, notes, and snippets.

@rafamdr
Created October 19, 2020 16:18
Show Gist options
  • Save rafamdr/350cd8d7731d0c1e4fbb6978c93387ab to your computer and use it in GitHub Desktop.
Save rafamdr/350cd8d7731d0c1e4fbb6978c93387ab to your computer and use it in GitHub Desktop.
TCPdump cmd to listem different ports on any interface and save data into a file
tcpdump -i any -nn -s0 -v -w ./tcpdump.cap port '(80 or 5201 or 5202 or 5203 or 5204 or 5205 or 5206 or 5207)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment