This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 105
/
profiler.py
664 lines (610 loc) · 31.6 KB
/
profiler.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
from colorama.initialise import init
from json import decoder
import threading, time, colorama, treelib, random, sys, os, argparse, json, requests, webbrowser, socketio, string
from tqdm import tqdm
from treelib import Node, Tree
from colorama import Fore, Back, Style, init
from statistics import mean
init(autoreset=True)
from modules.social_medias import wattpad_search
from modules.social_medias import skype_search
from modules.social_medias import copainsdavant_search
from modules.social_medias import instagram_search
from modules.social_medias import twitter_search
from modules.social_medias import facebook_search
from modules.social_medias import linkedin_search
from modules.official_documents import dirigeants_bfmtv
from modules.official_documents import death_records
from modules.official_documents import pagesblanches_search
from modules.mail import mail_gen
from modules.mail import scylla_sh
from modules.mail import mail_check
from modules.diplomes import last_diplomes
from modules.social_medias import soundcloud
from modules.visual import logging
from modules.api_modules import leakcheck_net
banner = False
# Opening json report template
data_file = open('modules/report.json','r')
data_export = json.load(data_file)
data_file.close()
# Affichage de la banniere
def banner():
if sys.platform == 'win32':
os.system('cls')
else:
os.system('clear')
print("""
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⠾⠛⢉⣉⣉⣉⡉⠛⠷⣦⣄⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⠋⣠⣴⣿⣿⣿⣿⣿⡿⣿⣶⣌⠹⣷⡀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⠁⣴⣿⣿⣿⣿⣿⣿⣿⣿⣆⠉⠻⣧⠘⣷⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⡇⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠀⠀⠈⠀⢹⡇⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡇⢸⣿⠛⣿⣿⣿⣿⣿⣿⡿⠃⠀⠀⠀⠀⢸⡇⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣷⠀⢿⡆⠈⠛⠻⠟⠛⠉⠀⠀⠀⠀⠀⠀⣾⠃⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⣧⡀⠻⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⠃⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢼⠿⣦⣄⠀⠀⠀⠀⠀⠀⠀⣀⣴⠟⠁⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⣠⣾⣿⣦⠀⠀⠈⠉⠛⠓⠲⠶⠖⠚⠋⠉⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⣠⣾⣿⣿⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⣠⣾⣿⣿⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⣾⣿⣿⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⢀⣄⠈⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
""")
print(" Get someone's digital identity anonymously 👻 ")
print(" Made by "+Style.BRIGHT+Fore.RED+"TheRealDalunacrobate "+Fore.RESET+Style.RESET_ALL+"with 💝")
banner()
# Get the arguments
parser = argparse.ArgumentParser()
parser.add_argument("-n", "--name", help="Victim name")
parser.add_argument('-ln','--lastname',help="Last name of victim")
parser.add_argument('-json','--json',help="Print result in json")
parser.add_argument('-zp','--zp',help="Zip code (Optional)")
args = parser.parse_args()
# Set the vars
name = (args.lastname)
pren = (args.name)
json_print = (args.json)
zip_code = (args.zp)
def randomString(length):
return ''.join(random.choice(string.ascii_letters) for i in range(length))
thisIsATmpTokenListener = randomString(25);
possible_usernames = []
folder_name = "{}_{}".format(pren,name)
personnal_life = []
social_medias = []
# Crraeate the folder for the reports
try:
os.mkdir('Reports')
except FileExistsError:
pass
try:
os.mkdir('Reports/{}'.format(folder_name))
except FileExistsError:
pass
# Main
try:
if pren and name is not None:
print("\n🎭 Finding and filtering online identities ...")
try:
copainsdavant_results = copainsdavant_search.copains_davant(name=name,pren=pren)
except:
copainsdavant_results = None
try:
facebook_results = facebook_search.facebook_search(name=name,pren=pren)
except:
facebook_results = None
try:
twitter_results = twitter_search.twitter_search(name=name,pren=pren)
except:
twitter_results = None
try:
official_linkedin_search_results = linkedin_search.official_linkedin_search(pren=pren,name=name)
except:
official_linkedin_search_results = None
try:
avis_deces_results = death_records.death_search(name=name,pren=pren)
except:
avis_deces_results = None
try:
bfmtv_results = dirigeants_bfmtv.bfmtv_search(name=name,pren=pren)
except:
bfmtv_results = None
try:
instagram_results = instagram_search.ig_search(name=name,pren=pren)
except:
instagram_results = None
try:
skype_results = skype_search.skype_searchh(name=name,pren=pren)
except:
skype_results = None
try:
diplome_bac = last_diplomes.last_diplomes_bac(name=name,pren=pren)
except:
diplome_bac = None
try:
if zip_code is not None:
pagesblanche = pagesblanches_search.adresse_search(name=name,pren=pren,zipc=str(zip_code))
else:
pagesblanche = pagesblanches_search.adresse_search(name=name,pren=pren,zipc=None)
except:
pagesblanche = None
try:
linkedin_results = linkedin_search.linkedin_search(name=name,pren=pren)
except:
linkedin_results = None
soundcloud.webdriver_usage(name=name,pren=pren)
wattpad_results = wattpad_search.wattpad_module(pren,name)
possible_mail = mail_gen.check(name=name,pren=pren)
skype2mail = mail_gen.skype2email(name=name,pren=pren)
pin2mail = mail_gen.pinterest2email(name=name,pren=pren)
elif len(pren) and len(name) == 0:
linkedin_results = None
facebook_results = None
twitter_results = None
avis_deces_results = None
bfmtv_results = None
instagram_results = None
copainsdavant_results = None
skype_results = None
pagesblanche = None
possible_mail = None
skype2mail = None
pren = ""
name = ""
else:
linkedin_results = None
facebook_results = None
twitter_results = None
avis_deces_results = None
bfmtv_results = None
instagram_results = None
copainsdavant_results = None
skype_results = None
pagesblanche = None
possible_mail = None
skype2mail = None
pren = ""
name = ""
except TypeError:
linkedin_results = None
facebook_results = None
twitter_results = None
avis_deces_results = None
bfmtv_results = None
instagram_results = None
copainsdavant_results = None
skype_results = None
pagesblanche = None
possible_mail = None
skype2mail = None
pren = ""
name = ""
average_age = []
tree = Tree()
tree.create_node(f"{pren} {name}", 1)
data_export['Name'] = pren
data_export['LastName'] = name
try:
diplome_bac = last_diplomes.last_diplomes_bac(name=name,pren=pren)
except:
diplome_bac = None
# Daprofiler check les deces
if avis_deces_results is not None:
tree.create_node("Death Records",41518181871541514778,parent=1)
for i in avis_deces_results[:5]:
tree.create_node('{} | {}\t| {}'.format(i['Age'],i['Name'],i['Loc']),parent=41518181871541514778)
data_export['DeathRecords']['Exists'] = True
data_export['DeathRecords']['Records'] = avis_deces_results[:5]
try:
average_age.append(int(i['Age']))
except ValueError:
pass
# Daprofiler check les linkedin
if linkedin_results is not None:
tree.create_node('LinkedIN Profile',15418911611515145145,parent=1)
tree.create_node(linkedin_results,parent=15418911611515145145)
try:
if official_linkedin_search_results is not None:
Loc = official_linkedin_search_results['Loc']
job = official_linkedin_search_results['Job']
email = official_linkedin_search_results['email']
urnid = official_linkedin_search_results['urnid']
url = official_linkedin_search_results['url']
twitters = official_linkedin_search_results['twitters']
birthdate = official_linkedin_search_results['birthdate']
phone_numbers = official_linkedin_search_results['phone_numbers']
tree.create_node('LinkedIN (Via API)',15458156411556562162,parent=1)
tree.create_node(f'UrnID : {urnid}',5151515155,parent=15458156411556562162)
tree.create_node(f'Url : {url}',55185514542335,parent=15458156411556562162)
if len(twitters) > 0:
tree.create_node('Twitters',25848145481514,parent=15458156411556562162)
for i in twitters:
tree.create_node(i,parent=25848145481514)
else:
pass
if len(phone_numbers) > 0:
tree.create_node('Phone Numbers',28945181781,parent=15458156411556562162)
for i in phone_numbers:
tree.create_node(i,parent=28945181781)
else:
pass
if Loc != False:
tree.create_node(f'Location : {Loc}',4561561510515656,parent=15458156411556562162)
if job is not None:
tree.create_node(f'Job : {job}',511515,parent=15458156411556562162)
if birthdate is not None:
tree.create_node(f'Birth Date : {birthdate}',5881981648,parent=1058151514851)
if email is not None:
tree.create_node(f'Email : {str(email)}',parent=15458156411556562162)
data_export['LinkedIN']['Exist'] = True
data_export['LinkedIN']['Job'] = job
data_export['LinkedIN']['urnid' ] = urnid
data_export['LinkedIN']['Url'] = url
data_export['LinkedIN']['Twitters'] = twitters
data_export['LinkedIN']['Birthdate'] = birthdate
data_export['LinkedIN']['PhoneNumbers'] = phone_numbers
except:
pass
if pagesblanche is not None:
personnal_life.append('.')
full_name = pagesblanche['Name']
adress = pagesblanche['Adress']
phone = pagesblanche['Phone']
sure_status = pagesblanche['Not_Sure']
data_export['AdressPhone']['Not_Sure'] = sure_status
data_export['AdressPhone']['Exists'] = True
data_export['AdressPhone']['FullName'] = full_name
data_export['AdressPhone']['Phone'] = phone
data_export['AdressPhone']['Adress'] = adress
if sure_status == True:
tree.create_node("Adress - Phone",2,parent=1)
else:
tree.create_node("Adress - Phone (You must verify this information)",2,parent=1)
tree.create_node("Full Name : {}".format(full_name),22,parent=2)
tree.create_node("Adress : {}".format(adress),33,parent=2)
tree.create_node("Phone : {}".format(phone),44,parent=2)
if pagesblanche['carrier'] is not None:
tree.create_node('Carrier : {}'.format(pagesblanche['carrier']),894,parent=44)
if pagesblanche['Loc_phone'] is not None:
tree.create_node('Localisation : {}'.format(pagesblanche['Loc_phone']),55,parent=44)
data_export['AdressPhone']['PhoneLocation'] = pagesblanche['Loc_phone']
if pagesblanche['Type_tel'] is not None:
tree.create_node('Type : {}'.format(pagesblanche['Type_tel']),66,parent=44)
if diplome_bac is not None:
if diplome_bac['Exists'] == True:
tree.create_node('DIPLOME BAC',58,parent=1)
tree.create_node('Bac : '+diplome_bac['Diplome'],848151541514,parent=58)
tree.create_node('Academy : '+diplome_bac['academie'],848151241514,parent=58)
tree.create_node('Mention : '+diplome_bac['mention'],848151341514,parent=58)
tree.create_node('City : '+diplome_bac['ville'],848151641514,parent=58)
tree.create_node('Source : '+diplome_bac['Link'],45994851726,parent=58)
data_export['Diploma_Bac']['Exists'] = True
data_export['Diploma_Bac']['Academie'] = diplome_bac['academie']
data_export['Diploma_Bac']['Mention'] = diplome_bac['mention']
data_export['Diploma_Bac']['City'] = diplome_bac['ville']
data_export['Diploma_Bac']['Diplome'] = diplome_bac['Diplome']
data_export['Diploma_Bac']['Link'] = diplome_bac['Link']
# Daprofiler check les copains davant
if copainsdavant_results is not None:
personnal_life.append('.')
data_export['CopainsDavant']['Exists'] = True
try:
tree.create_node("Copains d'avant",3,parent=1)
tree.create_node('Full Name : {}'.format(copainsdavant_results['full_name']),77,parent=3)
tree.create_node('Born Date : {}'.format(copainsdavant_results['born']),88,parent=3)
tree.create_node('Location : {}'.format(copainsdavant_results['localisation']),99,parent=3)
tree.create_node('Url : {}'.format(copainsdavant_results['url_full']),111,parent=3)
data_export['CopainsDavant']['FullName'] = copainsdavant_results['full_name']
data_export['CopainsDavant']['BornDate'] = copainsdavant_results['born']
data_export['CopainsDavant']['ProfileUrl'] = copainsdavant_results['url_full'].replace('https://','')
data_export['CopainsDavant']['Location'] = copainsdavant_results['localisation']
if copainsdavant_results['Other_locations'] is not None:
chars = "abcdefghijklmnopqrstuvwxyz1234567890"
number_sk = random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)
tree.create_node('Other Locations',number_sk,parent=3)
for i in copainsdavant_results['Other_locations']:
if i != copainsdavant_results['localisation']:
tree.create_node(i,parent=number_sk)
data_export['CopainsDavant']['OtherLocations'] = copainsdavant_results['Other_locations']
if copainsdavant_results['pdp'] != "None":
try:
tree.create_node('Profile Picture : {}'.format(copainsdavant_results['pdp']),151515454545,parent=3)
data_export['CopainsDavant']['ProfilePicUrl'] = copainsdavant_results['pdp'].replace('https://','')
except:
pass
if copainsdavant_results['Job'] != "None":
try:
tree.create_node('Job : {}'.format(copainsdavant_results['Job']),154156132489411,parent=3)
data_export['CopainsDavant']['Job'] = copainsdavant_results['Job']
except:
pass
if copainsdavant_results['familial_situation'] != "None":
try:
tree.create_node('Familial Situation : {}'.format(copainsdavant_results['familial_situation'].strip()),44984154114515,parent=3)
data_export['CopainsDavant']['FSituation'] = copainsdavant_results['familial_situation']
except:
pass
if copainsdavant_results['nb_enfants'] != "None":
try:
tree.create_node('Number of kids : {}'.format(copainsdavant_results['nb_enfants']),1654518948741,parent=3)
data_export['CopainsDavant']['NbKids'] = copainsdavant_results['nb_enfants']
except:
pass
except TypeError:
pass
# Daprofiler check BFMtv
if bfmtv_results is not None:
personnal_life.append('.')
data_export['Work']['Exists'] = True
data_export['Work']['FullName'] = bfmtv_results['full_name']
data_export['Work']['BornDate'] = bfmtv_results['naissance']
data_export['Work']['Company'] = bfmtv_results['company']
data_export['Work']['Function'] = bfmtv_results['fonction']
data_export['Work']['Warrant'] = bfmtv_results['mandats']
data_export['Work']['Link'] = bfmtv_results['link'].replace('https://','')
data_export['Work']['Capital'] = bfmtv_results['Capital']
data_export['Work']['Desc'] = bfmtv_results['Desc']
tree.create_node("Work - Job",4,parent=1)
tree.create_node('Full Name : {}'.format(bfmtv_results['full_name']),222,parent=4)
tree.create_node('Born Date : {}'.format(bfmtv_results['naissance']),333,parent=4)
tree.create_node('Adress : {}'.format(bfmtv_results['addr']),888,parent=4)
tree.create_node('Company : {}'.format(bfmtv_results['company']),777,parent=4)
tree.create_node('Desc : {}'.format(bfmtv_results['Desc']),78285,parent=4)
tree.create_node('Capital : {}'.format(bfmtv_results['Capital']),84566,parent=4)
tree.create_node('Link : {}'.format(bfmtv_results['link']),666,parent=4)
tree.create_node('Function : {}'.format(bfmtv_results['fonction']),444,parent=4)
tree.create_node('Warrant : {}'.format(bfmtv_results['mandats']),555,parent=4)
# Daprofiler check twitter
if twitter_results is not None:
social_medias.append('.')
data_export['Twitter']['Exists'] = True
data_export['Twitter']['Accounts'] = twitter_results
tree.create_node('Twitters',665847555858,parent=1)
for i in twitter_results:
temp = []
chars = "abcdefghijklmnopqrstuvwxyz1234567890"
number_sk = random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)
domain_list = ['@gmail.com','@hotmail.fr','@hotmail.com','@orange.fr','@outlook.com','@outlook.fr']
for domain in domain_list:
a = mail_check.verify(i.replace('@','')+domain)
if a == "True":
temp.append(i.replace('@','').lower()+domain)
if len(temp) == 0:
tree.create_node(i,parent=665847555858)
else:
tree.create_node(i,number_sk,parent=665847555858)
for temp_mail in temp:
tree.create_node(temp_mail,parent=number_sk)
# Daprofiler check skype
if skype_results is not None:
social_medias.append('.')
data_export['Skype']['Exists'] = True
data_export['Skype']['AccountList'] = skype_results
if len(skype_results) == 0:
pass
else:
tree.create_node("Skype",6,parent=1)
tree.create_node("Accounts : {}".format(str(len(skype_results))),12,parent=6)
for i in skype_results:
chars = "abcdefghijklmnopqrstuvwxyz1234567890"
number_sk = random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)
tree.create_node(i,number_sk,parent=12)
# Diploma printing
try:
try:
diplomess = last_diplomes.last_diplomes_brevet(name=name,pren=pren)
except :
diplomess = None
if diplomess is not None:
tree.create_node('BREVET DES COLLEGES',452,parent=1)
tree.create_node('Name : {}'.format(diplomess['Name']),1816864648,parent=452)
tree.create_node('Diploma : {}'.format(diplomess['Diplome']),45855887,parent=452)
tree.create_node('Details : {}'.format(diplomess['mention']),45855847,parent=452)
tree.create_node('Academy : {}'.format(diplomess['academie']),45855687,parent=452)
tree.create_node('Location : {}'.format(diplomess['ville']),45855881,parent=452)
tree.create_node('Source : {}'.format(diplomess['Link']),45896472,parent=452)
data_export['Diploma_Brevet']['Name'] = diplomess['Name']
data_export['Diploma_Brevet']['Exists'] = True
data_export['Diploma_Brevet']['Academie'] = diplomess['academie']
data_export['Diploma_Brevet']['Mention'] = diplomess['mention']
data_export['Diploma_Brevet']['City'] = diplomess['ville']
data_export['Diploma_Brevet']['Link'] = diplomess['Link']
except NameError:
pass
# Daprofiler check instagram
if instagram_results is not None:
if len(instagram_results) == 0:
pass
else:
social_medias.append('.')
data_export['Instagram']['Exists'] = True
tree.create_node("Instagram",7,parent=1)
tree.create_node('Accounts : {}'.format(str(len(instagram_results))),13,parent=7)
acc_json_list = []
for i in instagram_results:
chars = "abcdefghijklmnopqrstuvwxyz1234567890"
username = i
number_ski = random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)
bio_infos = instagram_search.getInstagramEmailFromBio(username)
tree.create_node(i,number_ski,parent=13)
try:
data = instagram_search.get_extra_data(username)
if data is None:
ob_phone = False
ob_mail = False
pass
else:
if data != {}:
if data['obfuscated_email'] is not None:
ob_mail = data['obfuscated_email']
tree.create_node("Obfuscated Email -> "+ob_mail,parent=number_ski)
else:
ob_mail = False
if data['obfuscated_phone'] is not None:
ob_phone = data['obfuscated_phone']
tree.create_node("Obfuscated Phone -> "+ob_phone,parent=number_ski)
else:
ob_phone = False
else:
ob_phone = False
ob_mail = False
finally:
pass
acc_json_list.append({"Username":username,'obfuscated_phone':ob_phone,'obfuscated_email':ob_mail})
bio_emails = bio_infos['emails']
paypal_bio = bio_infos['paypal']
city_loc = bio_infos['city_list']
is_lgbt = bio_infos['lgbt_points']
schoolname = bio_infos['school']
bestfriend = bio_infos['best_friend']
love_date = bio_infos['love_date']
age_bio = bio_infos['age']
ethnicity = bio_infos['origins']
facebook_l = bio_infos['fb_list']
twitter_l = bio_infos['twitter_list']
hobbies = bio_infos['Hobbies']
love_situa = bio_infos['love_situation']
religions = bio_infos['religions']
astrologys = bio_infos['astrology']
if love_situa is not None:
nnumber_ski = random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)
tree.create_node('Love Situation',nnumber_ski,parent=number_ski)
for i in love_situa:
tree.create_node(i,parent=nnumber_ski)
if astrologys is not None:
nnumber_ski = random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)
tree.create_node('Astrologic sign',nnumber_ski,parent=number_ski)
for i in astrologys:
tree.create_node(i,parent=nnumber_ski)
if religions is not None:
nnumber_ski = random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)
tree.create_node('Religion(s)',nnumber_ski,parent=number_ski)
for i in religions:
tree.create_node(i,parent=nnumber_ski)
if hobbies is not None:
nnumber_ski = random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)
tree.create_node('Hobbies',nnumber_ski,parent=number_ski)
for i in hobbies:
tree.create_node(i,parent=nnumber_ski)
if bestfriend is not None:
nnumber_ski = random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)
tree.create_node('Good relationship with',nnumber_ski,parent=number_ski)
for i in bestfriend:
tree.create_node('{}'.format(i),parent=nnumber_ski)
if is_lgbt is not None:
lgbt_flag = (Fore.RED+"█"+Fore.YELLOW+"█"+Fore.GREEN+"█"+Fore.BLUE+"█"+Fore.MAGENTA+"█"+Fore.RESET)
tree.create_node('{} LGBT Member'.format(lgbt_flag),parent=number_ski)
if ethnicity is not None:
tree.create_node('Ethnicity : {}'.format(str(ethnicity).replace('[','').replace(']','').replace("'","")),parent=number_ski)
if facebook_l is not None:
tree.create_node('Facebook : {}'.format(str(facebook_l).replace('[','').replace(']','').replace("'","")),parent=number_ski)
if twitter_l is not None:
tree.create('Twitter : {}'.format(str(twitter_l).replace('[','').replace(']','').replace("'","")),parent=number_ski)
if schoolname is not None:
tree.create_node('School Name : {}'.format(schoolname),parent=number_ski)
if city_loc is not None:
tree.create_node('City : {}'.format(city_loc[0]),parent=number_ski)
if paypal_bio is not None:
for i in paypal_bio:
tree.create_node('Paypal in bio -> '+i,parent=number_ski)
if bio_emails is not None:
for i in bio_emails:
chars = "abcdefghijklmnopqrstuvwxyz1234567890"
number_skkk = random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)
number_skk = random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)
tree.create_node('Email from bio -> '+Fore.CYAN+i+Fore.RESET,number_skkk,parent=number_ski)
data_export['Instagram']['AccountList'] = acc_json_list
# Daprofiler check facebook
if facebook_results is not None:
social_medias.append('.')
data_export['Facebook']['Exists'] = True
nb = str(len(facebook_results))
tree.create_node("Facebook",9,parent=1)
tree.create_node('Accounts : {}'.format(nb),10,parent=9)
data_export['Facebook']['AccountList'] = facebook_results
for i in facebook_results:
tree.create_node(i,parent=10)
# Daprofiler generate Possible Email
if possible_mail is not None:
if len(possible_mail) != 0 or len(skype2mail) != 0 or pin2mail is not None:
tree.create_node('Emails extracted',146,parent=1)
if skype2mail is not None:
tree.create_node('[++] High probability',142,parent=146)
no_doubles = []
for i in skype2mail:
if i not in no_doubles:
chars = "abcdefghijklmnopqrstuvwxyz1234567890"
number = random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)
no_doubles.append(i)
tree.create_node(i,number,parent=142)
# GETTING LEAKED PASSWORDS FROM SCYLLA.SH -> \modules\scylla_sh.py
scylla_results = scylla_sh.scylla_search(email=i)
if scylla_results is not None:
tree.create_node('Leaked From : Scylla.sh',1518451,parent=number)
for i in scylla_results:
chars = "abcdefghijklmnopqrstuvwxyz1234567890"
number = random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)
tree.create_node('Leak Name : {}'.format(i['Name']),parent=1518451)
tree.create_node('Password : {}'.format(i['Password']),parent=1518451)
# GET LEAKED PASSWORDS FROM LEAKCHET.NET API -> \api_modules\leakcheck_net.py
a = leakcheck_net.leak_check_api(mail=i)
if a is not None:
chars = "abcdefghijklmnopqrstuvwxyz1234567890"
number_pass = random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)+random.choice(chars)
tree.create_node("Leaked Creditentials",number_pass,parent=number)
for i in a:
password = i['password']
leak_name = i['leak_name']
leak_date = i['leak_date']
tree.create_node('Password : {}'.format(password),parent=number_pass)
tree.create_node('Leak Name : {}'.format(leak_name),parent=number_pass)
tree.create_node('Leak Date : {}'.format(leak_date),parent=number_pass)
data_export['Emails']['HighProbEmails'] = no_doubles
nb= str((len(possible_mail)))
if pin2mail is not None:
tree.create_node('[+++] Very high probability',45451451545545155154,parent=146)
for i in pin2mail:
tree.create_node('-> '+Fore.RED+i+Fore.RESET+" (Scraped from pinterest profile)",parent=45451451545545155154)
if int(nb) != 0:
tree.create_node("("+nb+") Possible Mailbox",8,parent=146)
data_export['Emails']['PermutatedMailbox'] = possible_mail
for i in possible_mail:
tree.create_node(i,parent=8)
print("✅ Ready to be consulted !")
print('\n')
# For data Analyzation
data_export['UI']['Pie']['PersonnalLife'] = len(personnal_life)
data_export['UI']['Pie']['SocialMedias'] = len(social_medias)
try:
data_export['UI']['Bar']['TwitterFounds'] = len(twitter_results)
except TypeError:
data_export['UI']['Bar']['TwitterFounds'] = 0
try:
data_export['UI']['Bar']['InstagramFounds'] = len(instagram_results)
except TypeError:
data_export['UI']['Bar']['InstagramFounds'] = 0
try:
data_export['UI']['Bar']['FacebookFounds'] = len(facebook_results)
except TypeError:
data_export['UI']['Bar']['FacebookFounds'] = 0
try:
data_export['UI']['Bar']['SkypeFounds'] = len(skype_results)
except TypeError:
data_export['UI']['Bar']['SkypeFounds'] = 0
if json_print == "true" or json_print == "yes" or json_print == "oui":
print('-- JSON START --')
print(data_export)
print('-- JSON END --')
else:
tree.show()
data_file.close()
try:
with open(f'Reports/{folder_name}/{name}_{pren}.json','w',encoding='utf8') as f:
json.dump(data_export,f,indent=4,ensure_ascii=False)
f.close()
except FileNotFoundError:
os.mkdir('Reports')
with open(f'Reports/{folder_name}/{name}_{pren}.json','w',encoding='utf8') as f:
json.dump(data_export,f,indent=4,ensure_ascii=False)
f.close()