pwntools

CTF framework and exploit development library

https://github.com/gallopsled/pwntools

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    5 of 280 committers (1.8%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.9%) to scientific vocabulary

Keywords

assembly bsd capture-the-flag ctf ctf-framework defcon exploit hacktoberfest linux pwnable pwntools python python2 python3 rop shellcode shellcode-development shellcoding wargame

Keywords from Contributors

fuzzing afl-fuzz instrument fuzz-testing distributed unit-testing serializer aiohttp asyncio http-client
Last synced: 6 months ago · JSON representation

Repository

CTF framework and exploit development library

Basic Info
  • Host: GitHub
  • Owner: Gallopsled
  • License: other
  • Language: Python
  • Default Branch: dev
  • Homepage: http://pwntools.com
  • Size: 27.3 MB
Statistics
  • Stars: 12,864
  • Watchers: 284
  • Forks: 1,774
  • Open Issues: 120
  • Releases: 79
Topics
assembly bsd capture-the-flag ctf ctf-framework defcon exploit hacktoberfest linux pwnable pwntools python python2 python3 rop shellcode shellcode-development shellcoding wargame
Created almost 13 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Security

README.md

pwntools - CTF toolkit

pwntools logo

PyPI Docs GitHub Workflow Status (dev) Coveralls MIT License Packaging status Discord Twitter

Pwntools is a CTF framework and exploit development library. Written in Python, it is designed for rapid prototyping and development, and intended to make exploit writing as simple as possible.

```python from pwn import * context(arch = 'i386', os = 'linux')

r = remote('exploitme.example.com', 31337)

EXPLOIT CODE GOES HERE

r.send(asm(shellcraft.sh())) r.interactive() ```

Documentation

Our documentation is available at docs.pwntools.com

A series of tutorials is also available online

To get you started, we've provided some example solutions for past CTF challenges in our write-ups repository.

Installation

Pwntools is best supported on 64-bit Ubuntu LTS releases (22.04 and 24.04). Most functionality should work on any Posix-like distribution (Debian, Arch, FreeBSD, OSX, etc.).

Pwntools supports Python 3.10+ since version 5.0.0. Use Pwntools 4.x for older versions as well as Python 2.7. Most of the functionality of pwntools is self-contained and Python-only. You should be able to get running quickly with

sh sudo apt-get update sudo apt-get install python3 python3-pip python3-dev git libssl-dev libffi-dev build-essential python3 -m pip install --upgrade pip python3 -m pip install --upgrade pwntools

However, some of the features (assembling/disassembling foreign architectures) require non-Python dependencies. For more information, see the complete installation instructions here.

Contribution

See CONTRIBUTING.md

Contact and Community

If you have any questions not worthy of a bug report, join the Discord server at https://discord.gg/96VA2zvjCB

Owner

  • Name: Gallopsled
  • Login: Gallopsled
  • Kind: organization

GitHub Events

Total
  • Create event: 20
  • Commit comment event: 1
  • Release event: 4
  • Issues event: 82
  • Watch event: 833
  • Delete event: 17
  • Issue comment event: 270
  • Push event: 93
  • Pull request review comment event: 69
  • Pull request review event: 89
  • Pull request event: 138
  • Fork event: 78
Last Year
  • Create event: 20
  • Commit comment event: 1
  • Release event: 4
  • Issues event: 82
  • Watch event: 833
  • Delete event: 17
  • Issue comment event: 270
  • Push event: 93
  • Pull request review comment event: 69
  • Pull request review event: 89
  • Pull request event: 138
  • Fork event: 78

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 3,663
  • Total Committers: 280
  • Avg Commits per committer: 13.082
  • Development Distribution Score (DDS): 0.582
Past Year
  • Commits: 104
  • Committers: 33
  • Avg Commits per committer: 3.152
  • Development Distribution Score (DDS): 0.538
Top Committers
Name Email Commits
Zach Riggle r****e@g****m 1,530
Mathias Svensson i****f@p****k 410
Morten Brøns-Pedersen f@n****k 343
Arusekk a****z@o****l 332
heapcrash h****h@g****m 157
peace-maker p****f@g****m 144
Robert Larsen r****t@t****k 140
Jonas Rudloff j****f@g****m 32
Kristoffer Søholm k****m@g****m 27
Mathias Svensson f****n@f****k 22
eQuiNoX__ e****1@g****m 17
Mathias Svensson i****f@f****k 12
dependabot[bot] 4****] 11
peter50216 p****6@g****m 10
bsm b****n@g****m 10
psondej p****j@g****l 10
Martin Bjerregaard Jepsen m****n@j****o 9
Calle Svensson c****n@z****m 9
Kyle Zeng K****e 7
Kasper Haabb k****b@g****m 7
Disconnect3d d****a@g****m 7
Zubin Mithra z****a@g****m 6
k4lizen 1****n 6
Justin Steven j****n@j****m 6
152334H 5****H 5
Steven Van Acker s****n@s****e 5
Jakub Kądziołka k****a@k****t 5
Th3S 4****t 5
Christian Clauss c****s@m****m 5
clubby789 j****e@h****k 5
and 250 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 259
  • Total pull requests: 447
  • Average time to close issues: about 1 year
  • Average time to close pull requests: 2 months
  • Total issue authors: 160
  • Total pull request authors: 107
  • Average comments per issue: 2.29
  • Average comments per pull request: 1.96
  • Merged pull requests: 309
  • Bot issues: 0
  • Bot pull requests: 17
Past Year
  • Issues: 52
  • Pull requests: 169
  • Average time to close issues: 18 days
  • Average time to close pull requests: 18 days
  • Issue authors: 33
  • Pull request authors: 37
  • Average comments per issue: 0.9
  • Average comments per pull request: 1.4
  • Merged pull requests: 103
  • Bot issues: 0
  • Bot pull requests: 2
Top Authors
Issue Authors
  • peace-maker (29)
  • zachriggle (9)
  • k4lizen (8)
  • heapcrash (8)
  • tesuji (7)
  • disconnect3d (5)
  • TethysSvensson (4)
  • gogo2464 (4)
  • RocketMaDev (4)
  • kloczek (3)
  • Legoclones (3)
  • MrQubo (3)
  • escapemarius2 (3)
  • tkmikan (3)
  • ValekoZ (3)
Pull Request Authors
  • peace-maker (130)
  • Arusekk (41)
  • dependabot[bot] (17)
  • tesuji (16)
  • k4lizen (13)
  • the-soloist (12)
  • gogo2464 (8)
  • disconnect3d (7)
  • heapcrash (7)
  • clubby789 (6)
  • fercevik729 (5)
  • zt20xx (5)
  • RocketMaDev (5)
  • SecT0uch (4)
  • cnitlrt (4)
Top Labels
Issue Labels
bug (139) backport-required (134) feature (54) question (38) good first issue (12) help-wanted (12) code style (9) easy (9) shellcode (9) rop (7) docs (6) enhancement (6) term (5) testing (3) Hacktoberfest (3) mystery (2) Python3 (1) Python2 (1) releases (1)
Pull Request Labels
dependencies (19) testing (6) shellcode (5) enhancement (5) help-wanted (4) rop (3) feature (3) docs (3) github_actions (2) code style (1) blocked (1)

Packages

  • Total packages: 10
  • Total downloads:
    • homebrew 142 last-month
    • pypi 115,106 last-month
  • Total docker downloads: 4,672
  • Total dependent packages: 23
    (may contain duplicates)
  • Total dependent repositories: 289
    (may contain duplicates)
  • Total versions: 144
  • Total maintainers: 9
  • Total advisories: 1
pypi.org: pwntools

Pwntools CTF framework and exploit development library.

  • Versions: 121
  • Dependent Packages: 21
  • Dependent Repositories: 221
  • Downloads: 106,960 Last month
  • Docker Downloads: 4,394
Rankings
Dependent packages count: 0.6%
Average: 1.0%
Dependent repos count: 1.0%
Docker downloads count: 1.1%
Downloads: 1.2%
Last synced: 11 months ago
pypi.org: pwn

This is the CTF framework used by Gallopsled in every CTF.

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 51
  • Downloads: 7,411 Last month
  • Docker Downloads: 278
Rankings
Stargazers count: 0.2%
Forks count: 1.0%
Docker downloads count: 1.6%
Dependent repos count: 2.1%
Average: 2.1%
Downloads: 3.0%
Dependent packages count: 4.8%
Last synced: 6 months ago
pypi.org: win

This is the CTF framework used by Gallopsled in every CTF.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 6
Rankings
Stargazers count: 0.2%
Forks count: 1.1%
Average: 4.4%
Dependent repos count: 6.0%
Dependent packages count: 10.1%
Maintainers (1)
Last synced: 6 months ago
pypi.org: libwin

This is the CTF framework used by Gallopsled in every CTF.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 2
Rankings
Stargazers count: 0.2%
Forks count: 1.1%
Average: 5.7%
Dependent packages count: 10.1%
Dependent repos count: 11.5%
Maintainers (1)
Last synced: 6 months ago
pypi.org: pwnable

This is the CTF framework used by Gallopsled in every CTF.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 2
Rankings
Stargazers count: 0.2%
Forks count: 1.1%
Average: 5.7%
Dependent packages count: 10.1%
Dependent repos count: 11.5%
Maintainers (1)
Last synced: 6 months ago
pypi.org: busticate

This is the CTF framework used by Gallopsled in every CTF.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 2
Rankings
Stargazers count: 0.2%
Forks count: 1.1%
Average: 5.7%
Dependent packages count: 10.1%
Dependent repos count: 11.5%
Maintainers (1)
Last synced: 6 months ago
pypi.org: pwnlib

Pwnlib CTF framework and exploit development library.

  • Versions: 5
  • Dependent Packages: 1
  • Dependent Repositories: 3
  • Downloads: 703 Last month
Rankings
Stargazers count: 0.2%
Forks count: 1.0%
Average: 6.4%
Dependent repos count: 8.9%
Dependent packages count: 10.1%
Downloads: 11.9%
Maintainers (1)
Last synced: about 1 year ago
pypi.org: pwning

This is the CTF framework used by Gallopsled in every CTF.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 2
  • Downloads: 8 Last month
Rankings
Stargazers count: 0.2%
Forks count: 1.0%
Dependent packages count: 10.1%
Dependent repos count: 11.5%
Average: 16.8%
Downloads: 61.2%
Maintainers (1)
Last synced: 6 months ago
formulae.brew.sh: pwntools

CTF framework used by Gallopsled in every CTF

  • Versions: 11
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 142 Last month
Rankings
Forks count: 1.4%
Stargazers count: 2.2%
Dependent packages count: 19.0%
Average: 22.2%
Downloads: 37.5%
Dependent repos count: 50.7%
Last synced: 6 months ago
pypi.org: angr-pwntools

Pwntools CTF framework and exploit development library.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 24 Last month
Rankings
Stargazers count: 0.2%
Forks count: 1.0%
Dependent packages count: 10.1%
Average: 23.3%
Downloads: 38.0%
Dependent repos count: 67.3%
Maintainers (1)
Last synced: 6 months ago