-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.sh
63 lines (58 loc) · 1.81 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
63
red='\e[1;31m'
default='\e[0m'
yellow='\e[0;33m'
orange='\e[38;5;166m'
green='\033[92m'
clear
apt-get update -y
apt-get upgrade -y
clear
sleep 1
echo -e "$yellow ___ __ .__ .__ "
echo -e "$yellow | | ____ _______/ |______ | | | | ___________ "
echo -e "$yellow | |/ \ / ___/\ __\__ \ | | | | _/ __ \_ __ \ "
echo -e "$yellow | | | \___ \ | | / __ \| |_| |_\ ___/| | \/ "
echo -e "$yellow |___|___| /____ > |__| (____ /____/____/\___ >__| "
echo -e "$yellow \/ \/ \/ \/ "
echo ""
echo -e "$orange [INFO] $yellow Tool Name: Ip-Tracker "
echo -e "$orange [INFO] $yellow Developer: HackerSM9 "
echo -e "$orange [INFO] $yellow License : Apache License 2.0 "
echo ""
which git > /dev/null 2>&1
if [ "$?" -eq "0" ]; then
echo -e "$green[+]-[Git].............................[ SUCCESFUL ]"
sleep 1.5
else
echo -e "$red[~]-[Git]..........................[ FAILED ]"
sleep 1.5
echo -e "$yellow[!][Installing Module Git...]"
apt install git
fi
which python > /dev/null 2>&1
if [ "$?" -eq "0" ]; then
echo -e "$green[+]-[Python]..........................[ SUCCESFUL ]"
sleep 1.5
else
echo -e "$red[~]-[Python].......................[ FAILED ]"
sleep 1.5
echo -e "$yellow[!][Installing Module Python...]"
apt install python
apt install python2
apt install python3
apt install pip
apt install pip2
pip2 install --upgrade pip
pip install requests
fi
which lolcat > /dev/null 2>&1
if [ "$?" -eq "0" ]; then
echo -e "$green[+]-[lolcat]..........................[ SUCCESFUL ]"
sleep 1.5
else
echo -e "$red[~]-[lolcat].......................[ FAILED ]"
sleep 1.5
echo -e "$yellow[!][Installing Module lolcat...]"
pip install lolcat
fi
echo -e "$green[>]———————————————[Succesful Installed!]"