Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
azizkpln
GitHub Repository: azizkpln/moriarty-project
Path: blob/master/install.sh
192 views
1
lightblue=`tput setaf 14`
2
green=`tput setaf 46`
3
RED=`tput setaf 196`
4
yellow=`tput setaf 11`
5
purple=`tput setaf 129`
6
reset=`tput sgr0`
7
clear
8
if [ $(whoami) != "root" ];then
9
sudo apt update && sudo apt full-upgrade -y
10
sudo apt install python3 -y && sudo apt install python3-pip -y
11
pip3 install -r requirements.txt
12
python3 -m playwright install
13
echo -e "${lightblue}[+]${green} Installation is finished. You can run 'run.sh' file now."
14
else
15
echo -e "${RED}[-]Don't use Moriarty Project with root. \n[!]You have to use it with a normal account"
16
exit
17
fi
18
19
20