File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -162,14 +162,14 @@ def session_compatible?(sess_or_sid)
162
162
163
163
# Types are okay, now check the platform.
164
164
if self . platform and self . platform . kind_of? ( Msf ::Module ::PlatformList )
165
- return false unless self . platform . supports? ( Msf ::Module ::PlatformList . transform ( s . base_platform ) )
165
+ return false unless self . platform . supports? ( Msf ::Module ::PlatformList . transform ( s . platform ) )
166
166
end
167
167
168
168
# Check to make sure architectures match
169
169
mod_arch = self . module_info [ 'Arch' ]
170
170
unless mod_arch . nil?
171
171
mod_arch = [ mod_arch ] unless mod_arch . kind_of? ( Array )
172
- return false unless mod_arch . include? s . base_arch
172
+ return false unless mod_arch . include? s . arch
173
173
end
174
174
175
175
# If we got here, we haven't found anything that definitely
You can’t perform that action at this time.
0 commit comments