Use constants for base_arch

bug/bundler_fix
OJ 2016-10-29 08:10:44 +10:00
parent d201c5bccc
commit a7485c4bba
No known key found for this signature in database
GPG Key ID: D5DC61FB93260597
10 changed files with 10 additions and 10 deletions

View File

@ -20,7 +20,7 @@ class Meterpreter_Java_Java < Msf::Sessions::Meterpreter
def initialize(rstream, opts={})
super
self.base_platform = 'java'
self.base_arch = 'java'
self.base_arch = ARCH_JAVA
end
end

View File

@ -20,7 +20,7 @@ class Meterpreter_mipsbe_Linux < Msf::Sessions::Meterpreter
def initialize(rstream, opts={})
super
self.base_platform = 'linux'
self.base_arch = 'mipsbe'
self.base_arch = ARCH_MIPSBE
end
end

View File

@ -20,7 +20,7 @@ class Meterpreter_Php_Php < Msf::Sessions::Meterpreter
def initialize(rstream, opts={})
super
self.base_platform = 'php'
self.base_arch = 'php'
self.base_arch = ARCH_PHP
end
end

View File

@ -87,7 +87,7 @@ class Meterpreter_Python_Python < Msf::Sessions::Meterpreter
def initialize(rstream, opts={})
super
self.base_platform = 'python'
self.base_arch = 'python'
self.base_arch = ARCH_PYTHON
end
def lookup_error(error_code)

View File

@ -20,7 +20,7 @@ class Meterpreter_x64_Mettle_Linux < Msf::Sessions::Meterpreter
def initialize(rstream, opts={})
super
self.base_platform = 'linux'
self.base_arch = 'x64'
self.base_arch = ARCH_X64
end
end

View File

@ -15,7 +15,7 @@ class Meterpreter_x64_Win < Msf::Sessions::Meterpreter
def initialize(rstream, opts={})
super
self.base_platform = 'windows'
self.base_arch = 'x64'
self.base_arch = ARCH_X64
end
def lookup_error(code)

View File

@ -14,7 +14,7 @@ class Meterpreter_x86_BSD < Msf::Sessions::Meterpreter
def initialize(rstream, opts={})
super
self.base_platform = 'bsd'
self.base_arch = 'x86'
self.base_arch = ARCH_X86
end
end

View File

@ -14,7 +14,7 @@ class Meterpreter_x86_Linux < Msf::Sessions::Meterpreter
def initialize(rstream, opts={})
super
self.base_platform = 'linux'
self.base_arch = 'x86'
self.base_arch = ARCH_X86
end
end

View File

@ -20,7 +20,7 @@ class Meterpreter_x86_Mettle_Linux < Msf::Sessions::Meterpreter
def initialize(rstream, opts={})
super
self.base_platform = 'linux'
self.base_arch = 'x86'
self.base_arch = ARCH_X86
end
end

View File

@ -15,7 +15,7 @@ class Meterpreter_x86_Win < Msf::Sessions::Meterpreter
def initialize(rstream,opts={})
super
self.base_platform = 'windows'
self.base_arch = 'x86'
self.base_arch = ARCH_X86
end
def lookup_error(code)