VulnLogin is a simple vulnerable login page for demonstrating different cyber security tools.
hydra!| Username |
|---|
| admin |
| root |
| guest |
| michael |
These instructions are for setting this up on a Linux system.
# install node.js
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
sudo apt-get install -y nodejs gcc g++ make
# install yarn package manager
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
# get all the vulnlogin code from github and install dependencies
git clone https://github.com/jake-walker/vulnlogin
cd vulnlogin
yarn install
# run vulnlogin
node index.js
If you will be running this for long periods (e.g as a demo), it might be worth setting up something like pm2 to manage the process by auto-restarting on crash, etc..
# install pm2
yarn global add pm2
# start vulnlogin with pm2
pm2 start /path/to/vulnlogin/index.js --name vulnlogin
# start pm2 on boot
pm2 startup
pm2 save
Run on port 80 without root: http://pm2.keymetrics.io/docs/usage/specifics/#listening-on-port-80-w-o-root
Content type
Image
Digest
Size
24.1 MB
Last updated
almost 7 years ago
docker pull jakewalker/vulnlogin