Update session types to have base_platform and base_arch
parent
bf7e7ae4be
commit
6364e93ece
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue