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.



78
79
80
81
82
83
# File 'plugins/ffautoregen.rb', line 78

def initialize(framework, opts)
  super

  # console dispatcher commands.
  add_console_dispatcher(FFAutoRegenCommandDispatcher)
end

Instance Method Details

#cleanupObject



85
86
87
# File 'plugins/ffautoregen.rb', line 85

def cleanup
  remove_console_dispatcher('FFAutoRegen')
end

#descObject



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

def desc
  'This plugin reloads and re-executes a file-format exploit module once it has changed'
end

#nameObject



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

def name
  'ffautoregen'
end