#This script will automate adding all of our additions and changes on top of a vanilla intallation of Kali Linux.
#It has not been tested with Parrot.
function pause(){
read -p "$*"
}
#Root check!
if["$EUID" -ne 0]
then
whiptail --backtitle "Pentest Conversion Script" --title "Welcome" --msgbox "You are not signed in as root. This script will prompt for sudo as needed."779
fi
whiptail --backtitle "Pentest Conversion Script" --title "Welcome" --msgbox "This script will add our changes on top of your Kali installation."770
REPO=$(whiptail --backtitle "Pentest Conversion Script" --title "Repository" --menu "Which repository are you going to use?"10602\
"default""The distribution's default repository"\
"local""A repository hosted on your local network" 3>&1 1>&2 2>&3)
if[$REPO=="local"];
then
REPO=$(whiptail --backtitle "Pentest Conversion Script" --title "Local Repository" --inputbox "What is the IP address of your local repository?"\
if(whiptail --backtitle "Pentest Conversion Script" --title "Complete" --yesno "The script is now complete. A reboot is recommended.\nWould you like to reboot now?"10 60)
then
whiptail --backtitle "Pentest Conversion Script" --title "Rebooting!" --msgbox "Thank you for using this script. Enjoy your new Kali!"860
sudo reboot
else
whiptail --backtitle "Pentest Conversion Script" --title "Finished!" --msgbox "Thank you for using this script. Enjoy your new Kali!"830