Skip to content

Commit

Permalink
checkin for version 0.35
Browse files Browse the repository at this point in the history
  • Loading branch information
schmalle committed Feb 19, 2015
1 parent 8ab23d2 commit ed65fac
Show file tree
Hide file tree
Showing 7 changed files with 880 additions and 448 deletions.
421 changes: 421 additions & 0 deletions .idea/dbnavigator.xml

Large diffs are not rendered by default.

858 changes: 420 additions & 438 deletions .idea/workspace.xml

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Nodepot
=======

Version 0.34: 10.02.2015
Version 0.35: 19.02.2015

Thanks to Angelo Dell'Aera and Andrea De Pasquale for testing.

Expand Down Expand Up @@ -48,6 +48,8 @@ Startup

nodejs app.js will start the server. Please ensure that redis (http://redis.io/) is running.

Optionally as additional parameter you can pass the location / name of the configfile.


Crontab
-------
Expand Down
23 changes: 18 additions & 5 deletions docker/Docker.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,28 @@
The official Nodepot dockerhub image is build as follows

docker build --no-cache -t="schmalle/nodepot" .
docker build --no-cache -t="honeynet/nodepot" .

To start the container nodepot_ins based on the container nodepot img and active a shell, use this
command:

docker run -name nodepot_ins -p 8889:8888 -t -i schmalle/nodepot /bin/bash
docker run -name nodepot_ins -p 8889:8889 -t -i honeynet/nodepot /bin/bash

To start the container named "nodepot_ins" based on the container "schmalle/nodepot" and boot up the honeypot,
To start the container named "nodepot_ins" based on the container "honeynet/nodepot" and boot up the honeypot,
do a:

docker run -name nodepot_ins -d -p 8889:8888 schmalle/nodepot /opt/Nodepot/docker/nodepotstart.sh
docker run -name nodepot_ins -d -p 8889:8889 honeynet/nodepot /opt/Nodepot/docker/nodepotstart.sh

HINT FOR Mac OS X users: Run a "boot2docker ip" command to retrieve the IP address for your container !!!
If you want to pass a directory to the docker environemt, use a command like

docker run -name nodepot_ins -p 8889:8889 -t -v /Users/markus/html:/data -v /Users/markus/config:/config -v /Users/markus/logs:/logs -i honeynet/nodepot /bin/bash

If you want to run docker from inside a Vagrant box,

docker run -name nodepot_ins -p 8889:8889 -t -v /data:/data -v /config:/config -v /logs:/logs -i honeynet/nodepot /bin/bash


HINT FOR Mac OS X users: Run a "boot2docker ip" command to retrieve the IP address for your container !!!

...

sudo mount -t vboxsf wd ~/share/
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ RUN sudo apt-get -y install nodejs git redis-server curl npm
RUN sudo npm install --save string crypto redis moment
RUN sudo npm install nodemailer --save
RUN sudo npm install emailjs --save
RUN sudo npm install twit string nodejs-hpfeeds
RUN sudo npm install put binary
RUN sudo npm install urlencode
RUN sudo npm install twit string nodejs-hpfeeds put binary urlencode

#--registry=http://r.cnpmjs.org
RUN sudo npm install forever -g

EXPOSE 8888

Expand Down
10 changes: 10 additions & 0 deletions docker/nodepotstartconfig.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

#
# start redis db and the nodepot honeypot with a new given location for the configfile
#

/usr/bin/redis-server &
cd /opt/Nodepot
nodejs app.js $1

6 changes: 5 additions & 1 deletion history.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ Version 0.33 (06.12.2014)

Version 0.34 (10.02.2015)

- added configurable path for html templates
- added configurable path for html templates

Version 0.35 (19.02.2015)

- added some bug fixes for fs stuff

0 comments on commit ed65fac

Please sign in to comment.