-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
880 additions
and
448 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters