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
4 changes: 3 additions & 1 deletion lib/msf/util/exe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ def to_executable_fmt(framework, arch, plat, code, fmt, exeopts)
to_win32pe(framework, code, exeopts)
when ARCH_X64
to_win64pe(framework, code, exeopts)
when ARCH_AARCH64
to_winaarch64pe(framework, code, exeopts)
end
when 'exe-service'
case arch
Expand All @@ -154,7 +156,7 @@ def to_executable_fmt(framework, arch, plat, code, fmt, exeopts)
case arch
when ARCH_X86, nil
to_winpe_only(framework, code, exeopts)
when ARCH_X64
when ARCH_X64, ARCH_AARCH64
to_winpe_only(framework, code, exeopts, arch)
end
when 'msi'
Expand Down
Loading