In Part, we create a pcap file and load it into Scapy with the rdpcap() function. Once loaded into Scapy you can examine the pcap with Scapy's built in commands/functions.
Scapy Part 1 - Install, Run, Sniff: • Scapy and Python Part 1 (HD) - Instal...
Scapy Part 3 - Crafting Packets: • Scapy and Python Part 3 - Crafting Cu...
#read pcaps
scapy
p = rdpcap("example.pcap")
p
len(p)
pkt = p[1000]
pkt
type(pkt)
dir(pkt)
lsc()
hexdump(pkt)
ls(pkt)
pkt.summary()
pkt.show()
On this page of the site you can watch the video online Scapy and Python Part 2 - Reading PCAPs with a duration of hours minute second in good quality, which was uploaded by the user danscourses 26 November 2020, share the link with friends and acquaintances, this video has already been watched 36,554 times on youtube and it was liked by 465 viewers. Enjoy your viewing!