Class Msf::EncodedPayload
In: lib/msf/core/encoded_payload.rb
Parent: Object

This class wrappers an encoded payload buffer and the means used to create one.

Methods

Included Modules

Framework::Offspring

Attributes

encoded  [R]  The encoded version of the raw payload plus the NOP sled if one was generated.
encoder  [R]  The encoder that was used
nop  [R]  The NOP generator that was used
nop_sled  [R]  The NOP sled itself
nop_sled_size  [R]  The size of the NOP sled
pinst  [RW]  The payload instance used to generate the payload
raw  [R]  The raw version of the payload
reqs  [RW]  The requirements used for generation

Public Class methods

This method creates an encoded payload instance and returns it to the caller.

Public Instance methods

Scans for a compatible encoder using ranked precedence and populates the encoded attribute.

This method enerates the full encoded payload and returns the encoded payload buffer.

Generates the raw payload from the payload instance. This populates the raw attribute.

Construct a NOP sled if necessary

[Validate]