First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

I want to upload the pcap file through php Web-Form application, after that i want to process that file and convert that file into csv?

there any way to convert pcap file through a c code instead of opening pcap file in Wireshark and converting it into csv or converting through command line....??? So here the thing, i want to upload the file through PHP Web-Form application, after that i want to process that file and convert that file into csv??

bhavani's avatar
1
bhavani
asked 2020-04-05 06:58:11 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

That seems like a good task for tshark

Using Wiresharks tshark to Create a CSV File

Chuckc's avatar
3k
Chuckc
answered 2020-04-05 13:43:42 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

The only way to do this is to link the dissection engine directly into your program and handle the capture file processing yourself. This would require you to use internal interfaces which are not documented, nor supported, nor constant. Also this means that the GPL will apply to your code, since the Wireshark code is covered by that. So although theoretically possible, you are on your own, as this is not supported use of Wireshark code.

Jaap's avatar
13.7k
Jaap
answered 2020-04-05 07:13:04 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer