2010-10-08 19:36:34 +00:00
|
|
|
##
|
|
|
|
# $Id$
|
|
|
|
##
|
|
|
|
|
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
|
2010-04-03 05:21:15 +00:00
|
|
|
def initialize(rstream,opts={})
|
2010-01-22 19:47:36 +00:00
|
|
|
super
|
|
|
|
self.platform = 'x86/win32'
|
|
|
|
self.binary_suffix = 'dll'
|
2009-08-01 03:50:40 +00:00
|
|
|
end
|
2010-10-08 19:36:34 +00:00
|
|
|
|
|
|
|
def lookup_error(code)
|
|
|
|
Msf::WindowsError.description(code)
|
|
|
|
end
|
2009-08-01 03:50:40 +00:00
|
|
|
end
|
2009-08-01 04:08:25 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|