A nodejs web application honeypot
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
.vagrant/machines/default/virtualbox
docker
downloads
html
openshift
puppet
template
test
vagrant
.gitignore
Nodepot.iml
README.md
TODO.txt
analyzer.js
app.js
corecheck.sh
createopenshift.sh
db.js
dbcore.js
downloader.js
filehandler.js
history.txt
mailer.js
nodepot.sh
openshift.txt
package.json
reporter.js
server.js
servercore.js
test.js
twitter.js
utils.js

README.md

Nodepot

Version 0.36: 14.05.2015

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

  • not production ready !!! -

A nodejs web application honeypot designed to run in small environments such as Raspberry PI / Cubietrack

Background:

With Glaspot Lukas did a great job. Nodepot was initially started as a pure learning project for NodeJS.

Needed things (Openshift):

See openshift.txt

Needed things (Ubuntu/Debian):

apt-get install nodejs redis-server curl npm will install all needed components. npm install --save string crypto redis moment (NOT NEEDED) npm install nodemailer --save npm install emailjs --save npm install twit npm install string npm install nodejs-hpfeeds

On a plain vanilla Debian system add the following

npm install put npm install binary

If the npm call fails, run the following code to fix the entry.

npm config set registry http://registry.npmjs.org/

IMPORTANT: Copy an adapted version of the config.js file (./template) to /etc/nodepot/config.js

Standard install directory should be /opt/Nodepot

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

If you want to include a check in your crontab for the running service, please add e.g. with a 5 minute interval the following call to your crontab:

/opt/Nodepot/nodepot.sh

Internally it will call corecheck.sh for some additional stuff.

Contact:

markus@mschmall.de flakedev on twitter