From Wikipedia, the free encyclopedia
Jump to: navigation, search
Developer(s) Philippe Biondi
Stable release 2.2.0 / 28 February 2011; 4 years ago (2011-02-28)
Written in Python
Operating system Cross-platform
Type Packet generator
License Free software (GPLv2+)

Scapy is a packet manipulation tool for computer networks,[1][2] 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, (WinPCap on Windows), in a similar way to that in which Wireshark provides a view and capture GUI. It can interface with a number of other programs to provide visualisation including Wireshark for decoding packets, GnuPlot for providing graphs, graphviz or VPython for visualisation, etc.

Official scapy works only with python 2.x. There is a port for python 3 at , also, available as scapy-python3 from PyPI.


  1. ^ Gift, Noah; Jones, Jeremy M. (2008). Python for Unix and Linux System Administration. O'Reilly Media. pp. 173–176. ISBN 978-0-596-51582-9. 
  2. ^ Dwivedi, Himanshu; Clark, Chris; Thiel, David (2010). Mobile Application Security. McGraw-Hill. p. 384. ISBN 978-0-07-163356-7. 

External links[edit]