From 16cead76a1886c1c322c64796563360cc34ab41e Mon Sep 17 00:00:00 2001 From: Omar Santos Date: Thu, 26 Sep 2019 22:16:42 -0400 Subject: [PATCH] Update Vagrantfile --- build_your_own_lab/websploit/Vagrantfile | 26 +++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/build_your_own_lab/websploit/Vagrantfile b/build_your_own_lab/websploit/Vagrantfile index 38f9992..d0c98de 100644 --- a/build_your_own_lab/websploit/Vagrantfile +++ b/build_your_own_lab/websploit/Vagrantfile @@ -31,18 +31,21 @@ Vagrant.configure("2") do |config| #installing Docker apt-get install -y docker.io - #instantiating Docker containers - - docker run --name hackazon -d --restart unless-stopped -p 80:80 santosomar/hackazon + # setup containers docker run --name webgoat -d --restart unless-stopped -p 6661:8080 -t santosomar/webgoat docker run --name juice-shop --restart unless-stopped -d -p 6662:3000 santosomar/juice-shop docker run --name dvwa --restart unless-stopped -itd -p 6663:80 santosomar/dvwa docker run --name mutillidae_2 --restart unless-stopped -d -p 6664:80 santosomar/mutillidae_2 - docker run --name bwapp2 --restart unless-stopped -d -p 8081:80 santosomar/bwapp - #bwapp - go to /install.php then user/pass is bee/bug - #docker run --name vapp2 --restart unless-stopped -d -p 9090:80 santosomar/vuln_app + docker run --name bwapp2 --restart unless-stopped -d -p 6665:80 santosomar/bwapp + docker run --name dvna --restart unless-stopped -d -p 6666:9090 santosomar/dvna + docker run --name hackazon -d --restart unless-stopped -p 6667:80 santosomar/hackazon + docker run --name hackme-rtov -d --restart unless-stopped -p 9000:80 santosomar/hackme-rtov - #changing h4cker_wallpaper + # for bwapp - go to /install.php then user/pass is bee/bug + # not ready for prod: + # docker run --name vapp2 --restart unless-stopped -d -p 9090:80 santosomar/vuln_app + + #setting up look and feel cd /root/Pictures wget https://h4cker.org/img/h4cker_wallpaper.png gsettings set org.gnome.desktop.background picture-uri "file:///root/Pictures/h4cker_wallpaper.png" @@ -55,5 +58,14 @@ Vagrant.configure("2") do |config| curl -L https://testssl.sh --output testssl.sh chmod +x testssl.sh + #Installing Jupyter Notebooks + apt install -y jupyter-notebook + + #Installing radamnsa + cd /root + git clone https://gitlab.com/akihe/radamsa.git && cd radamsa && make && sudo make install + clear + echo "All set! Have fun! - Ωr" + SHELL end