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 dd23be9 commit e4bc2a6Copy full SHA for e4bc2a6
lib/rex/post/meterpreter/pivot.rb
@@ -85,11 +85,11 @@ def Pivot.create_named_pipe_listener(client, opts={})
85
c = Class.new(::Msf::Payload)
86
c.include(::Msf::Payload::Stager)
87
c.include(::Msf::Payload::TransportConfig)
88
- c.include(::Msf::Sessions::MeterpreterOptions)
89
90
# TODO: add more platforms
91
case opts[:platform]
92
when 'windows'
+ c.include(::Msf::Sessions::MeterpreterOptions::Windows) # Moved to be platform-specific
93
# Include the appropriate reflective dll injection module for the target process architecture...
94
if opts[:arch] == ARCH_X86
95
c.include(::Msf::Payload::Windows::MeterpreterLoader)
0 commit comments