Ask Your Question
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?

asked 2020-04-05 06:58:11 +0000

bhavani gravatar image

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??

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2020-04-05 13:43:42 +0000

Chuckc gravatar image

That seems like a good task for tshark

Using Wiresharks tshark to Create a CSV File

edit flag offensive delete link more
0

answered 2020-04-05 07:13:04 +0000

Jaap gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2020-04-05 06:58:11 +0000

Seen: 310 times

Last updated: Apr 05 '20