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

Make datastore to_h sane #19890

Merged
merged 2 commits into from
Feb 18, 2025
Merged

Conversation

sjanusz-r7
Copy link
Contributor

@sjanusz-r7 sjanusz-r7 commented Feb 18, 2025

This PR bumps the metasploit_data_models gem version.
It also makes the datastore to_h method more sane, and removes the coalescing of values to a string, making this method more aligned with a programmer's expectations.

Requires the serialization changes from here:rapid7/metasploit_data_models#207

Verification

  • Start msfconsole
  • Ensure you can use, save & run a module with options
  • Ensure you can get a session with specified options
  • Passing CI

Persistence Workflow

Persistence works as expected, with the steps taken from #19002
image

Copy link
Contributor

@adfoster-r7 adfoster-r7 left a comment

Choose a reason for hiding this comment

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

Looks good to me on 🍏

@sjanusz-r7 sjanusz-r7 force-pushed the make-datastore-to_h-sane branch from 339319d to ecba7db Compare February 18, 2025 15:36
@adfoster-r7
Copy link
Contributor

We should verify that these workflows work as expected still: #19002

@adfoster-r7 adfoster-r7 merged commit 8f00370 into rapid7:master Feb 18, 2025
73 checks passed
@adfoster-r7
Copy link
Contributor

adfoster-r7 commented Feb 18, 2025

Release Notes

Fixes a bug that caused persisted jobs to be stored as empty strings instead of nil values, and fixes a bug in Metasploit Pro's replay module capabilities.

@adfoster-r7 adfoster-r7 added the rn-fix release notes fix label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn-fix release notes fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants