Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Windows oddity in java's process launch library #724

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

smashery
Copy link
Contributor

@smashery smashery commented Oct 15, 2024

One test case slipped through the cracks: Java on Windows. This fixes those test failures.

Verification

  • In MSF, check out the new_cmd_exec branch
  • Build the java solution (run make when in a directory adjacent to MSF)
  • Create a java payload (java/meterpreter/reverse_tcp), and run it on Windows
  • Catch the shell in MSF - validate that it warns that 'ext_server_stdapi.jar is being used`
  • loadpath test/modules/
  • use post/test/cmd_exec
  • run with the captured session
  • Validate that all tests pass

@adfoster-r7 adfoster-r7 marked this pull request as ready for review October 15, 2024 11:45
@adfoster-r7
Copy link
Contributor

Automated tests passing when pointing rapid7/metasploit-framework#19108 to this pull request

image

@adfoster-r7 adfoster-r7 merged commit b697cc5 into rapid7:master Oct 15, 2024
25 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants