Conversion of PCAP file to CSV file

How to capture the network stream and convert it to model interpretable form?

pcapinsight
PCAP: Is this readable?

Do You Know?

What is a PCAP file?

Tools required:

  • Linux OS
  • Dumpcap command-line utility
  • Wireshark
  • Flowmeter

First, we will download and install the required tools to achieve this task.

Download Linux distribution from here.
Download Wireshark from here.
Once Wireshark is installed, you can use dumpcap from the terminal or in scripts.
To install and run Flowmeter, revise the following steps:
* Fork this github repo:
  https://github.com/maliksh7/CapCSV-meter
* After that follow the instruction in Readme file:
  https://github.com/maliksh7/CapCSV-meter/blob/main/README.md

I hope after doing these above steps you are able to convert, let’s just say

capture.pcap to capture.csv

Thoughful:

You can write a script to automate this pcap to csv flow.

I hope you found this post helpful, for more details regarding this topic, check my Github repo.

I you liked this post, give it a thumb up and lemme know in the comments if you had a query regarding it.

One thought on “Conversion of PCAP file to CSV file

Leave a comment