Skip to content

A honeypot proxy for mongodb. When run, this will proxy and log all traffic to a dummy mongodb server.

License

Notifications You must be signed in to change notification settings

Plazmaz/MongoDB-HoneyProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  1. Build a docker image:
docker build --tag="changeme" .
  1. 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

About

A honeypot proxy for mongodb. When run, this will proxy and log all traffic to a dummy mongodb server.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •