šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

github.com/plazmaz/mongodb-honeyproxy

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/plazmaz/mongodb-honeyproxy

v0.0.0-20230220011619-45edbf8bba3d
Source
Go
Version published
Created
Source

DO NOT USE THIS WITH A REAL DATABASE

Intro

MongoDB-HoneyProxy was created in response to the 'MongoDB Apocalypse'

Pre-requisites:

  • sudo apt-get install nodejs npm gcc g++
  • You'll also need to install MongoDB for this to function, as this project works as a logging proxy.

Setup

  • Create a MongoDB database. Some good dummy data can be found here. Another good tool is JSON Generator, which generates fake json that can then be converted to bson.
  • Then, install the project
git clone https://github.com/Plazmaz/MongoDB-HoneyProxy.git
cd MongoDB-HoneyProxy
npm install
  • To run the project, simply use node index.js

Docker version

If you want to have a Docker version of that, you can run the following programs:

  • Build a docker image:
docker build --tag="changeme" .
  • Run a docker image:
docker run -d -p 27017:27017 --name="changeme" changeme

If you want to get inside of the container run this:

docker exec -it changeme bash

FAQs

Package last updated on 20 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts