Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rapid7
GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/msf/base/sessions/meterpreter_options/osx.rb
21094 views
1
# -*- coding: binary -*-
2
3
require 'shellwords'
4
5
module Msf
6
module Sessions
7
#
8
# Defines common options across all Meterpreter implementations
9
#
10
module MeterpreterOptions::OSX
11
include Msf::Sessions::MeterpreterOptions::Common
12
def initialize(info = {})
13
super(info)
14
15
register_advanced_options(
16
[
17
OptString.new(
18
'AutoLoadExtensions',
19
[true, 'Automatically load extensions on bootstrap, comma separated.', 'stdapi']
20
),
21
OptString.new(
22
'PayloadProcessCommandLine',
23
[ false, 'The displayed command line that will be used by the payload', '']
24
),
25
],
26
self.class
27
)
28
end
29
end
30
end
31
end
32
33