https://github.com/karmatr0n/mongodb_scanner
This a MongoDB scanner written in Ruby.
https://github.com/karmatr0n/mongodb_scanner
bindata mongodb networking ruby scanner scanning security
Last synced: 5 months ago
JSON representation
This a MongoDB scanner written in Ruby.
- Host: GitHub
- URL: https://github.com/karmatr0n/mongodb_scanner
- Owner: karmatr0n
- License: mit
- Created: 2023-07-24T22:25:18.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-11T16:52:05.000Z (over 2 years ago)
- Last Synced: 2024-01-28T01:14:05.305Z (over 2 years ago)
- Topics: bindata, mongodb, networking, ruby, scanner, scanning, security
- Language: Ruby
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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 -p
```
or
```
bin/mongodb_scanner --help
```
LICENSE
-------
MIT
References
----------
* [Ruby](https://www.ruby-lang.org/en/)
* [BinData](https://github.com/dmendel/bindata)
* [BSON](https://github.com/mongodb/bson-ruby)
* [OpenSSL for Ruby](https://github.com/ruby/openssl)
* [minitest](https://github.com/minitest/minitest)