Update session types to have base_platform and base_arch

bug/bundler_fix
OJ 2016-10-29 12:45:37 +10:00
parent bf7e7ae4be
commit 6364e93ece
No known key found for this signature in database
GPG Key ID: D5DC61FB93260597
3 changed files with 6 additions and 3 deletions

View File

@ -16,7 +16,8 @@ class Meterpreter_Java_Android < Msf::Sessions::Meterpreter_Java_Java
def initialize(rstream, opts={})
super
self.platform = 'java/android'
self.base_platform = 'android'
self.base_arch = ARCH_JAVA
end
def load_android

View File

@ -19,7 +19,8 @@ class Meterpreter_armle_Linux < Msf::Sessions::Meterpreter
end
def initialize(rstream, opts={})
super
self.platform = 'armle/linux'
self.base_platform = 'linux'
self.base_arch = ARCH_ARMLE
end
end

View File

@ -19,7 +19,8 @@ class Meterpreter_mipsle_Linux < Msf::Sessions::Meterpreter
end
def initialize(rstream, opts={})
super
self.platform = 'mipsle/linux'
self.base_platform = 'linux'
self.base_arch = ARCH_MIPSLE
end
end