Scapy Explained

Scapy
Author:Philippe Biondi
Developer:Philippe Biondi, Guillaume Valadon, Pierre Lalet, Gabriel Potter, Dr. Nils Weiss[1]
Latest Release Version:2.5.0
Latest Release Date:[2]
Latest Preview Version:2.6.0rc1
Latest Preview Date:[3]
Operating System:Cross-platform.
See Scapy packaging
Programming Language:Python
Genre:Packet generator
Packet analyzer
License:GPLv2

Scapy is a packet manipulation tool for computer networks,[4] [5] originally written in Python by Philippe Biondi. It can forge or decode packets, send them on the wire, capture them, and match requests and replies. It can also handle tasks like scanning, tracerouting, probing, unit tests, attacks, and network discovery.

Scapy provides a Python interface into libpcap or native raw sockets, in a similar way to that in which Wireshark provides a view and capture GUI. It differs by supporting packet injection, custom packet formats and scripting. While it is a command-line only tool, it can still interface with a number of other programs to provide visualisation including Wireshark, GnuPlot for providing graphs, graphviz or VPython for interactive displaying, etc.

Starting with 2.4.0, Scapy supports Python 2.7 and 3.4+. It must not be confused with "scapy3k" (now renamed Kamene), which is an outdated independent and unmaintained fork.

Notes and References

  1. Web site: Credits. Read the Docs. Scapy Project. 11 January 2019.
  2. Web site: Releases - secdev/scapy. GitHub. 2 April 2021.
  3. Web site: Release v2.6.0rc1 - secdev/scapy. GitHub. 29 April 2024.
  4. Book: Gift. Noah. Jones. Jeremy M.. Python for Unix and Linux System Administration. O'Reilly Media. 2008. 173–176. 978-0-596-51582-9.
  5. Book: Dwivedi. Himanshu. Clark. Chris. Thiel. David. Mobile Application Security. McGraw-Hill. 2010. 384. 978-0-07-163356-7.