Scapy and Python part 1 - install run sniff

Опубликовано: 25 Ноябрь 2020
на канале: danscourses
10,163
119

Quick 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.

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())