I am trying to analyze packets from an existing capture using python scapy module. Basically, I input a pcap file and it should list me the TimeStamp, SRCIP, DSTIP, Protocol (tcp/udp), SRCPort,DSTPort, and list of TCP Options if possible.
I tried a basic scapy script to load a pcap and try to print using pkt.conversations() but I get the following error.
>>>pkts = rdpcap('testn.pcap')
>>> pkts.conversations()
>>> /bin/sh: dot: command not found
/bin/sh: display: command not found
Any suggestions?