Last active
February 3, 2016 01:20
-
-
Save guanqun/e3a008ca05dc387f43da to your computer and use it in GitHub Desktop.
manipulate pcap with tshark: dump its udp port
This file contains 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
/usr/bin/tshark -r some.cap.gz -T fields -e ip.dst -e udp.port -R "udp" > output.txt | |
/usr/bin/tshark -R ip.addr==1.1.1.1 -r test.pcap -w testout.pcap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment