Skip to content

Instantly share code, notes, and snippets.

@granolocks
Created March 13, 2012 13:18
Show Gist options
  • Save granolocks/2028696 to your computer and use it in GitHub Desktop.
Save granolocks/2028696 to your computer and use it in GitHub Desktop.
Use Tshark and Grep to Inspect for a custom Header Key
# Use tshark to grep custom header key value (HEADER_KEY) out of responses from a local rails server
tshark -i eth0 -d tcp.port==3000,http tcp port 3000 -V -R "http.response" | grep HEADER_KEY -B 10 -A 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment