-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathInstaller.sh
45 lines (40 loc) · 1.33 KB
/
Installer.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
#!/bin/bash
# ORIGINAL CREATOR: Luca Garofalo (Lucksi)
# AUTHOR: Luca Garofalo (Lucksi)
# Copyright (C) 2023 Lucksi <lukege287@gmail.com>
# License: GNU General Public License v3.0
ARCHITECTURE="$(arch)"
YELLOW=$(tput setaf 11)
RED=$(tput setaf 1)
WHITE=$(tput setaf 15)
function Banner {
banner=$(<"Banner/Banner2.txt")
printf "${RED}$banner"
}
function Packet-Installer {
sudo apt-get install tor -y &> /dev/null | printf "${WHITE}\n\nINSTALLING TOR\n"
sudo apt-get install git -y &> /dev/null | printf "${WHITE}\nINSTALLING GIT\n"
sudo apt-get install python3 -y &> /dev/null | printf "${WHITE}\nINSTALLING PYTHON3\n"
sudo apt-get install php -y &> /dev/null | printf "${WHITE}\nINSTALLING PHP\n"
sudo apt-get install python3-pip -y &> /dev/null | printf "${WHITE}\nINSTALLING PIP"
sudo pip3 install -r requirements.txt &> /dev/null | printf "${WHITE}\n\nINSTALLING-PYTHON-REQUIREMENTS..."
printf "${YELLOW}\n\n[+]${WHITE}REQUIREMENTS INSTALLED SUCCESFULLY${YELLOW}[+]"
}
function installer {
Packet-Installer
sleep 1
touch output/Banned.txt
printf "\n\nPROGRAM INSTALLED CORRECTLY"
printf "${YELLOW}\n\nTHANK YOU FOR HAVE INSTALLED DARKUS\n\n"
exit 1
}
if [ $(id -u) -ne 0 ];
then
clear
Banner
printf "${RED}\n\n[!]${WHITE}THIS INSTALLER MUST BE RUN AS ROOT TRY WITH SUDO :)\n\n"
exit 1
fi
clear
Banner
installer