2010-10-08 19:36:34 +00:00
|
|
|
##
|
|
|
|
# $Id: meterpreter_options.rb 10595 2010-10-08 04:11:47Z hdm $
|
|
|
|
##
|
|
|
|
|
2009-09-03 17:47:21 +00:00
|
|
|
require 'msf/base/sessions/meterpreter'
|
2010-10-08 19:36:34 +00:00
|
|
|
require 'msf/windows_error'
|
2009-09-03 17:47:21 +00:00
|
|
|
|
|
|
|
module Msf
|
|
|
|
module Sessions
|
|
|
|
|
|
|
|
###
|
|
|
|
#
|
|
|
|
# This class creates a platform-specific meterpreter session type
|
|
|
|
#
|
|
|
|
###
|
|
|
|
class Meterpreter_x64_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 = 'x64/win64'
|
|
|
|
self.binary_suffix = 'x64.dll'
|
2009-09-03 17:47:21 +00:00
|
|
|
end
|
2010-10-08 19:36:34 +00:00
|
|
|
|
|
|
|
def lookup_error(code)
|
|
|
|
Msf::WindowsError.description(code)
|
|
|
|
end
|
2009-09-03 17:47:21 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|