pwn-sast-sudo
Drive PWN::SAST::Sudo from pwn_eval.
SKILL.mdetc/default_skills/pwn/sast/sudo/SKILL.md
GitHubPWN::SAST::Sudo
SAST Module used to identify if cmd execution and/or privilege escalation is possible.
When to use
Call PWN::SAST::Sudo from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/sast/sudo.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::SAST::Sudo.help
PWN::SAST::Sudo.scan(opts)
Public methods
scansecurity_referencesauthorshelp
References
references/security.md— CWE / NIST mappingreferences/urls.md— URLs from source
Source
pwn/sast/sudo.rb
Verification
PWN::SAST::Sudo.respond_to?(:scan) after the
module is loaded. Read the source for parameter names.