Sudo

From 0dayInc/pwn · View interactive version

Sudo is an AI agent skill from the GitHub repository 0dayInc/pwn. Drive PWN::SAST::Sudo from pwn_eval.

How to use this skill

Skill file

PWN::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

References

Source

pwn/sast/sudo.rb

Verification

PWN::SAST::Sudo.respond_to?(:scan) 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.