dbgrandi (owner)

Fork Of

Revisions

gist: 90074 Download_button fork
public
Public Clone URL: git://gist.github.com/90074.git
Embed All Files: show embed
httpdump #
1
2
3
4
5
6
7
8
9
10
#
# Forked from http://gist.github.com/90062
#
# Drop this into ~/.bash_profile:
# Usage: httpdump <interface>
# 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.