diff --git a/external_pentest.sh b/external_pentest.sh index c008aae..b7e4369 100644 --- a/external_pentest.sh +++ b/external_pentest.sh @@ -17,6 +17,7 @@ for dependency in "${dependencies[@]}"; do read -p "Do you want to install it now? [y/n] " install_choice if [[ "$install_choice" =~ ^[Yy]$ ]]; then # Install the dependency (replace with appropriate command for your system) + sudo apt-get update sudo apt-get install "$dependency" # Example for Debian/Ubuntu echo -e "\e[1;32m Finished installing dependencies, Starting Script \e[0m" sleep 2.5