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
typearchendiandistroversionliving_off_the_landauthorshelp
Source
pwn/plugins/detect_os.rb
Verification
PWN::Plugins::DetectOS.respond_to?(:type) after the
module is loaded. Read the source for parameter names.