-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathmain.py
359 lines (327 loc) · 13.5 KB
/
main.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
import pyautogui as pag
from getpass import getpass
import sys
import json
import requests
import keyboard
import time
import random
import webbrowser
from os import system, name
from colorama import Fore, Back, Style
import os
os.system('cls')
def clear():
if name == 'nt':
_ = system('cls')
def add():
try:
namesFile = open("names.txt", "r")
except:
print(Style.BRIGHT + Fore.LIGHTRED_EX +
"Could not open names.txt - please make sure this file exists")
exit()
namesData = namesFile.read()
names = namesData.strip().split("\n")
print(Style.BRIGHT + Fore.LIGHTRED_EX + "Retrieved names from names.txt\n")
print(Style.BRIGHT + Fore.LIGHTRED_EX +
":: Click enter when your mouse is over the 'Add Friend Button' ::")
if keyboard.read_key() == "enter":
addFriend = pag.position()
print(f"Cords captured: {addFriend}")
time.sleep(1)
print(":: Click enter when your mouse is over the 'Close Button' ::")
if keyboard.read_key() == "enter":
close = pag.position()
print(f"Cords captured: {close}")
time.sleep(1)
print(":: Click enter when your mouse is over the 'Find Friend Search Bar' ::")
if keyboard.read_key() == "enter":
searchBar = pag.position()
print(f"Cords captured: {searchBar}")
time.sleep(1)
print(":: Click enter when your mouse is over the 'Clear Friend Bar' ::")
if keyboard.read_key() == "enter":
clearText = pag.position()
print(f"Cords captured: {clearText}")
time.sleep(1)
print(":: Click enter when your mouse is over the 'First Add Button' ::")
while True:
if keyboard.read_key() == "enter":
firstAdd = pag.position()
print(f"Cords captured: {firstAdd}")
break
else:
continue
clear()
def adder(name):
# move to search bar
pag.moveTo(searchBar[0], searchBar[1], 0.5)
pag.click()
time.sleep(2)
# write out name
pag.typewrite(name, interval=0.10)
time.sleep(2)
# move to first add, then add
pag.moveTo(firstAdd[0], firstAdd[1], 0.5)
pag.click()
time.sleep(2)
pag.click()
time.sleep(2)
pag.click()
time.sleep(2)
pag.click()
time.sleep(2)
pag.click()
time.sleep(2)
pag.click()
time.sleep(2)
pag.click()
time.sleep(2)
pag.click()
time.sleep(2)
pag.click()
time.sleep(2)
# clears search bar
pag.moveTo(clearText[0], clearText[1], 0.5)
pag.click()
print("will cycle through your name list randomly\n\n")
time.sleep(3)
for name in names:
print("Doing: {0}".format(name))
adder(name)
time.sleep(1)
def sendsnap():
print(Style.BRIGHT + Fore.LIGHTRED_EX +
'How many cycles would you like to use? (1200 score per cycle): ')
print(Fore.CYAN + '\n\n\n\n\nSnapify> ', end='')
amount = float(input(Fore.WHITE + ''))
clear()
while True:
print(Style.BRIGHT + Fore.LIGHTRED_EX +
'Would you like to mute your microphone?(Note: this will make the program slower)(Yes/No) ')
print(Fore.CYAN + '\n\n\n\n\nSnapify> ', end='')
mute = input(Fore.WHITE + '').lower()
clear()
if mute == 'yes':
break
elif mute == 'no':
break
else:
getpass(Style.BRIGHT + Fore.LIGHTRED_EX +
'Error. You inserted an invalid option. Please try again.')
clear()
continue
print(Style.BRIGHT + Fore.LIGHTRED_EX +
":: Click enter when your mouse is over the 'Camera Button' ::")
if keyboard.read_key() == "enter":
CameraButton = pag.position()
print(f"Cords captured: {CameraButton}")
time.sleep(1)
if mute == 'yes':
print(":: Take a 3 second video then click enter when your mouse is over the 'Mute Button' ::")
if keyboard.read_key() == "enter":
MuteButton = pag.position()
print(f"Cords captured: {MuteButton}")
time.sleep(1)
print(":: Click on the 'Mute Button' then click enter when your mouse is over the 'Send To Button' ::")
if keyboard.read_key() == "enter":
SendToButton = pag.position()
print(f"Cords captured: {SendToButton}")
time.sleep(1)
elif mute == 'no':
print(":: Take a picture then click enter when your mouse is over the 'Send To Button' ::")
if keyboard.read_key() == "enter":
SendToButton = pag.position()
print(f"Cords captured: {SendToButton}")
time.sleep(1)
print(":: Click on the 'Send To Button' then click enter when your mouse is over the 'Last Snap Button' ::")
if keyboard.read_key() == "enter":
LastSnapButton = pag.position()
print(f"Cords captured: {LastSnapButton}")
time.sleep(1)
print(":: Click enter when your mouse is over the 'Send Snap Arrow' ::")
if keyboard.read_key() == "enter":
SendSnapArrow = pag.position()
print(f"Cords captured: {SendSnapArrow}")
time.sleep(1)
print(":: Click enter when your mouse is over the 'Camera Logo at the bottom center' ::")
if keyboard.read_key() == "enter":
CameraLogo = pag.position()
print(f"Cords captured: {CameraLogo}")
# countdown screen
TimeToHomePage = 15
while TimeToHomePage >= 0:
clear()
print(
f'You have {TimeToHomePage} seconds to go back to the snapchat homescreen before the boost begins.')
time.sleep(1)
TimeToHomePage -= 1
clear()
print(
f"Started boosting! Please don't turn off your phone or close this window while it's running. This will run for {amount} cycle('s)")
print('\n\n\n\n\n\n')
while amount > 0:
# move to camera button and record for one minute
pag.moveTo(CameraButton[0], CameraButton[1], 2)
pag.mouseDown()
time.sleep(63)
pag.mouseUp()
# if mute click yes
if mute == 'yes':
pag.moveTo(MuteButton[0], MuteButton[1], 2)
pag.click()
# move to send to button and click
pag.moveTo(SendToButton[0], SendToButton[1], 2)
pag.click()
# move to last snap and click
pag.moveTo(LastSnapButton[0], LastSnapButton[1], 2)
pag.click()
# move to send snap button and click
pag.moveTo(SendToButton[0], SendToButton[1], 2)
pag.click()
# move to send snap arrow and click
pag.moveTo(SendSnapArrow[0], SendSnapArrow[1], 2)
pag.click()
# move to camera logo and click
pag.moveTo(CameraLogo[0], CameraLogo[1], 2)
pag.click()
amount -= 1
print(f'Finished one cycle. {amount} left to go.')
clear()
print(Fore.GREEN + 'Finished Boosting. Thanks for using our tool.')
print(Fore.MAGENTA + '\n\nPlease check us out at:\n\nQuessts: https://cracked.to/Quessts\nANG: https://cracked.to/ANG', end='')
getpass(Fore.WHITE + '')
sys.exit()
def removefriends():
print(Style.BRIGHT + Fore.LIGHTRED_EX +
":: Head over to the recently added friends section then click enter when your mouse is over the first users 'icon' ::")
if keyboard.read_key() == "enter":
IconButton = pag.position()
print(f"Cords captured: {IconButton}")
time.sleep(1)
print(":: Click on the 'icon' then click enter when your mouse is over the '3 dots' on the top right corner ::")
if keyboard.read_key() == "enter":
ThreeDotsButton = pag.position()
print(f"Cords captured: {ThreeDotsButton}")
time.sleep(1)
print(":: Click on the '3 dots' then click enter when your mouse is over the 'remove friend' button ::")
if keyboard.read_key() == "enter":
RemoveFriendButton = pag.position()
print(f"Cords captured: {RemoveFriendButton}")
time.sleep(1)
print(":: Click on the 'remove friend' button then click enter when your mouse is over the 'confirm remove friend' button ::")
if keyboard.read_key() == "enter":
ConfirmRemoveFriendButton = pag.position()
print(f"Cords captured: {ConfirmRemoveFriendButton}")
time.sleep(1)
clear()
# countdown screen
TimeToRecentlyAddedPage = 15
while TimeToRecentlyAddedPage >= 0:
clear()
print(
f'You have {TimeToRecentlyAddedPage} seconds to go back to the snapchat recently added menu before the bot starts.')
time.sleep(1)
TimeToRecentlyAddedPage -= 1
clear()
print('Started removing friends! This proccess will contniue forever and has to be stopped manually.')
while True:
# move to icon button and click
pag.moveTo(IconButton[0], IconButton[1], 2)
pag.click()
# move to three dots button and click
pag.moveTo(ThreeDotsButton[0], ThreeDotsButton[1], 2)
pag.click()
# move to remove friend button and click
pag.moveTo(RemoveFriendButton[0], RemoveFriendButton[1], 2)
pag.click()
# move to confirm remove friend button and click
pag.moveTo(ConfirmRemoveFriendButton[0],
ConfirmRemoveFriendButton[1], 2)
pag.click()
time.sleep(6)
while True:
print(Style.BRIGHT + Fore.LIGHTRED_EX + """
%( #%
%### ###%
%%%%##### @@@/@@@/@@@, #####%##% ███████╗███╗ ██╗ █████╗ ██████╗ ██╗███████╗██╗ ██╗
%&%%%#%&@ @&%%#%%&% ██╔════╝████╗ ██║██╔══██╗██╔══██╗██║██╔════╝╚██╗ ██╔╝
%&&% %%%&% ███████╗██╔██╗ ██║███████║██████╔╝██║█████╗ ╚████╔╝
@@ @% ╚════██║██║╚██╗██║██╔══██║██╔═══╝ ██║██╔══╝ ╚██╔╝
@@ @& ███████║██║ ╚████║██║ ██║██║ ██║██║ ██║
*@/ @@ @* @@ ╚══════╝╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝
,@@ &@@
/ @@ #1 Free snapchat booster Developed by https://cracked.to/Quessts
@@ @% and partially by https://cracked.to/ANG
@@ &@#
%@@@* @@@@* V1.5 | need help? https://discord.link/Snapify
&@@@@( @@@@@
@@@@@@@ #@@@@@@@
@@@#@@(##@@(
""")
print(
'Select module:\n\n\n\n1) Add Friends\n\n2) Boost\n\n3) Remove Recently Added Friends\n\n\n ')
print(Fore.CYAN + 'Snapify> ', end='')
option = input(Fore.WHITE + '')
if option == '1':
while True:
clear()
print(Style.BRIGHT + Fore.LIGHTRED_EX +
"If you know how to use this type 'yes' if you don't type 'no'\n\n")
print(Fore.CYAN + 'Snapify> ', end='')
watchvid = input(Fore.WHITE + '').lower()
if watchvid == 'yes':
clear()
add()
elif watchvid == 'no':
clear()
webbrowser.open_new('https://youtu.be/uA4nNGV_jr8')
add()
else:
getpass(Style.BRIGHT + Fore.LIGHTRED_EX +
'Error. You inserted an invalid option. Please try again.')
clear()
continue
elif option == '2':
while True:
clear()
print(Style.BRIGHT + Fore.LIGHTRED_EX +
"If you know how to use this type 'yes' if you don't type 'no'\n\n")
print(Fore.CYAN + 'Snapify> ', end='')
watchvid = input(Fore.WHITE + '').lower()
if watchvid == 'yes':
clear()
sendsnap()
elif watchvid == 'no':
clear()
webbrowser.open_new('https://youtu.be/uA4nNGV_jr8')
sendsnap()
else:
getpass(Style.BRIGHT + Fore.LIGHTRED_EX +
'Error. You inserted an invalid option. Please try again.')
clear()
continue
elif option == '3':
while True:
clear()
print(Style.BRIGHT + Fore.LIGHTRED_EX +
"If you know how to use this type 'yes' if you don't type 'no'\n\n")
print(Fore.CYAN + 'Snapify> ', end='')
watchvid = input(Fore.WHITE + '').lower()
if watchvid == 'yes':
clear()
removefriends()
elif watchvid == 'no':
clear()
webbrowser.open_new('https://youtu.be/uA4nNGV_jr8')
removefriends()
else:
getpass(Style.BRIGHT + Fore.LIGHTRED_EX +
'Error. You inserted an invalid option. Please try again.')
clear()
continue
else:
getpass(Style.BRIGHT + Fore.LIGHTRED_EX +
'Error. You inserted an invalid option. Please try again.')
continue