Class: Msf::Plugin::FFAutoRegen

Inherits:
Msf::Plugin show all
Defined in:
plugins/ffautoregen.rb

Overview

This plugin reloads and re-executes a file-format exploit module once it has changed.

Defined Under Namespace

Classes: FFAutoRegenCommandDispatcher

Instance Attribute Summary

Attributes inherited from Msf::Plugin

#opts

Attributes included from Framework::Offspring

#framework

Instance Method Summary collapse

Methods inherited from Msf::Plugin

#add_console_dispatcher, create, #flush, #input, #output, #print, #print_error, #print_good, #print_line, #print_status, #print_warning, #remove_console_dispatcher

Constructor Details

#initialize(framework, opts) ⇒ FFAutoRegen

Returns a new instance of FFAutoRegen.


86
87
88
89
90
91
# File 'plugins/ffautoregen.rb', line 86

def initialize(framework, opts)
  super

  # console dispatcher commands.
  add_console_dispatcher(FFAutoRegenCommandDispatcher)
end

Instance Method Details

#cleanupObject


93
94
95
# File 'plugins/ffautoregen.rb', line 93

def cleanup
  remove_console_dispatcher('FFAutoRegen')
end

#descObject


101
102
103
# File 'plugins/ffautoregen.rb', line 101

def desc
  "FileFormat AutoRegen Plugin"
end

#nameObject


97
98
99
# File 'plugins/ffautoregen.rb', line 97

def name
  "ffautoregen"
end