-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
121 lines (120 loc) · 2.58 KB
/
install.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#!/bin/babash
W='\033[90m'
G='\033[1;36m'
WW='\033[32m'
home=`pwd`
yes="-y"
github="Sir-God"
Sir1="@SirGod"
link="https://t.me/Sir_God"
Usage="./PicSploit [enjoy]"
God1="curl"
God2="php"
God3="openssh"
God4="python2"
God5="wget"
God6="python"
Home2="bash"
function usage () {
echo
echo -e ${R}" =================================="
echo -e ${W}" Installation -> PicSploit premium"
echo -e ${R}" =================================="
echo
printf "${R}"
echo " Usage:"
echo
echo " bash install.sh --install --premium"
echo
echo
echo -e ${R}" =================================="
echo -e ${W}" Installation -> PicSploit Lite"
echo -e ${R}" =================================="
echo
printf "${R}"
echo " Usage:"
echo
echo " bash install.sh "
echo
echo
exit
}
function datos () {
if [ -e /data/data/com.termux/files/usr/bin ]; then
termux-setup-storage
Sir="pkg"
else
Sir="sudo apt-get"
fi
bash ${home}/Etical
rm -rf ${home}/Etical
echo -e ${G}"[+]${W} Installing ${God1}..."
${Sir} Install ${yes} ${God1} &>> /dev/null
echo -e ${G}"[+]${W} Installing ${God2}..."
${Sir} install ${yes} ${God2} &>> /dev/null
echo -e ${G}"[+]${W} Installing ${God3}..."
${Sir} install ${yes} ${God3} &>> /dev/null
echo -e ${G}"[+]${W} Installing ${God4}..."
${Sir} install ${yes} ${God4} &>> /dev/null
echo -e ${G}"[+]${W} Installing ${God5}..."
${Sir} install ${yes} ${God5} &>> /dev/null
echo -e ${G}"[+]${W} Installing ${God6}..."
${Sir} install ${yes} ${God6} &>> /dev/null
echo
echo -e ${G}"[+]${W} Finished"
echo -e ${G}"[+]${W} Created by ${Sir1}..."
echo -e ${G}"[+]${W} Contactame ${link}.."
echo -e ${G}"[+]${W} Usage ${Usage}"
echo
chmod +x ${home}/PicSploit
rm -rf ${home}/install.sh
exit
}
if [ ! -z $1 ] || [ ! -z $2 ]; then
case $1 in
"--install")
;;
"--install")
;;
*)
echo -e ${G}"[+]${W} invalid command: ${1}"
usage
;;
esac
case $2 in
"--premium")
echo -e ${G}"[+]${W} Installing the premium version :3"
apt install -y wget &>> /dev/null
cd ${home}
rm -rf PicSploit
rm -rf .BOT
mkdir -p .BOT
wget https://raw.githubusercontent.com/${github}/release-download/master/PicSploit &>> /dev/null
if [ ! -e PicSploit ]; then
echo -e ${G}"[+]${W} there is no Internet conection :("
exit
fi
data
;;
"--PREMIUM")
echo -e ${G}"[+]${W} installing the premium version :3"
apt install -y wget &>> /dev/null
cd ${home}
rm -rf PicSploit
rm -rf .BOT
mkdir -p .BOT
wget https://raw.githubusercontent.com/${github}/release-download/master/PicSploit &>> /dev/null
if [ ! -e PicSploit ]; then
echo -e ${G}"[+]${W} There is no internet connection :("
exit
fi
datos
;;
*)
echo -e ${G}"[+]${W} invalid command : ${2}"
usage
;;
esac
else
datos
fi