Exporting binary sequence from packets

asked 2019-12-13 07:05:34 +0000

I have some pcap and pcapng files and I want to have the data of its packets in a binary sequence, like 01010110 I want to have a text file for each pcap that is 0 and 1. I read about libpcap and other stuff but I don't know how to write a script for doing this. So is there any other ways to achieve this or any links explaining about writing script or code in C or Python for it?

edit retag flag offensive close merge delete