I am currently working with Scapy and encounter the error:
NameError: global name 'Scapy_Exception' is not defined
I have 2 options: To either catch the error and convert the capture file into pcap on the fly using:
tshark -F libpcap -w <outfile> -r <infile>
or have scapy read capture files in other format. Can I know:
How do I catch Scapy_Exception?
How to read capture files in scapy other than the .pcap format?
Which of the above options will be better?
Thanks!