| Class | Msf::PayloadSet |
| In: |
lib/msf/core/payload_set.rb
|
| Parent: | ModuleSet |
This class is a special case of the generic module set class because payloads are generated in terms of combinations between various components, such as a stager and a stage. As such, the payload set needs to be built on the fly and cannot be simply matched one-to-one with a payload module. Yeah, the term module is kind of overloaded here, but eat it!
| singles | [R] | The list of singles that have been loaded. |
| sizes | [R] | The sizes of all the built payloads thus far. |
| stages | [R] | The list of stages that have been loaded. |
Creates an instance of a payload set which is just a specialized module set class that has custom handling for payloads.
This method adds a stage payload to the set and adds it to the stages hash using the supplied handler type.
Performs custom filtering during each_module enumeration. This allows us to filter out certain stagers as necessary.
Looks for a payload that matches the specified requirements and returns an instance of that payload.
When a payload module is reloaded, the blob cache entry associated with it must be removed (if one exists)
This method builds the hash of alias names based on all the permutations of singles, stagers, and stages.
Builds a duplicate, extended version of the Payload base class using the supplied modules.