Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rapid7
GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/msf/base/sessions/meterpreter_options/java.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::Java
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
],
22
self.class
23
)
24
end
25
end
26
end
27
end
28
29