Here is a python tool to split pcap into threads and output the extracted functions to a CSV file
Try using threads_to_weka tool in python
This requires a version of scapy installed on your system, and it is better to copy the scapy folder to the weka folder. And copy the wfe.py, tcp_stream.py and entropy.py files to the scapy folder. After you have done this, your current directory should look something like this:
C:\Users\INKAKA\flows_to_weka\scapy
and copy the .pcap file to this folder and try this command:
$python wfe.py -i input.pcap -t csv > output.csv
and you can also get the necessary functions by adding the necessary functions to tcp_stream.py and wfe.py.
For reference, you can visit: https://github.com/fichtner/flows_to_weka
kalyan karumudi
source share