-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfresh-install.sh
32 lines (28 loc) · 1.92 KB
/
fresh-install.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
source config.sh
# Installation directory
workdir="/usr/bin/cibertk"
# Check root
if [[ "$(id -u)" != "0" ]]; then
echo "$red""[$cross] This script needs root access. Try running 'sudo $SHELL install.sh'"
exit
fi
# Banner
clear
echo -e "$yellow _________ ._____. _______________ __. "
echo -e "$yellow \_ ___ \|__\_ |__ ___________ \__ ___/ |/ _| "
echo -e "$yellow / \ \/| || __ \_/ __ \_ __ \ ______ | | | < "
echo -e "$yellow \ \___| || \_\ \ ___/| | \/ /_____/ | | | | \ "
echo -e "$yellow \______ /__||___ /\___ >__| |____| |____|__ \ "
echo -e "$yellow \/ \/ \/ \/ "
echo -e "$yellow ___________ .__ .___ __ .__ .__ "
echo -e "$yellow \_ _____/______ ____ _____| |__ | | ____ _______/ |______ | | | | "
echo -e "$yellow | __) \_ __ \_/ __ \ / ___/ | \ ______ | |/ \ / ___/\ __\__ \ | | | | "
echo -e "$yellow | \ | | \/\ ___/ \___ \| Y \ /_____/ | | | \\___ \ | | / __ \| |_| |__"
echo -e "$yellow \___ / |__| \___ >____ >___| / |___|___| /____ > |__| (____ /____/____/"
echo -e "$yellow \/ \/ \/ \/ \/ \/ \/ "
echo -e "$orange Ciber-ToolKit Fresh-Installer "
echo -e "$orange "
echo -e "$orange Author : Adrian Toral "
echo -e "$default"
$SHELL uninstall.sh
$SHELL install.sh $1