Class: Msf::Plugin::Requests

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

Defined Under Namespace

Classes: ConsoleCommandDispatcher

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) ⇒ Requests

Returns a new instance of Requests.


359
360
361
362
# File 'plugins/request.rb', line 359

def initialize(framework, opts)
  super
  add_console_dispatcher(ConsoleCommandDispatcher)
end

Instance Method Details

#cleanupObject


364
365
366
# File 'plugins/request.rb', line 364

def cleanup
  remove_console_dispatcher('Request')
end

#descObject


372
373
374
# File 'plugins/request.rb', line 372

def desc
  'Make requests from within Metasploit using various protocols.'
end

#nameObject


368
369
370
# File 'plugins/request.rb', line 368

def name
  'Request'
end