Sha256: 8335997861d18cdb198d5841fbcfdadc48e3dedaab1bda6b41ee9be7d158b6fe
Contents?: true
Size: 812 Bytes
Versions: 2
Compression:
Stored size: 812 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: binary -*- $:.unshift(File.join(File.dirname(__FILE__), '..','..','..','..','..', '..', '..', 'lib')) require 'rex/post/meterpreter/extensions/stdapi/railgun/platform_util' require 'rex/post/meterpreter/extensions/stdapi/railgun/mock_magic' require 'test/unit' module Rex module Post module Meterpreter module Extensions module Stdapi module Railgun class PlatformUtil::UnitTest < Test::Unit::TestCase def test_parse_client_platform assert_equal(PlatformUtil.parse_client_platform('x86/win32'), PlatformUtil::X86_32, 'parse_client_platform should translate Win32 client platforms') assert_equal(PlatformUtil.parse_client_platform('x86/win64'), PlatformUtil::X86_64, 'parse_client_platform should translate Win64 client platforms') end end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
librex-0.0.68 | lib/rex/post/meterpreter/extensions/stdapi/railgun/platform_util.rb.ut.rb |
librex-0.0.66 | lib/rex/post/meterpreter/extensions/stdapi/railgun/platform_util.rb.ut.rb |