-
Notifications
You must be signed in to change notification settings - Fork 15
/
AutoInstall.sh
executable file
·55 lines (50 loc) · 2.19 KB
/
AutoInstall.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/bash
ruta=$(pwd)
chmod +x $ruta/theme.sh
chmod +x $ruta/install.sh
menu()
{
echo -e "\033[32m#-------------------------------------------------------------#\033[0m"
echo -e "\033[32m# 31/07/2023 #\033[0m"
echo -e "\033[32m#-------------------------------------------------------------#\033[0m"
echo -e "\033[32m# By: ZLCube, xsJacksx, S4vitar, MrPr1ngles, Elisaelias02 #\033[0m"
echo -e "\033[32m#-------------------------------------------------------------#\033[0m"
echo -e "\033[32m# ___ _ ______ #\033[0m"
echo -e "\033[32m# / _ \ | | | ___ \ #\033[0m"
echo -e "\033[32m# / /_\ \_ _| |_ ___ | |_/ / ___ _ ____ ___ __ ___ #\033[0m"
echo -e "\033[32m# | _ | | | | __/ _ \| ___ \/ __| '_ \ \ /\ / / '_ ' _ \ #\033[0m"
echo -e "\033[32m# | | | | |_| | || (_) | |_/ /\__ \ |_) \ V V /| | | | | | #\033[0m"
echo -e "\033[32m# \_| |_/\__,_|\__\___/\____/ |___/ .__/ \_/\_/ |_| |_| |_| #\033[0m"
echo -e "\033[32m# | | #\033[0m"
echo -e "\033[32m# |_| #\033[0m"
echo -e "\033[32m# #\033[0m"
echo -e "\033[32m#-------------------------------------------------------------#\033[0m"
echo -e "\033[32m# SELECCIONE SU SISTEMA OPERATIVO: #\033[0m"
echo -e "\033[32m#-------------------------------------------------------------#\033[0m"
echo -e "\033[32m# (1) Kali #\033[0m"
echo -e "\033[32m# (2) Parrot #\033[0m"
echo -e "\033[32m#-------------------------------------------------------------#\033[0m"
}
exec()
{
case $1 in
1)
sudo apt update & sudo apt upgrade & sudo apt install zenity & ./install.sh & ./theme.sh
;;
2)
sudo apt update & sudo parrot-upgrade & ./install.sh & ./theme.sh
;;
3)
echo "Exit script"
exit 0
;;
*)
echo "Opcion invalida"
;;
esac
}
while true; do
menu
read -p "> " opcion
exec $opcion
done