> For the complete documentation index, see [llms.txt](https://ploegert.gitbook.io/til/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ploegert.gitbook.io/til/general/networking/applications/scappy.md).

# Scappy

<https://packetlife.net/library/cheat-sheets/>

{% embed url="<https://scapy.net/>" %}

## **What is Scapy?**

### Manipulate packets

Scapy is a powerful interactive packet manipulation library written in Python. Scapy is able to forge or decode packets of a wide number of protocols, send them on the wire, capture them, match requests and replies, and much more.

### A REPL and a Library

Scapy can be used as a REPL or as a library. It provides all the tools and documentation to quickly add custom network layers.

### Cross-platform

Scapy runs natively on Linux, macOS, most Unixes, and on Windows with Npcap. It is published under [GPLv2](https://www.gnu.org/licenses/gpl-2.0).\
Starting from version 2.5.0+, it supports Python 3.7+ (and PyPy).

<figure><img src="https://1889614651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYLrtG_g25xt3AUhomb%2Fuploads%2FVtqdYNFXr9PxjumxV8NQ%2Fimage.png?alt=media&amp;token=9787d6cc-714b-4c7a-989d-e56c4baac93b" alt=""><figcaption></figcaption></figure>
