- Click the button below and follow the instructions
This is the quickest way to get a running instance! If you have forked this repository, the deploy button will automatically pick up your fork for deployment! As long as you do not perform any DDoS attacks you are free to use any tools or scripts to hack your instance on Heroku!
- Install node.js
- Run
git clone https://github.com/MrBoy31/wargame-web.git
(or clone your own fork of the repository) - Go into the cloned folder with
cd wargame-web
- Run
npm install
(only has to be done before first start or when you change the source code) - Run
npm start
- Browse to http://localhost:3000
- Install Docker
- Run
docker pull MrBoy31/wargame-web
- Run
docker run -d -p 3000:3000 MrBoy31/wargame-web
- Browse to http://localhost:3000 (on macOS and Windows browse to http://192.168.99.100:3000 if you are using docker-machine instead of the native docker installation )
- Install and launch Docker Toolbox
- Search for
wargame-web
and click Create to download image and run container - Click on the Open icon next to Web Preview to browse to OWASP Juice Shop
- Setup an Amazon Linux AMI instance
- In Step 3: Configure Instance Details unfold Advanced Details and copy the script below into User Data
- In Step 6: Configure Security Group add a Rule that opens port 80 for HTTP
- Launch instance
- Browse to your instance's public DNS
#!/bin/bash
yum update -y
yum install -y docker
service docker start
docker pull MrBoy31/wargame-web
docker run -d -p 80:3000 MrBoy31/wargame-web
Technically Amazon could view hacking activity on any EC2 instance as an attack on their AWS infrastructure! We highly discourage aggressive scanning or automated brute force attacks! You have been warned!
- Install Vagrant and Virtualbox
- Run
git clone https://github.com/MrBoy31/wargame-web.git
(or clone your own fork of the repository) - Run
cd vagrant && vagrant up
- Browse to 192.168.33.10
To show the possible impact of XSS, assume you received and (of course) clicked this inconspicuous phishing link and login. Apart from the visual/audible effect, the attacker also installed an input logger to grab credentials! This could easily run on a 3rd party server in real life!
This feature is only available when running a Vagrant box. A recording of the effect is available on Youtube: 📺
The following versions of node.js are supported, in line as close as possible with the official node.js LTS schedule. Docker images and packaged distributions are offered accordingly:
node.js | Docker image | Packaged distributions |
---|---|---|
6.x | latest (current official release), snapshot (preview from develop branch) |
wargame-web-<version>_node6_windows_x64.zip , wargame-web-<version>_node6_linux_x64.tgz |
8.x | wargame-web-<version>_node8_windows_x64.zip , wargame-web-<version>_node8_linux_x64.tgz |