diff --git a/modules/exploits/windows/smb/psexec_psh.rb b/modules/exploits/windows/smb/psexec_psh.rb index 12536f7bfd..24147368c7 100644 --- a/modules/exploits/windows/smb/psexec_psh.rb +++ b/modules/exploits/windows/smb/psexec_psh.rb @@ -16,7 +16,6 @@ class Metasploit3 < Msf::Exploit::Remote # Exploit mixins should be called first include Msf::Exploit::Remote::SMB::Psexec include Msf::Exploit::Powershell - include Msf::Exploit::EXE def initialize(info = {}) super(update_info(info, @@ -53,6 +52,7 @@ class Metasploit3 < Msf::Exploit::Remote 'DisableNops' => true, 'StackAdjustment' => -3500 }, + 'Arch' => [ ARCH_X86, ARCH_X86_64 ], 'Platform' => 'win', 'Targets' => [