# 使用 Homebrew, apk, Nix, apt, dnf, pacman, zypper, winget, MacPorts 安装 pwntools

查看 pwntools 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install pwntools
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hex
```

  证据: 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
```

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

- Nix (92%):

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

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

- Debian apt (92%):

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

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

- dnf (92%):

```sh
sudo dnf install checksec
```

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

- pacman (92%):

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

  证据: 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
```

  证据: openSUSE Tumbleweed package metadata: checksec from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- winget (92%):

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

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

## 软件包事实

- **软件包键:** brew:pwntools
- **软件包管理器:** Homebrew
- **版本:** 4.15.0
- **来源摘要:** CTF framework used by Gallopsled in every CTF
- **主页:** <https://github.com/Gallopsled/pwntools>
- **仓库:** <https://github.com/Gallopsled/pwntools>
- **最后更新:** 2026-06-22T14:06:01-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 4.15.0

## 安全说明

没有找到 pwntools 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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
## 其他软件包管理器记录

- 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


## Combined YAML source

View the package source record on GitHub. [combined/pwntools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/pwntools.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
