Skip to content

Need to check file format  #29

@abdesslem

Description

@abdesslem

python captcp.py statistic file.txt

captcp 2010-2013 Hagen Paul Pfeifer and others (c)

http://research.protocollabs.com/captcp/

Traceback (most recent call last):
File "captcp.py", line 5301, in
sys.exit(captcp.run())
File "captcp.py", line 5269, in run
pcap_parser = PcapParser(self.pcap_file_path, self.pcap_filter)
File "captcp.py", line 534, in init
self.pc = dpkt.pcap.Reader(self.pcap_file)
File "/usr/lib/pymodules/python2.7/dpkt/pcap.py", line 97, in init
self.fh = FileHdr(buf)
File "/usr/lib/pymodules/python2.7/dpkt/dpkt.py", line 75, in __init

raise NeedData
dpkt.dpkt.NeedData

It can be checked with "FileHdr" class in the dpkt module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions