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

32 lines
493 B
Ruby
Raw Normal View History

# -*- coding: binary -*-
require 'msf/base/sessions/meterpreter'
require 'msf/windows_error'
module Msf
module Sessions
###
#
# This class creates a platform-specific meterpreter session type
#
###
class Meterpreter_x86_Win < Msf::Sessions::Meterpreter
2013-08-30 21:28:33 +00:00
def initialize(rstream,opts={})
super
self.base_platform = 'windows'
2016-10-28 22:10:44 +00:00
self.base_arch = ARCH_X86
2013-08-30 21:28:33 +00:00
end
2011-11-20 01:11:40 +00:00
2013-08-30 21:28:33 +00:00
def lookup_error(code)
Msf::WindowsError.description(code)
end
def supports_ssl?
false
end
end
end
end