Add new dependency from Kali.

This commit is contained in:
Kaj Forney 2020-01-17 16:19:17 -07:00
parent 2116c00cff
commit e67356a658
No known key found for this signature in database
GPG key ID: CBB5B366EB4802DD

View file

@ -5,7 +5,7 @@ function pause(){
} }
#Root check! #Root check!
if [ "$EUID" -ne 0 ] if [ "$EUID" -ne 0 ]
then then
whiptail --backtitle "Pentest Build Script" --title "NOT ROOT" --msgbox "YOU ARE NOT ROOT. PLEASE RUN THIS SCRIPT AS ROOT." 10 55 whiptail --backtitle "Pentest Build Script" --title "NOT ROOT" --msgbox "YOU ARE NOT ROOT. PLEASE RUN THIS SCRIPT AS ROOT." 10 55
exit 1 exit 1
@ -52,7 +52,7 @@ then
Distribution: $DISTRO Distribution: $DISTRO
Desktop Environment: $DESKTOP Desktop Environment: $DESKTOP
Repository: $REPO Repository: $REPO
Shall we proceed?" 10 50) Shall we proceed?" 10 50)
then then
whiptail --backtitle "Pentest Build Script" --title "Build Time!" --msgbox "This will take a while. Press OK to proceed." 8 30 whiptail --backtitle "Pentest Build Script" --title "Build Time!" --msgbox "This will take a while. Press OK to proceed." 8 30
else else
@ -64,7 +64,7 @@ fi
#This is the stuff that's common to both distros #This is the stuff that's common to both distros
rm -rf build rm -rf build
mkdir build mkdir build
apt install git build-essential cdebootstrap live-build curl wget -y apt install git build-essential cdebootstrap live-build debian-cd curl wget -y
cd ./debs cd ./debs
bash get-debs.sh bash get-debs.sh
dpkg-name *.deb dpkg-name *.deb