Last active
October 31, 2023 03:08
-
-
Save zsarge/d97d4cd097757a32bb4b033088e1f0d4 to your computer and use it in GitHub Desktop.
Install OWASP PyGoat and WebGoat VM from OneDrive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# contains no hidden info, fyi | |
YOUR_ONEDRIVE_SHARE_LINK="https://mymailnku-my.sharepoint.com/:u:/g/personal/sargentz1_mymail_nku_edu/EVMxZ0hCDfZMnKpeqHpVpZQB-utsXsOBxYgVWtQuhyLUig?e=hPj1Zq&download=1" | |
install_path="/tmp/install_pygoat" | |
mkdir -p "$install_path" | |
cd "$install_path" | |
echo "installing Virtual Box & Juice Shop VM" | |
sudo apt-get update -y | |
sudo apt-get install virtualbox -y | |
echo "downloading..." | |
wget "$YOUR_ONEDRIVE_SHARE_LINK" -O PyGoat.ova | |
echo "importing..." | |
vboxmanage import PyGoat.ova | |
cd "/" | |
rm -rf "$install_path" | |
echo "Done!" | |
date | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment