[英]Extraction of UDP data stream from pcap file
how can i get udp data stream (in ascii format) of all packets captured in pcap file into a text file using tshark. 我如何使用tshark将pcap文件中捕获的所有数据包的udp数据流(ascii格式)转换为文本文件。 I tried this
我试过这个
tshark -V -r /tmp/file_src.pcap > file_dst.txt
but how can i get only udp data stream? 但是我怎样才能只获得udp数据流?
Thanks 谢谢
您可以使用tshark的-Y标志来指定过滤器
tshark -V -r /tmp/file_src.pcap -Y udp > file_dst.txt
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.