从pcap文件中提取UDP数据流

问题描述 投票:0回答:1

如何使用tshark将pcap文件中捕获的所有数据包的udp数据流(以ascii格式)转换为文本文件。我试过这个

tshark -V -r /tmp/file_src.pcap > file_dst.txt

但我怎样才能获得udp数据流?

谢谢

python udp wireshark tshark
1个回答
0
投票

您可以使用tshark的-Y标志来指定过滤器

tshark -V -r /tmp/file_src.pcap -Y udp > file_dst.txt
© www.soinside.com 2019 - 2024. All rights reserved.