Skip to content

Conversation

zeroSteiner
Copy link
Contributor

This fixes an issue in the #load_metadata method where if @path_to_user_metadata was nil, the ::File.exists? check would crash. This was causing an issue on Pro when the Framework was being initialized and for whatever reason the user metadata path wasn't set. It probably makes sense to set the metadata, but given that there's a code path where it's not, we should only be using it when it is. This will at least make sure the framework can be initialized, albeit possibly slower without the cache.

Verification

  • Start msfconsole
  • See the framework loads

@smcintyre-r7 smcintyre-r7 added library rn-fix release notes fix labels Sep 11, 2025
@mwalas-r7 mwalas-r7 self-requested a review September 11, 2025 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
library rn-fix release notes fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants