forked from S12cybersecurity/GhostShell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
49 lines (38 loc) · 1.12 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
#!/bin/bash
RED="\e[31m"
GREEN="\e[32m"
YELLOW="\e[33m"
BLUE="\e[34m"
ENDCOLOR="\e[0m"
echo -e "\n"
toilet -f smbraille --gay 'GhostShell'
echo -e "\n"
echo -e "${YELLOW}[+] Searching Dependencies${ENDCOLOR}\n"
which tor >/dev/null
a=$(echo $?)
which proxychains >/dev/null
b=$(echo $?)
which toilet >/dev/null
c=$(echo $?)
hostname=$(hostname)
if [ $a == 0 ]; then
echo -e "${GREEN}[+] Tor Found${ENDCOLOR}"
if [ $b == 0 ]; then
echo -e "${GREEN}[+] ProxyChains Found${ENDCOLOR}"
if [ $c == 0 ]; then
echo -e "${GREEN}[+] Toilet Found${ENDCOLOR}"
else
echo -e "${RED}[-] Missing Toilet${ENDCOLOR}\n"
exit
fi
else
echo -e "${RED}[-] Missing ProxyChains${ENDCOLOR}\n"
exit
fi
else
echo -e "${RED}[-] Missing Tor${ENDCOLOR}\n"
exit
fi
rm /etc/proxychains.conf 2>/dev/null
wget https://raw.githubusercontent.com/S12cybersecurity/GhostShell/main/proxychains.conf -q | mv proxychains.conf /etc/. >/dev/null
service tor start