Pwn AI Context

Drive PWN::AI::Context from pwn_eval.

0dayInc Updated
PWN demo: original fade-in, then a fixture playback of pwn-ai reviewing app.example.test on this host. No provider call. Not a verified engagement.

File contents

PWN::AI::Context

Attach files, hexdumps, disassembly, and HTTP transcripts to model context with auto-chunking. Oversize artifacts are summarized inline and persisted under ~/.pwn/artifacts// with SHA-256.

When to use

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

Methodologies

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

How to call

PWN::AI::Context.help
PWN::AI::Context.attach_file(opts)

Public methods

  • attach_file
  • attach_hexdump
  • attach_disasm
  • attach_http_transcript
  • authors
  • help
  • ingest
  • retrieve

Source

pwn/ai/context.rb

Verification

PWN::AI::Context.respond_to?(:attach_file) after the module is loaded. Read the source for parameter names.

0dayInc/pwn commit f0893278f4

Frequently asked questions

npx get-skill add 0dayinc/pwn-ai-context