Module: Rex::Post::Meterpreter::Extensions::Stdapi::Railgun::PlatformUtil

Defined in:
lib/rex/post/meterpreter/extensions/stdapi/railgun/platform_util.rb

Constant Summary collapse

X86_64 =
:x86_64
X86_32 =
:x86_32

Class Method Summary collapse

Class Method Details

.parse_client_platform(meterp_client_platform) ⇒ Object



13
14
15
# File 'lib/rex/post/meterpreter/extensions/stdapi/railgun/platform_util.rb', line 13

def self.parse_client_platform(meterp_client_platform)
  meterp_client_platform =~ /win64/ ? X86_64 : X86_32
end