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).
- Ruby 3.2.2
- Bindata
- BSON
- OpenSSL
bundle install
bin/mongodb_scanner -i <ip> -p <port>
or
bin/mongodb_scanner --help
MIT