We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d0cdc3 commit 886f031Copy full SHA for 886f031
lib/msf/core/payload.rb
@@ -59,10 +59,10 @@ def initialize(info = {})
59
#
60
self.module_info['Dependencies'] = self.module_info['Dependencies'] || []
61
62
- # If this is a staged payload but there is no stage information,
+ # If this is an adapted or staged payload but there is no stage information,
63
# then this is actually a stager + single combination. Set up the
64
# information hash accordingly.
65
- if self.class.include?(Msf::Payload::Single) and
+ if (self.class.include?(Msf::Payload::Adapter) || self.class.include?(Msf::Payload::Single)) and
66
self.class.include?(Msf::Payload::Stager)
67
self.module_info['Stage'] = {}
68
0 commit comments