Module Msf::Simple::Exploit
In: lib/msf/base/simple/exploit.rb

A simplified exploit wrapper.

Methods

Included Modules

Module

Public Class methods

Initiates a check, setting up the exploit to be used. The following options can be specified:

LocalInput

     The local input handle that data can be read in from.

LocalOutput

     The local output through which data can be displayed.

Wraps the exploitation process in a simple single method. The options hash can have the following values passed in it:

Encoder

     The encoder module that should be used.

Payload

     The payload module name that should be used.

Target

     The selected target index.

Nop

     The NOP generator that should be used in preference.

OptionStr

     A string of comma separated option values that should be imported into
     the datastore.

Options

     A hash of values to be imported directly into the datastore.

LocalInput

     The local input handle that data can be read in from.

LocalOutput

     The local output through which data can be displayed.

RunAsJob

     Whether or not the exploit should be run in the context of a background
     job.

Public Instance methods

Calls the class method.

Calls the class method.

[Validate]