Skip to content

Instantly share code, notes, and snippets.

@alivx
Created November 11, 2021 20:45
Show Gist options
  • Save alivx/1024c4cc6deb350ba15eb31ffadf88df to your computer and use it in GitHub Desktop.
Save alivx/1024c4cc6deb350ba15eb31ffadf88df to your computer and use it in GitHub Desktop.
Get network traffic data
tshark -2 -r /tmp/network.pcap -R "tcp.port==45442" -o "gui.column.format:\"Time\",\"%Yt\",\"No.\",\"%m\",\"Time\",\"%t\",\"Source\",\"%s\",\"Destination\",\"%d\",\"Protocol\",\"%p\",\"Length\",\"%L\",\"Info\",\"%i\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment