From Wikipedia, the free encyclopedia
Jump to: navigation, search
Original author(s) Philippe Biondi
Developer(s) Philippe Biondi, Guillaume Valadon, Pierre Lalet
Stable release 2.3.2 / 15 January 2016; 6 months ago (2016-01-15)
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.

Scapy works only with python 2.x. There is a port for python 3 at


  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]