Detect os

From 0dayInc/pwn · View interactive version

Detect os is an AI agent skill from the GitHub repository 0dayInc/pwn. Drive PWN::Plugins::DetectOS from pwn_eval.

How to use this skill

Skill file

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

Source

pwn/plugins/detect_os.rb

Verification

PWN::Plugins::DetectOS.respond_to?(:type) 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.