| Class | Msf::Module::Target |
| In: |
lib/msf/core/module/target.rb
|
| Parent: | Object |
A target for an exploit.
| arch | [R] | The architectures, if any, that the target is specific to. |
| bruteforce | [R] | The bruteforce target information that will be non-nil if a Bruteforce option is passed to the constructor of the class. |
| name | [R] | The name of the target (E.g. Windows XP SP0/SP1) |
| opts | [R] | The target-specific options, like payload settings and other stuff like that. |
| platform | [R] | The platforms that this target is for. |
| ret | [R] | An alias for the target ‘Ret’ option. |
| save_registers | [R] | The list of registers that need to be saved. |
Initializes an instance of a bruteforce target from the supplied information. The hash of options that this constructor takes is as follows:
The platform(s) that this target is to operate against.
SaveRegisters
The registers that must be saved by NOP generators.
Arch
The architectures, if any, that this target is specific to (E.g.
ARCH_X86).
Settings specific to a target that supports brute forcing. See the
BruteForce class.
Ret
The target-specific return address or addresses that will be used.
Payload-specific options, such as append, prepend, and other values that
can be set on a per-exploit or per-target basis.
A hash of options that be initialized in the select encoder‘s datastore that may be required as parameters for the encoding operation. This is particularly useful when a specific encoder type is being used (as specified by the EncoderType hash element).
The payload encoder type or types that can be used when generating the encoded payload (such as alphanum, unicode, xor, and so on).