Module: PWN::FFI::Stdio
- Extended by:
- Library
- Defined in:
- lib/pwn/ffi/stdio.rb
Overview
This plugin is a wrapper for the standard I/O functions in libc.
Class Method Summary collapse
-
.authors ⇒ Object
- Author(s)
-
0day Inc.
-
.help ⇒ Object
Display Usage for this Module.
Class Method Details
.authors ⇒ Object
- Author(s)
-
0day Inc. <[email protected]>
20 21 22 23 24 |
# File 'lib/pwn/ffi/stdio.rb', line 20 public_class_method def self. "AUTHOR(S): 0day Inc. <[email protected]> " end |
.help ⇒ Object
Display Usage for this Module
28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/pwn/ffi/stdio.rb', line 28 public_class_method def self.help puts "USAGE: #{self}.puts string #{self}.printf(\"format string\", str, int, etc) scanf_buffer = FFI::MemoryPointer.new(:char, 100) #{self}.scanf(\"format string\", scanf_buffer) #{self}.authors " end |