Pwn DB Daopostgres

Drive PWN::DB::DAOPostgres 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


name: pwn-db-daopostgres description: Drive PWN::DB::DAOPostgres from pwn_eval. license: MIT allowed-tools: [pwn, pwn_eval] metadata: bundled: true generated: true module: PWN::DB::DAOPostgres source: pwn/db/dao_postgres.rb

PWN::DB::DAOPostgres

This plugin is a data access object used for interacting w/ PostgreSQL databases.

When to use

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

Methodologies

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

How to call

PWN::DB::DAOPostgres.help
PWN::DB::DAOPostgres.connect(opts)

Public methods

  • connect
  • sql_statement
  • list_all_columns_by_table
  • disconnect
  • authors
  • help

Source

pwn/db/dao_postgres.rb

Verification

PWN::DB::DAOPostgres.respond_to?(:connect) after the module is loaded. Read the source for parameter names.

0dayInc/pwn commit 7a3933f35e

Frequently asked questions

npx get-skill add 0dayinc/pwn-db-daopostgres