Skip to content
Back to skills

Setup

ASecurity

Drive PWN::Setup from pwn_eval.

  • 86 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 10, 2026
securityrubyshellbash

Works with

  • terminal

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 10, 2026

npx -y skills add 0dayInc/pwn --skill setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/0dayinc-setup/badge)](https://www.skillsdirectory.com/skills/0dayinc-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pwn-setup
description: Drive PWN::Setup from pwn_eval.
license: MIT
allowed-tools: [pwn, pwn_eval]
metadata:
  bundled: true
  generated: true
  module: PWN::Setup
  source: pwn/setup.rb
---

# PWN::Setup

PWN::Setup — post-install "doctor" and capability provisioner. PWN ships as a **single gem** whose runtime is 100 % `autoload`ed (`lib/pwn.rb`) — a plugin whose native gem or OS binary is missing costs nothing until you touch that constant. `PWN::Setup` is the piece that grows a bare `gem install pwn` into a fully-armed host **after** the gem is installed, instead of **before** via a chain of bash scripts that assume `/opt/pwn`, `rvmsudo`, `screen`, and MacPorts. It is the Ruby-native, versioned-with-the-gem replacement for the `case $os` blocks previously buried in `install.sh` and `packer/provisioners/pwn.sh`. pwn setup # doctor (read-only) pwn setup --check # same pwn setup --deps # install OS headers for EVERY native gem pwn setup --profile web # install just what TransparentBrowser/Burp need pwn setup --profile sdr --yes # non-interactive pwn setup --list-profiles Also exposed as `pwn_setup` (driver) and `pwn --setup[=PROFILE]`.

## When to use

Call `PWN::Setup` from `pwn_eval` when the task needs this module.
Do not reimplement it in shell.

## Methodologies

Generated from `pwn/setup.rb`. Prefer the public class methods below.
Class methods take `(opts = {})` and read `opts`.

## How to call

```ruby
PWN::Setup.help
PWN::Setup.packages_for(opts)
```

## Public methods

- `packages_for`
- `pkg_manager`
- `check`
- `deps`
- `terminal`
- `list_profiles`
- `migrate`
- `ensure_cron`
- `authors`
- `help`

## References

- `references/urls.md` — URLs from source

## Source

`pwn/setup.rb`

## Verification

`PWN::Setup.respond_to?(:packages_for)` after the
module is loaded. Read the source for parameter names.

Files in this skill

  • SKILL.md1.8 KB
  • references/urls.md80 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.