如何使用tshark将pcap文件中捕获的所有数据包的udp数据流(以ascii格式)转换为文本文件。我试过这个
tshark -V -r /tmp/file_src.pcap > file_dst.txt
但我怎样才能获得udp数据流?
谢谢
您可以使用tshark的-Y标志来指定过滤器
tshark -V -r /tmp/file_src.pcap -Y udp > file_dst.txt