Created
August 3, 2017 20:47
-
-
Save aeppert/0721c470a812d5de10acc87364c13c92 to your computer and use it in GitHub Desktop.
Generate PCAP protocol statistics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| for i in `find . -type f -name "$1"` | |
| do | |
| mv $i $i.pcap | |
| tshark -r $i.pcap -q -z io,phs > $i-summary.txt | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment