scapy

Packet generator/sniffer and network scanner/discovery (Python 2)

Install

All systems
curl cmd.cat/scapy.sh
Debian Debian
apt-get install python-scapy
Ubuntu
apt-get install python-scapy
Alpine
apk add scapy
Arch Arch Linux
pacman -S scapy
image/svg+xml Kali Linux
apt-get install python-scapy
Fedora
dnf install scapy
Windows (WSL2)
sudo apt-get update sudo apt-get install python-scapy
Raspbian
apt-get install python-scapy
Docker
docker run cmd.cat/scapy scapy powered by Commando

python-scapy

Packet generator/sniffer and network scanner/discovery (Python 2)

Scapy is a powerful interactive packet manipulation tool, packet generator, network scanner, network discovery, packet sniffer, etc. It can for the moment replace hping, 85% of nmap, arpspoof, arp-sk, arping, tcpdump, tethereal, p0f, .... In scapy you define a set of packets, then it sends them, receives answers, matches requests with answers and returns a list of packet couples (request, answer) and a list of unmatched packets. This has the big advantage over tools like nmap or hping that an answer is not reduced to (open/closed/filtered), but is the whole packet. This package contains the Python 2 version of the library and scapy executable.

python3-scapy

Packet generator/sniffer and network scanner/discovery (Python 3)

Scapy is a powerful interactive packet manipulation tool, packet generator, network scanner, network discovery, packet sniffer, etc. It can for the moment replace hping, 85% of nmap, arpspoof, arp-sk, arping, tcpdump, tethereal, p0f, .... In scapy you define a set of packets, then it sends them, receives answers, matches requests with answers and returns a list of packet couples (request, answer) and a list of unmatched packets. This has the big advantage over tools like nmap or hping that an answer is not reduced to (open/closed/filtered), but is the whole packet. This package contains the Python 3 version of the library and scapy executable.

scapy

Powerful interactive packet manipulation program written in Python (tools)