/[maps]/google-tshark.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /google-tshark.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8 by dpavlin, Tue Oct 16 08:44:33 2007 UTC revision 34 by dpavlin, Mon Sep 29 13:42:27 2008 UTC
# Line 1  Line 1 
1    
2  file=$$.pcap  file=$$.pcap
3  echo "creating $file"  if=eth0
4  sudo tshark -w /tmp/$file -i ath0 host 209.85.137.91  echo "creating $file from $if"
5    sudo tshark -w /tmp/$file -i $if 'port 80'
6  sudo mv /tmp/$file google-$file  sudo mv /tmp/$file google-$file
7  sudo chown $UID google-$file  sudo chown $UID google-$file
8  ls -al google-$file  ls -al google-$file

Legend:
Removed from v.8  
changed lines
  Added in v.34

  ViewVC Help
Powered by ViewVC 1.1.26