Skip to content

Conversation

@msutovsky-r7
Copy link
Contributor

This fixes a typo in msf/util/exe.rb:

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)

This bug was causing failure, when generating Windows x64 payloads.

Copy link
Contributor

@dledda-r7 dledda-r7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, waiting CI

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Metasploit Kanban Jan 7, 2026
@dledda-r7 dledda-r7 merged commit 23b86eb into rapid7:master Jan 7, 2026
19 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Metasploit Kanban Jan 7, 2026
@smcintyre-r7 smcintyre-r7 added the rn-no-release-notes no release notes label Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants