Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/msf/util/exe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def self.to_executable(framework, arch, plat, code = '', opts = {})

if plat.index(Msf::Module::Platform::Windows)
return to_win32pe(framework, code, opts) if arch.index(ARCH_X86)
return to_win64pe(framework, code, opts) if arch.index(ARCH_X86)
return to_win64pe(framework, code, opts) if arch.index(ARCH_X64)
elsif plat.index(Msf::Module::Platform::Linux)
return to_linux_armle_elf(framework, code, opts) if arch.index(ARCH_ARMLE)
return to_linux_armbe_elf(framework, code, opts) if arch.index(ARCH_ARMBE)
Expand Down