Jump to content

Scapy

From Wikipedia, the free encyclopedia
Scapy
Original author(s)Philippe Biondi[1]
Developer(s)Philippe Biondi, Guillaume Valadon, Pierre Lalet, Gabriel Potter, Dr. Nils Weiss[1]
Stable release
2.6.1 / 5 November 2024; 19 days ago (2024-11-05)[2]
Repository
Written inPython
Operating systemCross-platform.
See Scapy packaging
TypePacket generator
Packet analyzer
LicenseGPLv2
Websitescapy.net Edit this on Wikidata

Scapy is a packet manipulation tool for computer networks,[3][4] 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.

References

[edit]
  1. ^ a b "Credits". Scapy Project. Retrieved 11 January 2019 – via Read the Docs.
  2. ^ "Releases - secdev/scapy". Retrieved 5 November 2024 – via GitHub.
  3. ^ 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.
  4. ^ Dwivedi, Himanshu; Clark, Chris; Thiel, David (2010). Mobile Application Security. McGraw-Hill. p. 384. ISBN 978-0-07-163356-7.
[edit]