Skip to content
EntityQ2645567· pop 11· linked from 7 articles

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

Key facts

Software.name
Scapy
Software.logo
File:Scapy_logo.png
Software.screenshot
Scapy-2.4.3.png
Software.author
Philippe Biondi
Software.developer
Gabriel Potter (Lead), Dr. Nils Weiss, Guillaume Valadon, Pierre Lalet
Software.latest release version
2.7.0
Software.operating system
Cross-platform.See Scapy packaging
Software.programming language
Python
Software.genre
Packet generatorPacket analyzer
Software.license
GPLv2

via Wikipedia infobox

Source code

It can easily handle most classical tasks like scanning, tracerouting, probing, unit tests, attacks or network discovery (it can replace hping , 85% of nmap , arpspoof , arp-sk , arping , tcpdump , wireshark , p0f , etc.). It also performs very well at a lot of other specific tasks that most other tools can't handle, like sending invalid frames, injecting your own 802.11 frames, combining techniques (VLAN hopping+ARP cache poisoning, VoIP decoding on WEP protected channel, ...), etc. Scapy supports Python 3.7+. It's intended to be cross platform, and runs on many different platforms (Linux, OSX, BSD, and Windows). Scapy can easily be used as an interactive shell to interact with the network. The following example shows how to send an ICMP Echo Request message to github.com , then display the reply source IP address: Scapy works without any external Python modules on Linux and BSD like operating systems. On Windows, you need to install some mandatory dependencies as described in the documentation. To benefit from all Scapy features, such as plotting, you might want to install Python modules, such as matplotlib or cryptography . See the documentation and follow the instructions to install them. Scapy's code, tests and tools are licensed under GPL v2. The documentation (everything unless marked otherwise in doc/ , and except the logo) is licensed under CC BY-NC-SA 2.5. Want to contribute? Great! Please take a few minutes to read this!

Excerpt from the source-code README · 4,806 chars · not written by Vinony

Wikidata facts

Official website
scapy.net
Image
Scapy-2.4.3.png
Show 4 more facts
software version identifier
2.7.0
source code repository URL
github.com/secdev/scapy
Commons category
Scapy
Sources (6)

via Wikidata · CC0

~1 min read

Article

2 sections
Contents
  • References
  • External links

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

Available in 10 languages

via Wikidata sitelinks · CC0

Connections

Categories