provocativo_
back to the arsenal
// arsenal·Network AnalysisAdvancedFOSS

Scapy

Python packet manipulation library — craft, send, sniff, dissect arbitrary packets.

Network Analysis

$ scapy --help

Scapy

// what it is

Description

Philippe Biondi's interactive packet manipulation library. Build any packet from scratch by stacking layers (`IP()/TCP()/Raw('...')`), send it, capture replies. Used by researchers, fuzzers, and protocol-implementation testers.

// use cases

What people use it for

  • Protocol fuzzing
  • Custom traffic generation
  • Network research

// commands

The commands you'll type

REPL

$ scapy

Hand-crafted SYN

$ send(IP(dst='target.tld')/TCP(dport=80,flags='S'))

// facts

category
Network Analysis
platforms
LIN · WIN · MAC
license
FOSS
difficulty
Advanced

// related in Network Analysis