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.



356
357
358
359
# File 'plugins/request.rb', line 356

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

Instance Method Details

#cleanupObject



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

def cleanup
  remove_console_dispatcher('Request')
end

#descObject



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

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

#nameObject



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

def name
  'Request'
end