CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/msf/base/sessions/meterpreter_java.rb
Views: 11623
1
# -*- coding: binary -*-
2
3
4
module Msf
5
module Sessions
6
7
###
8
#
9
# This class creates a platform-specific meterpreter session type
10
#
11
###
12
class Meterpreter_Java_Java < Msf::Sessions::Meterpreter
13
def supports_ssl?
14
false
15
end
16
def supports_zlib?
17
false
18
end
19
def initialize(rstream, opts={})
20
super
21
self.base_platform = 'java'
22
self.base_arch = ARCH_JAVA
23
end
24
25
def native_arch
26
@native_arch ||= self.core.native_arch
27
end
28
end
29
30
end
31
end
32
33