Skip to content

Instantly share code, notes, and snippets.

@rkroll
Created October 29, 2012 17:19
Show Gist options
  • Save rkroll/3974994 to your computer and use it in GitHub Desktop.
Save rkroll/3974994 to your computer and use it in GitHub Desktop.
network grep
// cap all GET|POST traffic
ngrep -q -W byline "^(GET|POST) .*"
// cap all traffic to google on port 80 containing the word search
ngrep -q -W byline "search" host www.google.com and port 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment