{"id":13469238,"url":"https://github.com/secdev/scapy","last_synced_at":"2025-05-12T13:03:03.937Z","repository":{"id":37432400,"uuid":"43509302","full_name":"secdev/scapy","owner":"secdev","description":"Scapy: the Python-based interactive packet manipulation program \u0026 library.","archived":false,"fork":false,"pushed_at":"2025-04-23T06:59:54.000Z","size":87801,"stargazers_count":11375,"open_issues_count":132,"forks_count":2095,"subscribers_count":236,"default_branch":"master","last_synced_at":"2025-05-05T03:57:24.698Z","etag":null,"topics":["hacktoberfest","network","network-analysis","network-discovery","network-security","network-visualization","packet-analyser","packet-capture","packet-crafting","packet-sniffer","pcap","python","scapy","security","security-tools"],"latest_commit_sha":null,"homepage":"https://scapy.net","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/secdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["gpotter2","guedou","p-l-","polybassa"]}},"created_at":"2015-10-01T17:06:46.000Z","updated_at":"2025-05-04T22:34:07.000Z","dependencies_parsed_at":"2024-01-27T01:45:10.053Z","dependency_job_id":"db497236-d412-4c6f-bf8c-b0bbf5db08c0","html_url":"https://github.com/secdev/scapy","commit_stats":{"total_commits":4946,"total_committers":459,"mean_commits":"10.775599128540305","dds":0.7731500202183583,"last_synced_commit":"36c074d59e19168fe6e1582fd90a29a8265ac076"},"previous_names":[],"tags_count":533,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secdev%2Fscapy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secdev%2Fscapy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secdev%2Fscapy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secdev%2Fscapy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secdev","download_url":"https://codeload.github.com/secdev/scapy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253745051,"owners_count":21957316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","network","network-analysis","network-discovery","network-security","network-visualization","packet-analyser","packet-capture","packet-crafting","packet-sniffer","pcap","python","scapy","security","security-tools"],"created_at":"2024-07-31T15:01:29.995Z","updated_at":"2025-05-12T13:03:03.866Z","avatar_url":"https://github.com/secdev.png","language":"Python","readme":"\u003c!-- start_ppi_description --\u003e\n\n# \u003cimg src=\"https://github.com/secdev/scapy/raw/master/doc/scapy/graphics/scapy_logo.png\" width=\"64\" valign=\"middle\" alt=\"Scapy\" /\u003e\u0026nbsp;\u0026nbsp; Scapy\n\n[![Scapy unit tests](https://github.com/secdev/scapy/actions/workflows/unittests.yml/badge.svg?branch=master\u0026event=push)](https://github.com/secdev/scapy/actions/workflows/unittests.yml?query=event%3Apush) \u003c!-- ignore_ppi --\u003e\n[![Codecov Status](https://codecov.io/gh/secdev/scapy/branch/master/graph/badge.svg)](https://codecov.io/gh/secdev/scapy) \u003c!-- ignore_ppi --\u003e\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/30ee6772bb264a689a2604f5cdb0437b)](https://app.codacy.com/gh/secdev/scapy/dashboard) \u003c!-- ignore_ppi --\u003e\n[![PyPI Version](https://img.shields.io/pypi/v/scapy.svg)](https://pypi.python.org/pypi/scapy/)\n[![License: GPL v2](https://img.shields.io/badge/License-GPL%20v2-blue.svg)](LICENSE)\n[![Join the chat at https://gitter.im/secdev/scapy](https://badges.gitter.im/secdev/scapy.svg)](https://gitter.im/secdev/scapy) \u003c!-- ignore_ppi --\u003e\n\nScapy is a powerful Python-based interactive packet manipulation program and\nlibrary.\n\nIt is able to forge or decode packets of a wide number of protocols, send them\non the wire, capture them, store or read them using pcap files, match requests\nand replies, and much more. It is designed to allow fast packet prototyping by\nusing default values that work.\n\nIt can easily handle most classical tasks like scanning, tracerouting, probing,\nunit tests, attacks or network discovery (it can replace `hping`, 85% of `nmap`,\n`arpspoof`, `arp-sk`, `arping`, `tcpdump`, `wireshark`, `p0f`, etc.). It also\nperforms very well at a lot of other specific tasks that most other tools can't\nhandle, like sending invalid frames, injecting your own 802.11 frames, combining\ntechniques (VLAN hopping+ARP cache poisoning, VoIP decoding on WEP protected\nchannel, ...), etc.\n\nScapy supports Python 3.7+. It's intended to\nbe cross platform, and runs on many different platforms (Linux, OSX,\n\\*BSD, and Windows).\n\n## Getting started\n\nScapy is usable either as a **shell** or as a **library**.\nFor further details, please head over to [Getting started with Scapy](https://scapy.readthedocs.io/en/latest/introduction.html), which is part of the documentation.\n\n### Shell demo\n\n![Scapy install demo](https://secdev.github.io/files/doc/animation-scapy-install.svg)\n\nScapy can easily be used as an interactive shell to interact with the network.\nThe following example shows how to send an ICMP Echo Request message to\n`github.com`, then display the reply source IP address:\n\n```python\nsudo ./run_scapy\nWelcome to Scapy\n\u003e\u003e\u003e p = IP(dst=\"github.com\")/ICMP()\n\u003e\u003e\u003e r = sr1(p)\nBegin emission:\n.Finished to send 1 packets.\n*\nReceived 2 packets, got 1 answers, remaining 0 packets\n\u003e\u003e\u003e r[IP].src\n'192.30.253.113'\n```\n\n### Resources\n\nThe [documentation](https://scapy.readthedocs.io/en/latest/) contains more\nadvanced use cases, and examples.\n\nOther useful resources:\n\n-   [Scapy in 20 minutes](https://github.com/secdev/scapy/blob/master/doc/notebooks/Scapy%20in%2015%20minutes.ipynb)\n-   [Interactive tutorial](https://scapy.readthedocs.io/en/latest/usage.html#interactive-tutorial) (part of the documentation)\n-   [The quick demo: an interactive session](https://scapy.readthedocs.io/en/latest/introduction.html#quick-demo) (some examples may be outdated)\n-   [HTTP/2 notebook](https://github.com/secdev/scapy/blob/master/doc/notebooks/HTTP_2_Tuto.ipynb)\n-   [TLS notebooks](https://github.com/secdev/scapy/blob/master/doc/notebooks/tls)\n\n## [Installation](https://scapy.readthedocs.io/en/latest/installation.html)\n\nScapy works without any external Python modules on Linux and BSD like operating\nsystems. On Windows, you need to install some mandatory dependencies as\ndescribed in [the\ndocumentation](http://scapy.readthedocs.io/en/latest/installation.html#windows).\n\nOn most systems, using Scapy is as simple as running the following commands:\n\n```bash\ngit clone https://github.com/secdev/scapy\ncd scapy\n./run_scapy\n```\n\nTo benefit from all Scapy features, such as plotting, you might want to install\nPython modules, such as `matplotlib` or `cryptography`. See the\n[documentation](http://scapy.readthedocs.io/en/latest/installation.html) and\nfollow the instructions to install them.\n\n\u003c!-- stop_ppi_description --\u003e\n\n## License\n\nScapy's code, tests and tools are licensed under GPL v2.\nThe documentation (everything unless marked otherwise in `doc/`, and except the logo) is licensed under CC BY-NC-SA 2.5.\n\n## Contributing\n\nWant to contribute? Great! Please take a few minutes to\n[read this](CONTRIBUTING.md)!\n","funding_links":["https://github.com/sponsors/gpotter2","https://github.com/sponsors/guedou","https://github.com/sponsors/p-l-","https://github.com/sponsors/polybassa"],"categories":["Hardware","Python","Libraries and Tools","\u003ca id=\"79499aeece9a2a9f64af6f61ee18cbea\"\u003e\u003c/a\u003e浏览嗅探\u0026\u0026流量拦截\u0026\u0026流量分析\u0026\u0026中间人","Network","Network Tools","Libraries","硬件","Hacking and Reverse Engineering tools","\u003ca id=\"01f99d208e245eb44f15f720043b50d4\"\u003e\u003c/a\u003eScapy","HarmonyOS","网络服务","Tools","资源列表","Others","Synopsis","Network and Web Protocols","hacktoberfest","security-tools","Hardware [🔝](#readme)","📚 فهرست","Awesome Python","Programming/Comp Sci/SE Things"],"sub_categories":["Python","\u003ca id=\"99398a5a8aaf99228829dadff48fb6a7\"\u003e\u003c/a\u003e未分类-Network","Scanning / Pentesting","Network Traffic Replay and Editing Tools","Windows Manager","网络服务_其他","Network Tools","硬件","Binary files examination and editing","Table of Contents","CoAP","Docker Containers of Penetration Testing Distributions and Tools","هک و امنیت","Hardware","OSWP"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecdev%2Fscapy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecdev%2Fscapy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecdev%2Fscapy/lists"}