Module: MeterpreterOptions::OSX

Includes:
Msf::Sessions::MeterpreterOptions::Common
Defined in:
lib/msf/base/sessions/meterpreter_options/osx.rb

Overview

Defines common options across all Meterpreter implementations

Instance Method Summary collapse

Instance Method Details

#initialize(info = {}) ⇒ Object



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/msf/base/sessions/meterpreter_options/osx.rb', line 12

def initialize(info = {})
  super(info)

  register_advanced_options(
    [
      OptString.new(
        'AutoLoadExtensions',
        [true, 'Automatically load extensions on bootstrap, comma separated.', 'stdapi']
      ),
      OptString.new(
        'PayloadProcessCommandLine',
        [ false, 'The displayed command line that will be used by the payload', '']
      ),
    ],
    self.class
  )
end