Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 847 Bytes

README.md

File metadata and controls

46 lines (37 loc) · 847 Bytes

MongoDB Scanner

This a basic MongoDB scanner written in Ruby to collect the following information:

  • Hello handshake response (Wired version protocol, isWritablePrimary, SSL support, etc).
  • BuildInfo (Version, Operating System, etc).
  • Database list (if those are not protected by authentication).

Requirements

  • Ruby 3.2.2
  • Bindata
  • BSON
  • OpenSSL

How to install dependencies

bundle install

Usage

bin/mongodb_scanner -i <ip> -p <port>

or

bin/mongodb_scanner --help

LICENSE

MIT

References