pwn-ffi-stdio

Drive PWN::FFI::Stdio from pwn_eval.

SKILL.md

GitHub

PWN::FFI::Stdio

This plugin is a wrapper for the standard I/O functions in libc.

When to use

Call PWN::FFI::Stdio from pwn_eval when the task needs this module. Do not reimplement it in shell.

Methodologies

Generated from pwn/ffi/stdio.rb. Prefer the public class methods below. Class methods take (opts = {}) and read opts.

How to call

PWN::FFI::Stdio.help
PWN::FFI::Stdio.available(opts)

Public methods

  • available
  • authors
  • help
  • available?
  • printf
  • puts
  • scanf

Source

pwn/ffi/stdio.rb

Verification

PWN::FFI::Stdio.respond_to?(:available) after the module is loaded. Read the source for parameter names.