pypcapfilePure Python package for reading and parsing libpcap savefiles | |
Download |
pypcapfile Ranking & Summary
Advertisement
- License:
- ISC License
- Price:
- FREE
- Publisher Name:
- Kyle Isom
- Publisher web site:
- http://kisom.github.com/
pypcapfile Tags
pypcapfile Description
pypcapfile is a pure Python library for handling libpcap savefiles.The core functionality is implemented in pcapfile.savefile:>>> from pcapfile import savefile>>> sf = savefile.load_savefile('test.pcap') attempting to load test.pcap found valid header loaded 11 packets finished loading savefile.>>> print sfbig-endian capture file version 2.4snapshot length: 65535linklayer type: LINKTYPE_ETHERNETnumber of packets: 11>>>You can a look at the packets in sf.packets: >>> pkt = sf.packets >>> p.raw() < binary data snipped > >>> p.timestamp 1343676707L >>>Product's homepage
pypcapfile Related Software