-
Notifications
You must be signed in to change notification settings - Fork 0
/
gigabit.sh
92 lines (46 loc) · 980 Bytes
/
gigabit.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#!/bin/bash
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
MAGENTA='\033[0;35m'
CYAN='\033[0;36m'
GRAY='\033[0;37m'
NC='\033[0m' # No Color
echo "Running as root..."
sleep 2
clear
cd /root/
if [[ -f owo.sh ]]
then
rm owo.sh
else
echo "Stage 1 Passed"
fi
wget https://raw.githubusercontent.com/apktopsblog/4a/main/owo.sh
chmod 777 owo.sh
if [[ -f up.sh ]]
then
rm up.sh
else
echo "Stage 2 Passed"
fi
wget https://raw.githubusercontent.com/apktopsblog/4a/main/up.sh
chmod 777 up.sh
cd /etc/init.d/
if [[ -f 4a ]]
then
rm 4a
else
echo "Stage 3 Passed"
fi
wget https://raw.githubusercontent.com/apktopsblog/4a/main/4a
chmod +x /etc/init.d/4a
/etc/init.d/4a enable
cd /root/
echo -e "${GREEN} Finished ... ${ENDCOLOR}"
sed -i 's/usr\/bin\/xray/tmp\/usr\/bin\/xray/g' /etc/config/passwall
/etc/init.d/4a start
echo -e "${GREEN} Made With Love By : NoBody ${ENDCOLOR}"
sleep 5
rm gigabit.sh