Ask Your Question

Revision history [back]

Exporting binary sequence from packets

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?