-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmain.py
executable file
·70 lines (52 loc) · 3.71 KB
/
main.py
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
# import requests as req
from os import path, system
if path.exists("./requirements.txt"):
with open("./requirements.txt") as file:
libs = [i.split("==")[0] for i in file.readlines()]
for lib in libs:
print(lib)
try:
__import__(lib)
except ModuleNotFoundError:
system("pip install "+lib)
from pystyle import Col, Center, System
from Plugins.api_list import handler
from colorama import Fore
from Plugins.functions import Functions
r, g = Fore.LIGHTGREEN_EX, Fore.LIGHTYELLOW_EX
if __name__ == "__main__":
logo = f'''
{g}██{r}╗{g}██████{r}╗{g} █████{r}╗{g} ███{r}╗{g} ██{r}╗{g}
██{r}║{g}██{r}╔══{g}██{r}╗{g}██{r}╔══{g}██{r}╗{g}████{r}╗ {g}██{r}║
{g} ██{r}║{g}██████{r}╔╝{g}███████{r}║{g}██{r}╔{g}██{r}╗{g}██{r}║
{g}██{r}║{g}██{r}╔══{g}██{r}╗{g}██{r}╔══{g}██{r}║{g}██{r}║╚{g}████{r}║
{g}██{r}║{g}██{r}║ {g}██{r}║{g}██{r}║ {g} ██{r}║{g}██{r}║ ╚{g}███{r}║
╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚══╝
{g}██████{r}╗ {g}█████{r}╗ {g}███{r}╗ {g}███{r}╗{g}██████{r}╗ {g}███████{r}╗{g}██████{r}╗
{g}██{r}╔══{g}██{r}╗{g}██{r}╔══{g}██{r}╗{g}████{r}╗ {g}████{r}║{g}██{r}╔══{g}██{r}╗{g}██{r}╔════╝{g}██{r}╔══{g}██{r}╗
{g}██████{r}╦╝{g}██{r}║ {g}██{r}║{g}██{r}╔{g}████{r}╔{g}██{r}║{g}██████{r}╦╝{g}█████{r}╗ {g}██████{r}╔╝
{g}██{r}╔══{g}██{r}╗{g}██{r}║{g} ██{r}║{g}██{r}║╚{g}██{r}╔╝{g}██{r}║{g}██{r}╔══{g}██{r}╗{g}██{r}╔══╝{g} ██{r}╔══{g}██{r}╗
{g}██████{r}╦╝╚{g}█████{r}╔╝{g}██{r}║ ╚═╝ {g}██{r}║{g}██████{r}╦╝{g}███████{r}╗{g}██{r}║ {g}██{r}║
{r}╚═════╝ ╚════╝ ╚═╝ ╚═╝╚═════╝ ╚══════╝╚═╝ ╚═╝
'''
while True:
System.Clear()
print(Center.XCenter(logo))
try:
proxy_state = Fore.GREEN + "Enabled" if Functions.proxy_state() else Fore.RED + "Disabled"
choices = {
"1": "call",
"2": "sms"
}
print(f"{Col.yellow}[!]{Col.gray} Proxies are {proxy_state}")
print(f"{Col.yellow}[!]{Fore.CYAN} Choices: ")
for ch in choices:
print(f" {Fore.CYAN}{ch}- {Fore.GREEN}{choices[ch].capitalize()} Bomber ")
print()
choice = Functions.get_input(f"{Fore.CYAN}[=]{Col.gray} Enter Your Choice: {Col.green}", lambda x: x in [str(i) for i in choices])
number = Functions.get_input(f"{Fore.CYAN}[=]{Col.gray} Enter the phone number {Fore.CYAN}[9xxxxxxxxx]{Col.gray}: {Col.green}", checker=lambda x: x != "" and x.isnumeric() and x.startswith("9") and len(x) == 10)
count = Functions.get_input(f"{Fore.CYAN}[=]{Col.gray} Enter spam count: {Col.green}", lambda x: x.isnumeric() and int(x) >= 0)
Functions.start(choices[choice], number, int(count))
except KeyboardInterrupt:
print("\n" + Fore.BLUE, "Exiting...")
exit()