Skip to content

Commit 4abfddc

Browse files
authored
Add files via upload
1 parent 861c8f3 commit 4abfddc

File tree

8 files changed

+100498
-0
lines changed

8 files changed

+100498
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Discord-Mass-DM
2+
A DIscord Mass DM Tool.
3+
4+
# How To Use?
5+
so, first you need to download the tool.
6+
and you need python3 or higher.
7+
Then you just run the "DmFucker.py"
8+
if that doesnt work, open cmd or powershell to that directory and execute this command: pip install -r requirements.txt
9+
10+
# Commands
11+
12+
CT = checks the tokens.txt if there are any invalid tokens.
13+
MD = mass dm
14+
15+
# Discord Commands
16+
17+
if you executed the MD command and have all tokens in the server, you can now spam, to spam you need to execute a command for that, the command is:
18+
(prefix)dm (messages to send per bot) (user id)
19+
20+
21+
to stop the bots, execute this command: (prefix)stop
22+
23+
24+
# Other
25+
26+
SVF Discord: https://discord.gg/TU8F8tYThA
27+
28+
if you dont send an message, it will send an embed to the victim that promotes my nuking group SVF.

auto-generate-discord-bots/discordtokens.txt

Whitespace-only changes.
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
import random
2+
import requests
3+
from colorama import init, Fore
4+
import os
5+
import time
6+
import importlib.util
7+
8+
init()
9+
10+
def check_package(package_name):
11+
spec = importlib.util.find_spec(package_name)
12+
if spec is None:
13+
print(f"{Fore.YELLOW}INFO: {Fore.GREEN}Installing required packages")
14+
os.system(f"pip install -r requirements")
15+
16+
required_packages = ["requests", "colorama", "threading", "discord", "time"]
17+
for package in required_packages:
18+
check_package(package)
19+
20+
print("------------------------------------------------")
21+
print("------------------------------------------------")
22+
print("███████╗██╗░░░██╗░██████╗░░██╗░░░░░░░██╗███████╗")
23+
print("╚════██║██║░░░██║██╔═══██╗░██║░░██╗░░██║╚════██║")
24+
print("░░███╔═╝██║░░░██║██║██╗██║░╚██╗████╗██╔╝░░███╔═╝")
25+
print("██╔══╝░░██║░░░██║╚██████╔╝░░████╔═████║░██╔══╝░░")
26+
print("███████╗╚██████╔╝░╚═██╔═╝░░░╚██╔╝░╚██╔╝░███████╗")
27+
print("╚══════╝░╚═════╝░░░░╚═╝░░░░░░╚═╝░░░╚═╝░░╚══════╝")
28+
print("------------------------------------------------")
29+
print("------------------------------------------------")
30+
time.sleep(1)
31+
print(f"{Fore.BLUE}CREDITS: {Fore.RED}MADE BY ZUQWZ")
32+
print('ANY QUESTIONS ADD ME IN DISCORD "valray" or "valray#5901" ')
33+
time.sleep(1)
34+
print(" ")
35+
print(" ")
36+
print(" ")
37+
print(" ")
38+
39+
input("Press enter to start.")
40+
41+
num_threads = int(input("How many threads (applications) do you want to create? (depends on how many tokens you have in your discordtokens.txt file): "))
42+
43+
name_option = input("Do you want to use names from 'names.txt'? (y/n): ")
44+
45+
if name_option.lower() == "y":
46+
with open("names.txt", "r") as file:
47+
names = file.readlines()
48+
names = [name.strip() for name in names if name.strip()]
49+
else:
50+
names = []
51+
52+
token_option = input("Do you want to use Discord tokens from 'discordtokens.txt'? (press n to choose only 1 token of your choice) (y/n): ")
53+
54+
if token_option.lower() == "n":
55+
tokens = input("Enter a Discord token for the application: ")
56+
bot_token = tokens
57+
else:
58+
with open("discordtokens.txt", "r") as file:
59+
tokens = file.readlines()
60+
tokens = [token.strip() for token in tokens if token.strip()]
61+
bot_token = tokens
62+
63+
server_join_option = input("Do you want the bot to join a server? (y/n): ")
64+
65+
if server_join_option.lower() == "y":
66+
server_id = input("Enter the server ID to join: ")
67+
68+
print(f"{Fore.YELLOW}INFO: {Fore.GREEN}Creating discord application(s)")
69+
70+
app_url = "https://discord.com/api/v9/applications"
71+
72+
for _ in range(num_threads):
73+
if names and name_option.lower() == "y":
74+
name = random.choice(names)
75+
names.remove(name) # Remove the chosen name from the list
76+
else:
77+
name = input("Enter a name for the application: ")
78+
79+
headers = {
80+
"Authorization": bot_token
81+
}
82+
83+
data = {
84+
"name": name
85+
}
86+
response = requests.post(app_url, headers=headers, json=data)
87+
if response.status_code >= 400:
88+
print(
89+
f"{Fore.RED}ERROR: {Fore.WHITE}Failed to create application! Status Code: {response.status_code} - {response.text}")
90+
input("Press enter to exit.")
91+
break
92+
bot_id = response.json()["id"]
93+
print(f"{Fore.YELLOW}INFO: {Fore.GREEN}Successfully created application {Fore.WHITE}{bot_id}")
94+
95+
reset_token_url = f"https://discord.com/api/v9/applications/{bot_id}/bot/reset"
96+
reset_response = requests.post(reset_token_url, headers=headers)
97+
if reset_response.status_code >= 400:
98+
print(
99+
f"{Fore.RED}ERROR: {Fore.WHITE}Failed to reset token for application {bot_id}! Status Code: {reset_response.status_code} - {reset_response.text}")
100+
input("Press enter to exit.")
101+
break
102+
103+
bot_token = reset_response.json()["token"]
104+
105+
# Save token to tokens.txt file
106+
with open("discordtokens.txt", "a", encoding="utf-8") as file:
107+
file.write("\n" + bot_token) # Add a newline character before writing the token
108+
109+
if server_join_option.lower() == "y":
110+
invite_url = f"https://discord.com/developers/applications/{bot_id}/oauth2/url-generator"
111+
scopes = "bot"
112+
permissions = "administrator"
113+
invite_data = {
114+
"client_id": bot_id,
115+
"scope": scopes,
116+
"permissions": permissions
117+
}
118+
119+
invite_response = requests.get(invite_url, params=invite_data)
120+
if invite_response.status_code >= 400:
121+
print(
122+
f"{Fore.RED}ERROR: {Fore.WHITE}Failed to retrieve invitation URL for bot {bot_id}! Status Code: {invite_response.status_code} - {invite_response.text}")
123+
input("Press enter to exit.")
124+
break
125+
126+
invite_url = f"https://discord.com/api/v9/invite/{server_id}?scope=bot&permissions=0"
127+
invite_response = requests.post(invite_url, headers=headers)
128+
if invite_response.status_code >= 400:
129+
print(
130+
f"{Fore.RED}ERROR: {Fore.WHITE}Failed to join server {server_id} with bot {bot_id}! Status Code: {invite_response.status_code} - {invite_response.text}")
131+
input("Press enter to exit.")
132+
break
133+
134+
if len(tokens) >= num_threads:
135+
print(f"{Fore.YELLOW}INFO: {Fore.GREEN}All tokens have been created and saved in discordtokens.txt")
136+
massdm_option = input("Do you want to open the mass DM script? (y/n): ")
137+
if massdm_option.lower() == "y":
138+
os.system("python massdm.py")
139+
else:
140+
input("Press enter to exit.")
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import random
2+
3+
def generate_random_name():
4+
letters = 'abcdefghijklmnopqrstuvwxyz'
5+
name_length = random.randint(1, 5)
6+
name = 'word2' + ''.join(random.choice(letters) for _ in range(name_length))
7+
return name
8+
9+
# Generate 10 random names
10+
print("generating 100000 word2 names")
11+
num_names = 100000
12+
names = [generate_random_name() for _ in range(num_names)]
13+
print("succussfully generated 100000 word2 names")
14+
# Save names in usernames.txt
15+
print("saving names")
16+
with open("names.txt", "w") as file:
17+
file.write('\n'.join(names))
18+
print("succussfully saved names")
19+
input("press enter to exit")
Lines changed: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
try:
2+
import os, time, threading, colorama, discord, random, requests
3+
from colorama import Fore, Back, Style
4+
from discord.ext import commands
5+
6+
except:
7+
import os, time
8+
print("Failed To Import The Packages, Installing The Requirements.txt.")
9+
print("if installing the requirements fails goto command command prompt and type pip install -r requirements.txt")
10+
time.sleep(2)
11+
os.system("pip install -r requirements.txt")
12+
import os, time, threading, colorama, discord, random, requests
13+
from colorama import Fore, Back, Style
14+
from discord.ext import commands
15+
print("Sucessfully Installed And Imported the Packages!")
16+
time.sleep(2)
17+
os.system("cls")
18+
19+
os.system("title MassDm - By ReyZ")
20+
21+
with open('tokens.txt') as tokens:
22+
totaltokens = sum(1 for line in tokens)
23+
24+
print(Fore.BLUE + "You Got " + Fore.CYAN + str(totaltokens) + Fore.BLUE + " Bot Tokens.")
25+
26+
print(Fore.CYAN + "type Help to get Info about this Tool.")
27+
print("")
28+
InvalidTokens = []
29+
dmspamthreadhandler = 0
30+
def dmspam():
31+
import time
32+
import discord
33+
from discord.ext import commands
34+
35+
bot = commands.Bot(command_prefix = prefix, intents = discord.Intents.all())
36+
37+
@bot.event
38+
async def on_ready():
39+
40+
if nickofbots is not None:
41+
await bot.user.edit(username=nickofbots)
42+
43+
await bot.change_presence(status=discord.Status.offline, activity=discord.Activity(type=discord.ActivityType.playing, name="HEIL SVF"))
44+
45+
if idofuser is None or times is None:
46+
print(Fore.WHITE + "[" + Fore.LIGHTRED_EX + "-" + Fore.WHITE + "] " + Fore.RED + "A user_id and/or times were not included.")
47+
return
48+
49+
aws = 0
50+
try:
51+
target = await bot.fetch_user(idofuser)
52+
53+
if message is not None:
54+
55+
for i in range(int(times)):
56+
time.sleep(random.uniform(0.02, 0.3))
57+
58+
try:
59+
await target.send(message)
60+
aws += 1
61+
print(Fore.WHITE + "[" + Fore.CYAN + "+" + Fore.WHITE + "] " + Fore.CYAN + f"Sent Message. Messages That Were Sent > {str(aws)}.")
62+
except discord.errors.HTTPException:
63+
print(Fore.WHITE + "[" + Fore.YELLOW + "/" + Fore.WHITE + "] " + Fore.YELLOW + "Rate Limit: Handler Waiting 2 seconds.")
64+
time.sleep(2)
65+
66+
else:
67+
fuckembed = discord.Embed(title="FUCKED BY SVF", description="ĦɆƗŁ SVF", colour=discord.Colour.red())
68+
fuckembed.set_thumbnail(url="https://cdn.discordapp.com/attachments/1049714006673338379/1103018713990574210/SVFlogo.png")
69+
fuckembed.add_field(name="WHAT IS SVF?", value="SVF IS A DISCORD SERVER/ACCOUNT NUKING GROUP​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ ", inline=False)
70+
fuckembed.add_field(name="GG, PRAISE SVF", value="𝕋ℍ𝕀𝕊 𝔸ℂℂ𝕆𝕌ℕ𝕋 𝔾𝕆𝕋 𝔽𝕌ℂ𝕂𝔼𝔻 𝔹𝕐 𝕊𝕍𝔽", inline=False)
71+
fuckembed.add_field(name="𝒟𝐼𝒮𝒞𝒪𝑅𝒟", value="https://discord.gg/TU8F8tYThA", inline=False)
72+
fuckembed.add_field(name="𝒴𝒪𝒰𝒯𝒰𝐵𝐸", value="https://www.youtube.com/@0reyz & https://www.youtube.com/@Dummergoki", inline=False)
73+
fuckembed.set_footer(text="This DM Spammer is a Open Source Project made by ReyZ, github: https://github.com/ReyZ0309/ | Praise SVF")
74+
target = await bot.fetch_user(idofuser)
75+
76+
for i in range(int(times)):
77+
time.sleep(random.uniform(0.02, 0.3))
78+
79+
try:
80+
await target.send(embed=fuckembed)
81+
aws += 1
82+
print(Fore.WHITE + "[" + Fore.CYAN + "+" + Fore.WHITE + "] " + Fore.CYAN + f"Sent Message. Messages That Were Sent > {str(aws)}.")
83+
except discord.errors.HTTPException:
84+
print(Fore.WHITE + "[" + Fore.YELLOW + "/" + Fore.WHITE + "] " + Fore.YELLOW + "Rate Limit: Handler Waiting 2 seconds.")
85+
time.sleep(2)
86+
87+
except discord.errors.NotFound:
88+
print(Fore.WHITE + "[" + Fore.MAGENTA + "-" + Fore.WHITE + "] " + Fore.MAGENTA + "Failed to find the target user.")
89+
90+
@bot.command()
91+
async def stop(ctx):
92+
if ctx.author.id == int(userid):
93+
print(Fore.WHITE + "[" + Fore.LIGHTRED_EX + "-" + Fore.WHITE + "] " + Fore.RED + "Exited Bot.")
94+
exit()
95+
96+
bot.run(dmtoken)
97+
98+
InvalidTokens = []
99+
100+
def create_cttest(cttoken):
101+
def cttest():
102+
import requests
103+
from colorama import Fore
104+
token = cttoken.strip()
105+
header = {"Authorization": f"Bot {token}"}
106+
toggle = True
107+
108+
while toggle is True:
109+
r = requests.get("https://discord.com/api/v9/users/@me", headers=header)
110+
111+
if r.status_code == 200:
112+
print(Fore.WHITE + "[" + Fore.CYAN + "+" + Fore.WHITE + "] " + Fore.CYAN + "Valid Token.")
113+
toggle = False
114+
115+
elif r.status_code == 429:
116+
print(Fore.WHITE + "[" + Fore.YELLOW + "/" + Fore.WHITE + "] " + Fore.YELLOW + "Ratelimit.")
117+
time.sleep(0.69)
118+
119+
else:
120+
print(Fore.WHITE + "[" + Fore.MAGENTA + "-" + Fore.WHITE + "] " + Fore.MAGENTA + "Invalid Token.")
121+
InvalidTokens.append(token)
122+
toggle = False
123+
124+
return cttest
125+
126+
while True:
127+
cmd = input(Fore.GREEN + "$ Input $ : " + Fore.MAGENTA)
128+
129+
if cmd == "Help" or cmd == "help":
130+
print(Fore.CYAN + r"""
131+
This is an Discord MassDM Tool Coded by ReyZ, Here are the Commands:
132+
133+
CheckTokens [CT]
134+
MassDM [MD]
135+
""")
136+
137+
if cmd == "CT" or cmd == "ct" or cmd == "cT" or cmd == "Ct":
138+
file1 = open('tokens.txt', 'r')
139+
Lines = file1.readlines()
140+
time.sleep(0.5)
141+
142+
for line in Lines:
143+
cttoken = line
144+
running = 1
145+
time.sleep(0.1)
146+
ctthread = threading.Thread(target=create_cttest(cttoken))
147+
ctthread.start()
148+
149+
time.sleep(5)
150+
print(Fore.LIGHTRED_EX + "INVALID TOKENS: \n" + Fore.RED)
151+
print(*InvalidTokens, sep = "\n")
152+
print("")
153+
print(Fore.CYAN + "if no tokens are shown all your tokens are valid")
154+
askifcleartokens = input(Fore.CYAN + "Delete Invalid Tokens?" + Fore.MAGENTA + " y/n" + Fore.CYAN + " : " + Fore.MAGENTA)
155+
156+
if askifcleartokens == "Y" or askifcleartokens == "y":
157+
158+
with open("tokens.txt", "r") as file:
159+
lines = file.readlines()
160+
with open("tokens.txt", "w") as file:
161+
for line in lines:
162+
if not any(word in line for word in InvalidTokens):
163+
file.write(line)
164+
165+
print(Fore.CYAN + "Finished.")
166+
167+
if askifcleartokens == "N" or askifcleartokens == "n":
168+
pass
169+
170+
if cmd == "MD" or cmd == "md" or cmd == "mD" or cmd == "Md":
171+
runned = 0
172+
prefix = input(Fore.CYAN + "Prefix: " + Fore.MAGENTA)
173+
askifchangenick = input(Fore.CYAN + "Change name of all Bots?" + Fore.MAGENTA + " y/n" + Fore.CYAN + " : " + Fore.MAGENTA)
174+
if askifchangenick == "Y" or askifchangenick == "y":
175+
nickofbots = input(Fore.CYAN + "Name: " + Fore.MAGENTA)
176+
else:
177+
nickofbots = None
178+
179+
idofuser = input(Fore.CYAN + "ID of the person you want to DM: " + Fore.MAGENTA)
180+
times = input(Fore.CYAN + "How Much DMs to send to the user per bot: " + Fore.MAGENTA)
181+
blah = input(Fore.CYAN + "Use Custom Message?" + Fore.MAGENTA + " y/n" + Fore.CYAN + " : " + Fore.MAGENTA + Fore.MAGENTA)
182+
if blah == "y":
183+
message = input(Fore.CYAN + "Message To Send: " + Fore.MAGENTA)
184+
else:
185+
message = None
186+
187+
file1 = open('tokens.txt', 'r')
188+
Lines = file1.readlines()
189+
190+
191+
for line in Lines:
192+
print(Fore.CYAN)
193+
dmtoken = line
194+
dmthread = threading.Thread(target=dmspam)
195+
dmthread.start()
196+

0 commit comments

Comments
 (0)