metasploit-framework/lib/msf/base/sessions/meterpreter_java.rb

32 lines
408 B
Ruby
Raw Normal View History

##
# $Id$
##
require 'msf/base/sessions/meterpreter'
module Msf
module Sessions
###
#
# This class creates a platform-specific meterpreter session type
#
###
class Meterpreter_Java_Java < Msf::Sessions::Meterpreter
def supports_ssl?
false
end
def supports_zlib?
false
end
def initialize(rstream, opts={})
super
self.platform = 'java/java'
self.binary_suffix = 'jar'
end
end
end
end