-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.sh
62 lines (46 loc) · 1.48 KB
/
setup.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
56
57
58
59
60
61
62
#!/bin/bash
while :
do
clear
banner(){
echo
echo -e "\033[32m ___ ___ __ _________ \033[0m"
echo -e "\033[32m / | \ ____ _______/ |_ / _____/ ____ _____ ____ \033[0m"
echo -e "\033[32m / ~ \/ _ \/ ___/\ __\ \_____ \_/ ___\__ \ / \ \033[0m"
echo -e "\033[32m \ Y ( <_> )___ \ | | / \ \___ / __ \| | \ \033[0m"
echo -e "\033[32m \___|_ / \____/____ > |__| /_______ /\___ >____ /___| / \033[0m"
echo -e "\033[32m \/ \/ \/ \/ \/ \/ \033[0m"
}
banner
int_handler (){
clear
echo
echo -e "\033[1m [+] Adios \033[0m"
kill $PPID
exit 1
}
trap 'int_handler' INT
echo
echo -e " \033[1m [1] Instalar en Kali Linux y Parrot OS \033[0m"
echo -e " \033[1m [2] Instalar en Termux \033[0m"
echo -e " \033[1m [3] Salir \033[0m"
echo
read -p $'\033[1m [+] Seleccione una opción: \033[0m' opcion
case $opcion in
1) echo
sudo apt-get update && sudo apt install -y python3-pip xclip lolcat figlet && python3 -m pip install --upgrade colorama;;
2) echo
apt-get update
pkg install x11-repo
pkg install xclip
pip install lolcat
pkg install figlet
pip install colorama
sleep 1.5;;
3) echo
clear
echo -e "\033[1m [+] Adios\033[0m"
echo
exit;;
esac
done