Pwn Plugins Detectos

Drive PWN::Plugins::DetectOS 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::Plugins::DetectOS

Detect host OS family, distro flavor, and version string.

When to use

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

Methodologies

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

How to call

PWN::Plugins::DetectOS.help
PWN::Plugins::DetectOS.type(opts)

Public methods

  • type
  • arch
  • endian
  • distro
  • version
  • living_off_the_land
  • authors
  • help

Source

pwn/plugins/detect_os.rb

Verification

PWN::Plugins::DetectOS.respond_to?(:type) after the module is loaded. Read the source for parameter names.

0dayInc/pwn commit a17a6831b7

Frequently asked questions

npx get-skill add 0dayinc/pwn-plugins-detectos