Skip to content

Mongodb Aux Modules - #21785

Open
h00die wants to merge 6 commits into
rapid7:masterfrom
h00die:mongodb_schemadump
Open

Mongodb Aux Modules#21785
h00die wants to merge 6 commits into
rapid7:masterfrom
h00die:mongodb_schemadump

Conversation

@h00die

@h00die h00die commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Description

MongoDB is sorely missing capabilities. mysql/mssql/postgres have hash dumpers, login, version, schema dumping, lots of fun stuff. However, nobody seems to want to give Mongo some <3 except Gregory Man, who is the man.

This PR adds:

  1. Adds: mongodb_version scanner
  2. Updates: mongodb_login to work on >=3.0 mongodb (new auth mechanisms)
  3. Adds: mongodb_schemadump
  4. Adds: mongodb_hashdump

Notably this is not a full new hash capability since thats a long and arduous process, this just adds the dumping capabilities for the time being (theyre in hashcat format)

Reviewer Notes

There are several modules in this PR, and while thats not typical and can be a bit of a pain, the version portion is part of login, the login portion is part of schema and hash dump, so it felt all similar.

Verification Steps

See module docs for each module

AI Usage Disclosure

Gemini assisted in making schemadump, and updating login. GLM-4.7 assisted wtih version and hashdump. I did the verification, removed extraneous things, made them work more how MSF users would think they work, and wrote all the docs (therefore, theyre poorer quality than AI would make, but at least the Scenarios sections are legit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants