I am trying to apply a machine-learning classifier to a dataset. But the dataset is in the .pcap file extension. How can I apply classifiers to this dataset?
Is there any process to convert the dataset into .csv format?
There are 2 options ,first one is using tshark to Convert .pcap to .csv and the second one is Using Python Libraries (Scapy/Pyshark).Once you have the .csv file then u can apply the ML classifiers....
Léo Soheily Khah Thank you very much for the information.
From the wireshark I can get some common features like Time, Source, Destination, Protocol, and Length. Can you please help to get the all existing features in the .pcap files? How can I ensure the number of features are available in the .pcap files to .csv files?