30 lines
496 B
Ruby
30 lines
496 B
Ruby
##
|
|
# $Id: meterpreter_options.rb 10595 2010-10-08 04:11:47Z hdm $
|
|
##
|
|
|
|
require 'msf/base/sessions/meterpreter'
|
|
require 'msf/windows_error'
|
|
|
|
module Msf
|
|
module Sessions
|
|
|
|
###
|
|
#
|
|
# This class creates a platform-specific meterpreter session type
|
|
#
|
|
###
|
|
class Meterpreter_x64_Win < Msf::Sessions::Meterpreter
|
|
def initialize(rstream, opts={})
|
|
super
|
|
self.platform = 'x64/win64'
|
|
self.binary_suffix = 'x64.dll'
|
|
end
|
|
|
|
def lookup_error(code)
|
|
Msf::WindowsError.description(code)
|
|
end
|
|
end
|
|
|
|
end
|
|
end
|