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 8 more facts
programmed in
Python
software version identifier
2.7.0
source code repository URL
github.com/secdev/scapy
software quality assurance
continuous integration
operating system
cross-platform
Commons category
Scapy
Sources (6)

via Wikidata · CC0

Article · 中文

Scapy是一种用于计算机网络的数据包处理工具,由Philippe Biondi用Python编写。它可以伪造或解码数据包,通过网络发送它们,捕获它们,并匹配请求和响应。它还可以用于处理扫描、跟踪路由、探测、单元测试、攻击和网络发现等任务。 Scapy为libpcap(Windows上是WinPCap/Npcap)提供了一个Python接口,与Wireshark提供视图和捕获GUI的方式类似。它可以与许多其他程序接口来提供可视化,包括用于解码数据包的Wireshark、用于提供图形的GnuPlot、用于可视化的graphviz或VPython等。 Scapy自2018年起开始支持Python 3(Scapy 2.4.0+)。 Kamene(页面存档备份,存于互联网档案馆)是Scapy的一个独立分支。最初,创建它的目的是向Scapy添加Python 3的支持,并将其命名为scapy3k。自2018年更名为Kamene,继续独立发展。

Abstract from DBpedia / Wikipedia · CC BY-SA

Available in 10 languages

via Wikidata sitelinks · CC0