Skip to content

Instantly share code, notes, and snippets.

@mintsoft
Created June 24, 2013 15:13
Show Gist options
  • Save mintsoft/5850784 to your computer and use it in GitHub Desktop.
Save mintsoft/5850784 to your computer and use it in GitHub Desktop.
Capture HTTP Traffic on a linux box from the kernel
#!/bin/bash
sudo tcpdump -i eth1 -c 100000 -w $(date '+%F_%H-%M-%S').pcap 'tcp port 80'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment