diff --git a/setup_wargame.sh b/setup_wargame.sh index 75d61fa..45a26d7 100644 --- a/setup_wargame.sh +++ b/setup_wargame.sh @@ -3,11 +3,20 @@ ######################################### # Pre-install checks ######################################### + +# Warn the user about running this on their host machine +# (because it makes various invasive settings-changes, and runs a ton of vulnerable services) +echo -e "\x1b[31;1mDON'T RUN THIS ON YOUR REAL COMPUTER\x1b[0m" +echo -e "If you're running this on your real computer, \x1b[31;1mpress control-c NOW\x1b[0m to stop this script." +sleep 10 + if [ "$USER" != 'root' ]; then echo "ERROR: Script must be run using root!" exit fi +echo -e "\x1b[32;1mProceeding with the installation.\x1b[0m" + ######################################### # Per-Machine Install Variables #########################################