{"id":13774940,"url":"https://github.com/guedou/r2scapy","last_synced_at":"2025-10-07T08:31:49.430Z","repository":{"id":93000865,"uuid":"111823147","full_name":"guedou/r2scapy","owner":"guedou","description":"a radare2 plugin that decodes packets with Scapy","archived":false,"fork":false,"pushed_at":"2017-11-24T08:40:10.000Z","size":2,"stargazers_count":33,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T17:11:20.089Z","etag":null,"topics":["networking","radare2","radare2-plugin","scapy"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guedou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-11-23T15:09:33.000Z","updated_at":"2024-08-12T19:34:16.000Z","dependencies_parsed_at":"2023-03-23T09:32:12.823Z","dependency_job_id":null,"html_url":"https://github.com/guedou/r2scapy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/guedou/r2scapy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guedou%2Fr2scapy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guedou%2Fr2scapy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guedou%2Fr2scapy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guedou%2Fr2scapy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guedou","download_url":"https://codeload.github.com/guedou/r2scapy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guedou%2Fr2scapy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278743234,"owners_count":26037999,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["networking","radare2","radare2-plugin","scapy"],"created_at":"2024-08-03T17:01:31.992Z","updated_at":"2025-10-07T08:31:49.162Z","avatar_url":"https://github.com/guedou.png","language":"Python","funding_links":[],"categories":["\u003ca id=\"01f99d208e245eb44f15f720043b50d4\"\u003e\u003c/a\u003eScapy","Scripts"],"sub_categories":["Conferences"],"readme":"# r2scapy - a radare2 plugin that decodes packets with Scapy\n\n[![Twitter Follow](https://img.shields.io/twitter/follow/guedou.svg?style=social)](https://twitter.com/intent/follow?screen_name=guedou)\n\n`r2scapy` is a Python based [radare2](https://github.com/radare/radare2) plugin that decodes data as [Scapy](https://github.com/secdv/scapy/) packets. It is useful to quickly verify that a memory structure is a valid network packet!\n\n## Example\n\nThe following example show how to decode 48 bytes of memory as a DNS packet:\n```\n$ git clone https://github.com/guedou/r2scapy/\n$ r2 -i r2scapy.py dump.bin\n -- Execute a command on the visual prompt with cmd.vprompt\n[0x00000000]\u003e scapy DNS 0x81de3c 48\nDNS(aa=1L, qr=1L, an=DNSRR(rclass=32769, ttl=120, rrname='flashair.local.', rdata='192.168.0.1', type=1), ad=0L, nscount=0, qdcount=1, ns=None, tc=0L, rd=1L, arcount=0, ar=None, opcode=0L, ra=0L, cd=0L, z=0L, rcode=0L, id=0, ancount=1, qd=DNSQR(qclass=32769, qtype=255, qname='flashair.local.'))\n```\n\n## Prerequisites\n\n`r2scapy` requires the `r2lang`, `r2pipe` (see [r2pm](https://github.com/radare/radare2-pm) and [Scapy](http://scapy.readthedocs.io/en/latest/installation.html)) Python modules.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguedou%2Fr2scapy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguedou%2Fr2scapy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguedou%2Fr2scapy/lists"}