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.
-
.available? ⇒ Boolean
- Supported Method Parameters
PWN::FFI::Stdio.available?.
-
.help ⇒ Object
Display Usage for this Module.
Class Method Details
.authors ⇒ Object
- Author(s)
0day Inc. support@0dayinc.com
28 29 30 31 32 |
# File 'lib/pwn/ffi/stdio.rb', line 28 public_class_method def self. "AUTHOR(S): 0day Inc. <support@0dayinc.com> " end |
.available? ⇒ Boolean
- Supported Method Parameters
PWN::FFI::Stdio.available?
22 23 24 |
# File 'lib/pwn/ffi/stdio.rb', line 22 public_class_method def self.available? true end |
.help ⇒ Object
Display Usage for this Module
36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/pwn/ffi/stdio.rb', line 36 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 |