Setup

From 0dayInc/pwn · View interactive version

Setup is an AI agent skill from the GitHub repository 0dayInc/pwn. Drive PWN::Setup from pwn_eval.

How to use this skill

Skill file

PWN::Setup

PWN::Setup — post-install "doctor" and capability provisioner. PWN ships as a single gem whose runtime is 100 % autoloaded (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

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

Public methods

References

Source

pwn/setup.rb

Verification

PWN::Setup.respond_to?(:packages_for) after the

module is loaded. Read the source for parameter names.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.