Scapy

term

programmingsecuritynetworking

Kept in this browser · My desk

A Python program and library that sends, sniffs, dissects and forges network packets, building them from layers stacked with the / operator.

Its documentation stresses that Scapy decodes rather than interprets: it reports that a TCP reset arrived, not that a port is closed. Version 2.8.0 was released on 2 October 2026 under GPL-2.0-only. PcapReader reads a capture one packet at a time and wrpcap writes test packets to a file; sending packets needs root and belongs only on networks you own or are authorized to test.

Also known as: scapy.all, Scapy packet library

← Back to S Back to the glossary