Scapy and Python Part 1 (HD) - Install, Run, Sniff

Опубликовано: 25 Ноябрь 2020
на канале: danscourses
62,105
790

Part 1 of a short tutorial series on using Scapy and Python. This video covers installing, running and sniffing traffic using the Scapy interactive shell. Scapy is installed and run on a Linux Mint virtual machine.

Scapy Part 2 - Reading PCAPs:    • Scapy and Python Part 2 - Reading PCAPs  
Scapy Part 3 - Crafting Packets:    • Scapy and Python Part 3 - Crafting Customi...  

install
sudo apt-get update
sudo apt-get install python3-pip
sudo python3 -m pip install --pre scapy[complete]

#sniff
sniff(count=4)
a = _
a.summary()
sniff(count=4, prn=lambda x: x.summary())
sniff(iface="enp0s3", prn=lambda x: x.summary())
sniff(count=1, iface="enp0s3", prn=lambda x: x.show())