-
Notifications
You must be signed in to change notification settings - Fork 201
/
start.py
198 lines (178 loc) · 7.71 KB
/
start.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
#
# start.py
# @author Merubokkusu
# @created Fri Jan 04 2019 00:58:07 GMT-0500 (Eastern Standard Time)
# @copyright 2018 - 2019
# @license CC BY-NC-ND 3.0 US | https://creativecommons.org/licenses/by-nc-nd/3.0/us/
# @website https://github.com/Merubokkusu/discord-spam-bots/
# @email [email protected]
# @last-modified Tue Mar 05 2019 02:11:47 GMT-0500 (Eastern Standard Time)
#
import sys
import subprocess
import os
from time import sleep
from config import *
proxy_number = 0
spam_text = None
p = None
def printWarning(input):
print("====")
print("WARNING! " + input)
print("====")
account_creator_completed = open("account_creator_completed.txt", 'a+').read().splitlines()
account_verify_completed = open("account_verify_completed.txt", 'a+').read().splitlines()
emailList = open("combolist.txt", 'a+').read().splitlines()
if os.path.exists('tokens.txt'):
userToken = open("tokens.txt").read().splitlines()
printWarning("EDIT YOUR CONFIG.PY BEFORE USING!\n-=Using tokens.txt=-\n")
else:
printWarning("EDIT YOUR CONFIG.PY BEFORE USING!")
if os.path.exists('combolist.txt'):
emailList = open("combolist.txt").read().splitlines()
else:
emailList = None
if os.path.exists('proxies.txt'):
proxy_list = open("proxies.txt").read().splitlines()
else:
proxy_list = ['localhost'] * 9000
def incrementProxyNumber():
global proxy_number
if(proxy_number < len(proxy_list)):
proxy_number =+ 1
else:
proxy_number = 0
if os.path.exists('tokens.txt'):
tokenV = open("tokens.txt").read().splitlines()
else:
tokenV = None
if len(sys.argv) < 2:
print(" +=================+")
print("Type one of the following numbers to launch that spammmer")
print(" +========- Server Spammers -=========+")
print("1 : Text Spammer - Write your own text to spam")
print("2 : Image Spammer - Spam random images in a selected folder")
print("3 : Insult Spammer - Picks insults online and spams them")
print(" +========- DM Spammers -=========+")
print("4 : Text Spammer - Write your own text to spam")
print("5 : Image Spammer - Spam random images in a selected folder")
print("6 : Insult Spammer - Picks insults online and spams them")
print(" +========- Other -=========+")
print("7 : Join Server - Join the server thats written in the config")
print(" +========- Account Creator -=========+")
print("8 : Account creator - Create bulk accounts")
print("9 : Account verifier - Verify accounts")
print(" +=================+")
in_pick = float(input("Select a bot: "))
else:
in_pick = float(sys.argv[1])
spam_text = sys.argv[2]
if in_pick == 1:
if os.path.exists('text.txt'):
for token in userToken:
p = subprocess.Popen([pythonCommand,'bots/server/discord_text_spam.py',token,'null',proxy_list[proxy_number]])
incrementProxyNumber()
sleep(1)
else:
if spam_text == None:
spam_text = input("Write spam text : ")
for token in userToken:
p = subprocess.Popen([pythonCommand,'bots/server/discord_text_spam.py',token,spam_text,proxy_list[proxy_number]])
incrementProxyNumber()
sleep(1)
if in_pick == 2:
for token in userToken:
p = subprocess.Popen([pythonCommand, 'bots/server/discord_image_spam.py', token,proxy_list[proxy_number]])
incrementProxyNumber()
if in_pick == 3:
for token in userToken:
p = subprocess.Popen([pythonCommand,'bots/server/discord_insult_spam.py', token,proxy_list[proxy_number]])
incrementProxyNumber()
#DM Spammers
if in_pick == 4:
if os.path.exists('text.txt'):
if not os.path.exists('dm_spam_text.txt'):
file = open('dm_spam_text.txt','w')
file.write('=====Merubokkusu=====\n')#This is written for bug issues :/
file.close()
for token in userToken:
p = subprocess.Popen([pythonCommand,'bots/DM/discord_text_spam_dm.py',token,'null',proxy_list[proxy_number]])
incrementProxyNumber()
sleep(2.5)
else:
if not os.path.exists('dm_spam_text.txt'):
file = open('dm_spam_text.txt','w')
file.write('=====Merubokkusu=====\n')#This is written for bug issues :/
file.close()
if spam_text == None:
spam_text = input("Write spam text : ")
for token in userToken:
p = subprocess.Popen([pythonCommand,'bots/DM/discord_text_spam_dm.py',token,spam_text,proxy_list[proxy_number]])
incrementProxyNumber()
sleep(2.5)
if in_pick == 5:
if not os.path.exists('dm_spam_image.txt'):
file = open('dm_spam_image.txt','w')
file.write('=====Merubokkusu=====\n')#This is written for bug issues :/
file.close()
for token in userToken:
p = subprocess.Popen([pythonCommand, 'bots/DM/discord_image_spam_dm.py', token,proxy_list[proxy_number]])
incrementProxyNumber()
if in_pick == 6:
if not os.path.exists('dm_spam_insult.txt'):
file = open('dm_spam_insult.txt','w')
file.write('=====Merubokkusu=====\n')#This is written for bug issues :/
file.close()
for token in userToken:
p = subprocess.Popen([pythonCommand,'bots/DM/discord_insult_spam_dm.py', token,proxy_list[proxy_number]])
incrementProxyNumber()
if in_pick == 7:
for token in userToken:
if userToken == False:
enp = token.split(':')
p = subprocess.Popen([pythonCommand,'bots/misc/joinServer.py',enp[0],enp[1],inviteLink,useBrowser,proxy_list[proxy_number]])
incrementProxyNumber()
sleep(joinSpeed)
else:
p = subprocess.Popen([pythonCommand,'bots/misc/joinServer2.0.py',token,inviteLink,proxy_list[proxy_number]])
incrementProxyNumber()
sleep(joinSpeed)
if in_pick == 8:
if(captchaAPI == ""):
printWarning("This requires an API key from https://2captcha.com/")
elif(emailList is None):
printWarning("You need to create the combolist.txt-file!")
else:
for combo in emailList:
enp = combo.split(':')
currentEmail = enp[0]
print("Starting account creation for: " + currentEmail)
if(currentEmail in account_creator_completed):
print("Account already created: " + currentEmail)
else:
p = subprocess.Popen([pythonCommand, 'bots/misc/account-creator/account_creator.py', enp[0], enp[1], proxy_list[proxy_number]])
incrementProxyNumber()
sleep(joinSpeed)
if in_pick == 9:
if(captchaAPI == ""):
printWarning("This requires an API key from https://2captcha.com/")
elif not os.path.exists('tokens.txt'):
printWarning("You need to create the tokens.txt-file!")
elif not os.path.exists('combolist.txt'):
printWarning("You need to create the combolist.txt-file!")
elif (mailServer == ""):
printWarning("mailServer is not set in the config!")
else:
for tokens in tokenV:
enp = tokens.split(':')
currentEmail = enp[0]
print("Starting account verification for: " + currentEmail)
if currentEmail in account_verify_completed:
print("Account already verified: " + currentEmail)
else:
p = subprocess.Popen([pythonCommand,'bots/misc/account-creator/account_verify.py', enp[0], enp[1], proxy_list[proxy_number], enp[2]])
incrementProxyNumber()
sleep(joinSpeed)
p.wait()
if p:
p.wait()