-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTBomb2.0.sh
164 lines (154 loc) · 4.78 KB
/
TBomb2.0.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
159
160
161
162
163
164
#!/bin/bash
pip2 install lolcat
detect_distro() {
if [[ "$OSTYPE" == linux-android* ]]; then
distro="termux"
fi
if [ -z "$distro" ]; then
distro=$(ls /etc | awk 'match($0, "(.+?)[-_](?:release|version)", groups) {if(groups[1] != "os") {print groups[1]}}')
fi
if [ -z "$distro" ]; then
if [ -f "/etc/os-release" ]; then
distro="$(source /etc/os-release && echo $ID)"
elif [ "$OSTYPE" == "darwin" ]; then
distro="darwin"
else
distro="invalid"
fi
fi
}
pause() {
read -n1 -r -p "Press any key to continue..." key
}
banner() {
clear
echo -e "\e[1;31m"
if ! [ -x "$(command -v figlet)" ]; then
echo 'Introducing TBomb2.0'
else
echo -e "\e[1;34mCreated By \e[1;34m"
echo -e "\033[0;31m"
figlet IncredibleHacker
fi
if ! [ -x "$(command -v toilet)" ]; then
echo -e "\e[4;34m This Bomber Was Created By \e[1;32mIncredibleHacker \e[0m"
else
echo -e "\033[0;32m"
toilet -f mono12 -F border TBomb2.0
fi
echo -e "\e[1;34m For Any Queries Join Us!!!\e[0m"
echo -e "\e[1;32m whatsapp: +91 8510010786"
echo -e "\e[1;32m whatsapp group: https://t.me/TBombChat \e[0m"
echo -e "\e[1;32m Telegram: https://t.me/TBombChat \e[0m"
echo -e "\e[1;32m Telegram group: https://t.me/TBombChat \e[0m"
echo -e "\e[1;32m YouTube: https://www.youtube.com/c/IncredibleHacker \e[0m"
echo " "
echo "NOTE: Kindly move to the PIP version Of TBomb for more stability."
echo " "
}
init_environ(){
declare -A backends; backends=(
["arch"]="pacman -S --noconfirm"
["debian"]="apt-get -y install"
["ubuntu"]="apt -y install"
["termux"]="apt -y install"
["fedora"]="yum -y install"
["redhat"]="yum -y install"
["SuSE"]="zypper -n install"
["sles"]="zypper -n install"
["darwin"]="brew install"
["alpine"]="apk add"
)
INSTALL="${backends[$distro]}"
if [ "$distro" == "termux" ]; then
PYTHON="python"
SUDO=""
else
PYTHON="python3"
SUDO="sudo"
fi
PIP="$PYTHON -m pip"
}
install_deps(){
packages=(openssl git $PYTHON $PYTHON-pip figlet toilet)
if [ -n "$INSTALL" ];then
for package in ${packages[@]}; do
$SUDO $INSTALL $package
done
$PIP install -r requirements.txt
else
echo "We could not install dependencies."
echo "Please make sure you have git, python3, pip3 and requirements installed."
echo "Then you can execute bomber.py ."
exit
fi
}
banner
pause
detect_distro
init_environ
if [ -f .update ];then
echo "All Requirements Found...."
else
echo 'Installing Requirements....'
echo .
echo .
install_deps
echo This Script Was Made By SpeedX > .update
echo This Script Was Modified By IncredibleHacker
echo 'Requirements Installed....'
pause
fi
while :
do
banner IncredibleHacker
echo " "
clear
echo -e "\e[1;34mCreated By \e[1;34m"
echo -e "\033[0;31m"
figlet IncredibleHacker
echo " "
echo " "
echo -e "\e[1;34mToolName \e[1;34m"
figlet TBomb 2.0 |lolcat
echo " "
echo -e "\033[1;93m --------------------------------------------------------------"
echo -e "\033[0;33m|| ||"
echo -e "\033[0;33m||Press 1 To Start SMS Bomber ||"
echo -e "\033[0;33m||Press 2 To Start CALL Bomber ||"
echo -e "\033[0;33m||Press 3 To Start MAIL Bomber (Not Yet Available) ||"
echo -e "\033[0;33m||Press 4 To Update (Works On Linux And Linux Emulators) ||"
echo -e "\033[0;33m||Press 5 To About ||"
echo -e "\033[0;33m||Press 6 To Exit ||"
echo -e "\033[0;33m|| ||"
echo -e "\033[0;33m --------------------------------------------------------------"
echo " "
read ch
clear
if [ $ch -eq 1 ];then
$PYTHON bomber.py --sms
exit
elif [ $ch -eq 2 ];then
$PYTHON bomber.py --call
exit
elif [ $ch -eq 3 ];then
$PYTHON bomber.py --mail
exit
elif [ $ch -eq 4 ];then
echo -e "\e[1;34m Downloading Latest Files..."
rm -f .update
$PYTHON bomber.py --update
echo -e "\e[1;34m RUN TBomb2.0 Again..."
pause
exit
elif [ $ch -eq 5 ];then
banner
exit
elif [ $ch -eq 5 ];then
banner
exit
else
echo -e "\e[4;32m Invalid Input !!! \e[0m"
pause
fi
done