dekela
unread,Apr 28, 2011, 7:52:13 AM4/28/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pcap2har
Andrew,
I am using tcpdump to capture and my capture is "Linux Cooked" Capture
because of the data type.
Seems like it causes an issue with dpkt?
root@dekel:# ./main.py dekel.pcap dekel.har
Traceback (most recent call last):
File "./main.py", line 44, in <module>
pcap.ParsePcap(dispatcher, filename=inputfile)
File "/var/www/pcap2har/pcap.py", line 51, in ParsePcap
eth = dpkt.sll.SLL(pkt[1])
NameError: global name 'pkt' is not defined
I can send you a capture as an example,
Thanks
Dekel