Fixes #261. Default the exploit arch to x86 so we dont match on the wrong payloads
git-svn-id: file:///home/svn/framework3/trunk@5959 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
a585fca827
commit
412e4a27ef
|
@ -671,6 +671,7 @@ class Exploit < Msf::Module
|
|||
|
||||
c_platform = (target and target.platform) ? target.platform : platform
|
||||
c_arch = (target and target.arch) ? target.arch : (arch == []) ? nil : arch
|
||||
c_arch ||= [ ARCH_X86 ]
|
||||
|
||||
framework.payloads.each_module(
|
||||
'Platform' => c_platform,
|
||||
|
|
Loading…
Reference in New Issue