Tshark - Export packet info from pcap to cvs
问题 I am trying to programmatically capture a stream of packets by using Tshark . The simplified terminal command I am using is: tshark -i 2 -w output.pcap This is pretty straightforward, but I then need to get a .csv file in order to easily analyze the information captured. By opening the .pcap file in Wireshark and exporting it in .csv what I get is a file structured as follows: "No.","Time","Source","Destination","Protocol","Length","Info" but,again, I need to do this in an automatic way. So I