-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapp.py
131 lines (84 loc) · 4.75 KB
/
app.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
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
import streamlit as st
from helpers.anonymous_helper import get_phone_info, selectnode
from helpers.emailhelper import email_bombing
from helpers.system_logs import platform_details
from helpers.mass_emailhelper import mass_email_bombing
max_limit = {"sms": 1000, "call": 15, "mail": 200}
def api_takedown_message():
return st.write("Due to the overuse of script, a bunch of APIs have been taken offline. It is okay if you do not receive all the messages.")
def agreement_accepting():
return st.caption("By using this webapp :green[you accept] that This application must not be used to cause :red[harm/discomfort/trouble] to :blue[others]. Developers of this webapp are not responsible for your actions." )
st.set_page_config(
page_title="Wana0Cry Bombers",
page_icon="💣",
layout="wide",
initial_sidebar_state="expanded",
menu_items={
'Get Help': 'https://github.com/wanna0cry/TBomb_webapp',
'Report a bug': "https://github.com/wanna0cry/TBomb_webapp/issues/new",
'About': "A free and open-source SMS/Call/email bombing webapp. By using this webapp you accept that This application must not be used to cause harm/discomfort/trouble to others. Developers of this webapp are not responsible for your actions. Created By [wanna0cry](https://github.com/wanna0cry)"
}
)
st.sidebar.title("Select Your Bomber")
bomber_options = ["SMS Bombing", "Email Bombing", "Mass Email Bombing", "Call Bombiing"]
user_bomber_select = st.sidebar.selectbox("Select Your Bombing Technique: ", options=bomber_options)
if user_bomber_select == bomber_options[0]:
st.title(user_bomber_select)
api_takedown_message()
country_code = st.number_input("Enter Your Country Code Without + sign: ", step=1, value=91)
phone_number = st.number_input("Enter The Phone Number: ", step=1)
sms_count = st.number_input("Enter the number of messages you want to send (max: 500): ", step=1, min_value=1, max_value=500)
delay = st.number_input("Enter the delay time: (min: 5)", step=1, min_value=5)
agreement_accepting()
if st.button("Start Bombing"):
status = get_phone_info(country_code, phone_number)
if status["status"] != "valid":
st.warning(status["message"])
else:
result = selectnode(str(country_code), str(phone_number), sms_count, delay, mode="sms")
st.success(result["status"])
st.json(result)
st.json(platform_details())
elif user_bomber_select == bomber_options[1]:
st.title(user_bomber_select)
email = st.text_input("Enter Your Gmail Id: ")
password = st.text_input("Enter your Gmail App Password: ")
victime_email = st.text_input("Enter Your Victime Gmail Id: ")
message = st.text_area("Enter your Message:")
message_relode = st.number_input("How many message you want to send to an email id: ", step=1, min_value=1)
agreement_accepting()
if st.button("Start Bombing"):
result = email_bombing(victime_email, email, password, message, message_relode)
st.success(result)
st.json(platform_details())
elif user_bomber_select == bomber_options[2]:
st.title(user_bomber_select)
victime_email = st.file_uploader("Upload Your Victime Gmail Id list: " ,type=["txt"])
if victime_email is not None:
file_data = victime_email.getvalue().decode("utf-8")
email = st.text_input("Enter Your Gmail Id: ")
password = st.text_input("Enter your Gmail App Password: ")
message = st.text_area("Enter your Message:")
message_relode = st.number_input("How many message you want to send to each individual email: ", step=1, min_value=1)
agreement_accepting()
if st.button("Start Bombing"):
result = mass_email_bombing(file_data, email, password, message, message_relode)
st.success(result)
st.json(platform_details())
if user_bomber_select == bomber_options[3]:
st.title(user_bomber_select)
api_takedown_message()
country_code = st.number_input("Enter Your Country Code Without + sign: ", step=1, value=91)
phone_number = st.number_input("Enter The Phone Number: ", step=1)
sms_count = st.number_input("Enter the number of calls you want to send (max: 15): ", step=1, min_value=1, max_value=15)
delay = st.number_input("Enter the delay time: (min: 30)", step=1, min_value=30)
agreement_accepting()
if st.button("Start Bombing"):
status = get_phone_info(country_code, phone_number)
if status["status"] != "valid":
st.warning(status["message"])
else:
result = selectnode(str(country_code), str(phone_number), sms_count, delay, mode="call")
st.success(result["status"])
st.json(result)
st.json(platform_details())