2012-06-29 05:18:28 +00:00
|
|
|
# -*- coding: binary -*-
|
2010-10-08 19:36:34 +00:00
|
|
|
|
2009-08-01 03:50:40 +00:00
|
|
|
require 'msf/base/sessions/meterpreter'
|
2010-10-08 19:36:34 +00:00
|
|
|
require 'msf/windows_error'
|
2009-08-01 03:50:40 +00:00
|
|
|
|
|
|
|
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
|
2016-10-27 21:16:05 +00:00
|
|
|
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
|
2017-06-14 12:04:25 +00:00
|
|
|
|
|
|
|
def supports_ssl?
|
|
|
|
false
|
|
|
|
end
|
2009-08-01 03:50:40 +00:00
|
|
|
end
|
2009-08-01 04:08:25 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|