File fu

From 0dayInc/pwn · View interactive version

File fu is an AI agent skill from the GitHub repository 0dayInc/pwn. Drive PWN::Plugins::FileFu from pwn_eval.

How to use this skill

Skill file

PWN::Plugins::FileFu

This plugin is primarily used for interacting with files and directories in addition to the capabilities already built within the File and FileUtils built-in ruby classes (e.g. contains an easy to use recursion method that uses yield to interact with each entry on the fly).

When to use

Call PWN::Plugins::FileFu from pwn_eval when the task needs this module.

Do not reimplement it in shell.

Methodologies

Generated from pwn/plugins/file_fu.rb. Prefer the public class methods below.

Class methods take (opts = {}) and read opts.

How to call

PWN::Plugins::FileFu.help
PWN::Plugins::FileFu.recurse_in_dir(opts)

Public methods

Source

pwn/plugins/file_fu.rb

Verification

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