# # Forked from http://gist.github.com/90062 # # Drop this into ~/.bash_profile: # Usage: httpdump # Example: httpdump en0 # function httpdump() { sudo tcpdump -i $1 -n -s 0 -w - | grep -a -o -E "Host\: .*|GET \/.*|POST \/.*";} # All the above tested only on OS X.