-
Notifications
You must be signed in to change notification settings - Fork 67
/
SETSMS.sh
158 lines (157 loc) · 5.02 KB
/
SETSMS.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
#!/bin/bash
#
# SETSMS: (26/01/2021)
#
# [Open Source] - [Código Abierto]
#
# Variables y Colores
#
PWD=$(pwd)
OS=$(uname -o)
USER=$(id -u)
verde='\033[32m'
blanco='\033[37m'
rojo='\033[31m'
azul='\033[34m'
negro='\033[0;30m'
rosa='\033[38;5;207m'
amarillo='\033[33m'
morado='\033[35m'
cian='\033[1;36m'
magenta='\033[1;35m'
#
# Dependencias del Script
#
function Dependencies {
if [ "${OS}" == "Android" ]; then
if [ -x ${PREFIX}/bin/python ]; then
RUTA=$(pwd)
else
RUTA=$(pwd)
pkg update && pkg upgrade -y
pkg install python -y
pip install --upgrade pip
fi
if [ -x ${PWD}/quack ]; then
RUTA=$(pwd)
else
RUTA=$(pwd)
unzip quack.zip
rm quack.zip
cd ${RUTA}/quack
python3 -m pip install -r requirements.txt
cd ${RUTA}
fi
if [ -x ${PWD}/Impulse ]; then
RUTA=$(pwd)
else
RUTA=$(pwd)
unzip Impulse.zip
rm Impulse.zip
cd ${RUTA}/Impulse
python3 -m pip install -r requirements.txt
cd ${RUTA}
fi
else
if [ -x /bin/python3 ]; then
RUTA=$(pwd)
else
RUTA=$(pwd)
apt-get update && apt-get upgrade -y
apt-get install python3 -y
fi
if [ -x ${PWD}/quack ]; then
RUTA=$(pwd)
else
RUTA=$(pwd)
unzip quack.zip
rm quack.zip
cd ${RUTA}/quack
python3 -m pip install -r requirements.txt
cd ${RUTA}
fi
if [ -x ${PWD}/Impulse ]; then
RUTA=$(pwd)
else
RUTA=$(pwd)
unzip Impulse.zip
rm Impulse.zip
cd ${RUTA}/Impulse
python3 -m pip install -r requirements.txt
cd ${RUTA}
fi
fi
}
#
# Mensaje de Opción Incorrecta
#
function Error {
echo -e "${rojo}
┌═════════════════════┐
█ ${blanco}¡OPCIÓN INCORRECTA! ${rojo}█
└═════════════════════┘
"${blanco}
sleep 0.5
}
#
# Banner SETSMS
#
function SETSMS {
sleep 0.5
clear
echo -e "${verde}
███████╗███████╗████████╗███████╗███╗ ███╗███████╗
██╔════╝██╔════╝╚══██╔══╝██╔════╝████╗ ████║██╔════╝
███████╗█████╗ ██║ ███████╗██╔████╔██║███████╗
╚════██║██╔══╝ ██║ ╚════██║██║╚██╔╝██║╚════██║
███████║███████╗ ██║ ███████║██║ ╚═╝ ██║███████║
╚══════╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚══════╝"${blanco}
}
#
# Menu Principal
#
function Choose {
SETSMS
echo -e -n "${verde}
┌═══════════════════════┐
█ ${blanco}SELECCIONE UNA OPCIÓN ${verde}█
└═══════════════════════┘
┃ ┌═══════════════════════════════════════════┐
└═>>>█ [${blanco}01${verde}] ┃ ${blanco}SPAM DE SMS A 1 NÚMERO TELEFÓNICO ${verde}█
┃ └═══════════════════════════════════════════┘
┃ ┌═══════════════════════════════════════════┐
└═>>>█ [${blanco}02${verde}] ┃ ${blanco}GUARDAR 1 NÚMERO EN LA LISTA NEGRA ${verde}█
┃ └═══════════════════════════════════════════┘
┃ ┌═══════════════════════════════════════════┐
└═>>>█ [${blanco}03${verde}] ┃ ${blanco}SPAMEAR NÚMEROS DE LA LISTA NEGRA ${verde}█
┃ └═══════════════════════════════════════════┘
┃ ┌═══════════════════════════════════════════┐
└═>>>█ [${blanco}04${verde}] ┃ ${blanco}VER LOS NÚMEROS DE LA LISTA NEGRA ${verde}█
┃ └═══════════════════════════════════════════┘
┃ ┌══════════════┐
└═>>>█ [${blanco}00${verde}] ┃ ${rojo}SALIR ${verde}█
┃ └══════════════┘
┃
└═>>> "${blanco}
read -r OPTION
sleep 0.5
if [[ ${OPTION} == 0 || ${OPTION} == 00 ]]; then
exit
elif [[ ${OPTION} == 1 || ${OPTION} == 01 ]]; then
source ${RUTA}/tools/target.sh
elif [[ ${OPTION} == 2 || ${OPTION} == 02 ]]; then
source ${RUTA}/tools/save.sh
elif [[ ${OPTION} == 3 || ${OPTION} == 03 ]]; then
source ${RUTA}/tools/spam.sh
elif [[ ${OPTION} == 4 || ${OPTION} == 04 ]]; then
source ${RUTA}/tools/list.sh
else
Error
Choose
fi
}
#
# Declarando Funciones
#
Dependencies
Choose