Created
March 13, 2012 13:18
-
-
Save granolocks/2028696 to your computer and use it in GitHub Desktop.
Use Tshark and Grep to Inspect for a custom Header Key
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
# 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