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

Multiple marketplaces #115

Open
wants to merge 4 commits into
base: staging
Choose a base branch
from

Conversation

cramppet
Copy link

Sorry for the double pull request. Accidentally made the initial one against master and not staging.

I added basic support for having multiple marketplaces by using a YAML configuration file under ~/.recon-ng/marketplaces.yaml:

  • A default config file is generated with the default marketplace installed when no configuration exists
  • The marketplace interface is unchanged: install, refresh etc all work as before
  • Users can edit the YAML file to include their own 3rd party marketplace URL, assuming it meets the same interface as the provided default
  • Marketplaces are namespaced under the ~/.recon-ng/modules directory.
    • This allows for helpful command-line completion, as the marketplace name is now also part of the fully qualified module path (eg. cramppet/recon/domains-hosts/...)
  • Users can toggle the marketplace they are currently using with the marketplace set command
    • This toggles the base module path and forces a re-load of all modules
  • Users can view the marketplace they are currently using with the marketplace show command
  • Users now get an additional "marketplace" field with the marketplace search and marketplace info commands

I am open to any and all suggestions for improvements prior to inclusion.

Regards,
Peter Crampton

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