Trainig – Web Application Penetration Testing

TWAPT

Requirements

  • Docker
  • docker-compose

Webs

  • Webgoat: localhost:8080/WebGoat
  • DVWAP: localhost:8081
  • bwapp: localhost:8082/install.php
  • Juice-Shop: localhost:8083

Usage mode.

git clone https://github.com/MoisesTapia/TWAPT
cd TWAPT
docker-compose up -d

output

Creating network "cwapt_default" with the default driver
Creating dvwap     ... done
Creating juiceshop ... done
Creating bwapp     ... done
Creating webgoat   ... done

‘docker-compose ps’

➜  TWAPT git:(deploy) ✗ docker-compose ps
  Name                 Command               State               Ports             
-----------------------------------------------------------------------------------
bwapp       /run.sh                          Up      3306/tcp, 0.0.0.0:8082->80/tcp
dvwap       /main.sh                         Up      0.0.0.0:8081->80/tcp          
juiceshop   docker-entrypoint.sh npm start   Up      0.0.0.0:8083->3000/tcp        
webgoat     java -Djava.security.egd=f ...   Up      0.0.0.0:8080->8080/tcp        

Stoping the services

‘docker-compose stop or docker-compose down’

Docker Install

To run Railsgoat with Docker you must first have Docker and Docker Compose installed. Once those dependencies are installed, cd into the Railsgoat directory where you’ve cloned the code and run. Rails requires Compose 1.6.0 or above and require a Docker Engine of version 1.10.0 or above.

#~/code/railsgoat
$ docker-compose build
$ docker-compose run web rails db:setup
$ docker-compose up
...
  Creating railsgoat_web_1
  Attaching to railsgoat_web_1
$

Download: https://github.com/MoisesTapia/TWAPT

Please follow and like us:

Leave a Reply

Your email address will not be published. Required fields are marked *