# Install pwntools with Homebrew, apk, apt, Nix, dnf, pacman, zypper, winget, MacPorts

CTF framework used by Gallopsled in every CTF. Version 4.15.0 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:pwntools
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install pwntools
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hex
```

  Evidence: MacPorts ports tree: sysutils/hex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add pwntools
```

  Evidence: Alpine Linux edge package indexes: pwntools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install python-pwntools-doc
```

  Evidence: Debian stable package indexes: python-pwntools-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#pwntools
```

  Evidence: nixpkgs package indexes: pwntools from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- dnf (92%):

```sh
sudo dnf install checksec
```

  Evidence: Fedora Rawhide package metadata: checksec from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S checksec
```

  Evidence: Arch Linux sync databases: checksec from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install checksec
```

  Evidence: openSUSE Tumbleweed package metadata: checksec from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id Airesoft.DisAsm -e
```

  Evidence: Windows Package Manager source index: Airesoft.DisAsm from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:pwntools
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/pwntools>
- **Version:** 4.15.0
- **Source summary:** CTF framework used by Gallopsled in every CTF
- **Homepage:** <https://github.com/Gallopsled/pwntools>
- **Repository:** <https://github.com/Gallopsled/pwntools>
- **Upstream docs:** <https://docs.pwntools.com/>
- **License:** MIT
- **Source archive:** <https://files.pythonhosted.org/packages/f2/5c/9ae3d94c98b0b038ffd7f09ebdac506d346fe1b964999f71c96c8a904efd/pwntools-4.15.0.tar.gz>
- **Last updated:** 2026-06-22T14:06:01-07:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- asm (cli)
- checksec (cli)
- constgrep (cli)
- cyclic (cli)
- debug (cli)
- disablenx (cli)
- disasm (cli)
- elfdiff (cli)
- elfpatch (cli)
- hex (cli)
- libcdb (cli)
- phd (cli)
- pwn (cli)
- pwnstrip (cli)
- scramble (cli)
- shellcraft (cli)
- template (cli)
- unhex (cli)
- asm (alias)
- checksec (alias)
- constgrep (alias)
- cyclic (alias)
- debug (alias)
- disablenx (alias)
- disasm (alias)
- elfdiff (alias)
- elfpatch (alias)
- hex (alias)
- libcdb (alias)
- phd (alias)
- pwn (alias)
- pwnstrip (alias)
- scramble (alias)
- shellcraft (alias)
- template (alias)
- unhex (alias)

## Dependencies

- capstone
- certifi
- cryptography
- libsodium
- python@3.14
- unicorn

## Build dependencies

- pkgconf
- rust

## Uses from macOS

- libffi

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.15.0
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/Gallopsled/pwntools
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for pwntools. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.pwn.conf, $XDG_CONFIG_HOME/pwn.conf, /etc/pwn.conf
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** pwntools
- **Version Scheme:** 0
- **Revision:** 9
- **Head Version:** HEAD
- **Conflicts With:** cspice, jena, moreutils
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - python-pwntools-doc - 4.14.1-1: normalized package name match | Debian stable package indexes: python-pwntools-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CTF framework and exploit development library (documentation) | https://pwntools.com
- Debian apt - python3-pwntools - 4.14.1-1: normalized package name match | Debian stable package indexes: python3-pwntools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CTF framework and exploit development library | https://pwntools.com
- Nix - pwntools: normalized package name match | nixpkgs package indexes: pwntools from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - python-pwntools-doc - 4.12.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python-pwntools-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | CTF framework and exploit development library (documentation) | https://pwntools.com
- Ubuntu apt - python3-pwntools - 4.12.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-pwntools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | CTF framework and exploit development library | https://pwntools.com
- apk - pwntools - 4.15.0-r1: normalized package name match | Alpine Linux edge package indexes: pwntools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CTF framework and exploit development library | https://github.com/Gallopsled/pwntools#readme
- apk - pwntools-doc - 4.15.0-r1: normalized package name match | Alpine Linux edge package indexes: pwntools-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CTF framework and exploit development library (documentation) | https://github.com/Gallopsled/pwntools#readme
- apk - pwntools-pyc - 4.15.0-r1: normalized package name match | Alpine Linux edge package indexes: pwntools-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for pwntools | https://github.com/Gallopsled/pwntools#readme
- MacPorts - hex: installed executable or alias match | MacPorts ports tree: sysutils/hex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - checksec - 2.6.0-2: installed executable or alias match | Debian stable package indexes: checksec from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Bash script to test executable properties | https://github.com/slimm609/checksec.sh
- Debian apt - libasm-java - 9.8-1: installed executable or alias match | Debian stable package indexes: libasm-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Java bytecode manipulation framework | http://asm.ow2.io
- Nix - checksec: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ch/checksec/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Nix - hex: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/he/hex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - checksec - 2.6.0-2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: checksec from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Bash script to test executable properties | https://github.com/slimm609/checksec.sh
- Ubuntu apt - libasm-java - 9.7-1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libasm-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Java bytecode manipulation framework | http://asm.ow2.io
- apk - hex - 0.7.0-r0: installed executable or alias match | Alpine Linux edge package indexes: hex from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | futuristic take on hexdump | https://github.com/sitkevij/hex


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [capstone](https://www.automicvault.com/pkg/brew/capstone/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [bandit](https://www.automicvault.com/pkg/brew/bandit/) - Shares av.db curated category or tags: cli, python, security.
- [pdfalyzer](https://www.automicvault.com/pkg/brew/pdfalyzer/) - Shares av.db curated category or tags: cli, python, security.
- [pip-audit](https://www.automicvault.com/pkg/brew/pip-audit/) - Shares av.db curated category or tags: cli, python, security.
- [pocsuite3](https://www.automicvault.com/pkg/brew/pocsuite3/) - Shares av.db curated category or tags: cli, python, security.
- [recon-ng](https://www.automicvault.com/pkg/brew/recon-ng/) - Shares av.db curated category or tags: cli, python, security.
- [shodan](https://www.automicvault.com/pkg/brew/shodan/) - Shares av.db curated category or tags: cli, python, security.
- [vunnel](https://www.automicvault.com/pkg/brew/vunnel/) - Shares av.db curated category or tags: cli, python, security.
- [aide](https://www.automicvault.com/pkg/brew/aide/) - Shares av.db curated category or tags: cli, security.
- [forbidden](https://www.automicvault.com/pkg/brew/forbidden/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, cryptography, python, python-3-14.
- [sigstore](https://www.automicvault.com/pkg/brew/sigstore/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, cryptography, python, python-3-14.

## Combined YAML source

View the package source record on GitHub. [combined/pwntools.yml](https://github.com/automic-vault/db/blob/main/combined/pwntools.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
