-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTS-OSINT.py
2161 lines (1921 loc) · 132 KB
/
TS-OSINT.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
try:
import os, requests, instaloader, urllib.parse, json, time, sys, praw, socket, ipaddress, platform, psutil, subprocess, shutil, PIL.Image, PIL.ExifTags, cv2, pycountry, concurrent.futures, hashlib, faker, random, numpy
from instaloader import Instaloader
from rich.console import Console; from rich.table import Table
from telethon.sync import TelegramClient
from datetime import datetime
from selenium.webdriver.chrome.options import Options; from selenium.webdriver.common.by import By; from selenium import webdriver
from psnawp_api import PSNAWP
from binascii import hexlify
from PIL import Image; from PIL.ExifTags import TAGS, GPSTAGS
import phonenumbers; from phonenumbers import geocoder, carrier, timezone
from TrackCobra import Valid
from googlesearch import search
from search_engines import Google, Bing, Brave
from bs4 import BeautifulSoup
from http.cookiejar import CookieJar
from tabulate import tabulate
from io import BytesIO
except ModuleNotFoundError:
os.system("pip install requests praw ipaddress psutil pillow opencv-python selenium rich phonenumbers bs4 telethon TrackCobra googlesearch-python tabulate")
os.system("clear")
Black = "\033[1;30m"
Red = "\033[1;31m"
Green = "\033[1;32m"
Yellow = "\033[1;33m"
Blue = "\033[1;34m"
Purple = "\033[1;35m"
Cyan = "\033[1;36m"
White = "\033[1;37m"
Gray = "\033[1;39m"
DarkRed = "\033[2;31m"
DarkBlue = "\033[2;34m"
DarkPink = "\033[2;35m"
DarkCyan = "\033[2;36m"
print(f"""{Blue}
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢢⠀⠀⠀⢢⠀⢦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⡀⠀⢣⡀⠀⠀⠀⢣⢀⠀⠘⡆⢸⡀⠀⢢⠀⠀⠀⢠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⢄⠑⣄⠀⢻⠀⠀⠀⠘⡌⡆⠀⡇⢸⡇⠀⢸⡀⡆⠀⢸⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣤⣤⠼⣷⠼⡦⣼⣯⣧⣀⢰⡇⡇⢰⠇⣼⢳⠀⢸⡇⡇⠀⢸⡇⠀⡄⠀⢰⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣶⠿⠛⢉⡈⢧⡀⣸⡆⣇⣿⠃⣿⢀⣿⣻⢷⣿⣴⣇⡿⢀⣾⢠⡇⢀⣿⠀⢰⠃⠀⡜⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⣀⣴⡿⠋⢡⡀⠙⣦⠹⣎⣧⣿⣿⣿⣿⣼⣿⣿⣿⣿⣿⣾⣿⣿⣳⣿⣧⡿⣠⣾⡿⢀⢎⠀⡼⢁⠂⠀⡐⠀⠀
⠀⠀⠀⠀⠀⠀⢀⣴⠟⠉⠀⠀⢠⠹⣿⣾⣷⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣾⣿⣵⡷⣫⣾⠞⣡⠏⣠⡞⠀⣠⡆
⠀⠀⠀⠀⠀⣠⡿⠋⠀⠀⠠⣱⣄⣷⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣾⣷⣾⣯⣶⣿⡿⠃
⠀⠀⠀⠀⣴⠟⠁⠀⢤⡱⣄⣹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠿⣿⣿⡿⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠛⠉⠀⠀
⠀⠀⠀⣼⠋⠀⠀⣝⢦⣿⣿⣿⣿⣿⣿⣿⠿⢿⣿⣿⣿⣿⣷⣂⡙⣿⣿⡇⠀⠀⠀⠀⠀⠈⢉⣿⣿⣿⣿⣿⣿⠿⢿⣄⠀⠀⠀⠀⠀
⠀⠀⣼⠃⠀⠀⠤⣬⣿⣿⣿⣿⣿⡉⣿⣿⣄⣼⣿⣿⣿⣿⡟⠉⠀⢿⣿⡿⠀⠀⠀⠀⠀⢠⣾⣿⠿⠿⠿⠿⣟⡳⠄⠉⠀⠀⠀⠀⠀
⠀⣸⠃⠀⠀⢀⣾⣿⣿⠟⠋⢿⣥⡬⠙⣿⣿⣿⣿⣿⣿⡧⠀⠀⢲⣄⣿⠇⠀⠀⠀⢀⣴⣿⣿⣿⡿⣛⣓⠲⢤⡉⠀⠀⠀⠀⠀⠀⠀
⢰⠃⠀⠀⣠⣿⣿⠟⠁⠀⠀⠘⢿⣔⣢⡴⠛⠙⠛⠛⢁⠀⢠⣾⣦⣿⠏⠀⠀⢀⣴⣿⣿⣿⣯⡭⢍⡒⢌⠙⠦⡈⢢⡀⠀⠀⠀⠀⠀
⠁⠀⠀⣰⣿⡿⠁⠀⠀⠀⠀⠀⠈⠛⢿⣿⣿⣄⣴⣷⣾⣷⣤⣿⠟⠁⠀⣠⣴⣿⣿⣿⣿⣾⣍⡻⡄⠈⠳⡅⠀⠈⠂⠀⠀⠀⠀⠀⠀
⠀⠀⣼⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠙⠛⠛⠛⠉⠉⣀⣠⣶⣿⣿⣿⣿⣿⡿⢿⣿⣮⠙⢦⠀⠀⠈⠆⠀⠀⠀⠀⠀⠀⠀⠀
⠀⣸⠟⠁⠀⢀⣠⣤⣶⡶⢶⣶⣶⣦⣤⣤⣤⣤⣤⣶⣶⣾⣿⣿⣿⡿⢿⡿⣝⢫⡻⣍⠳⣝⢻⢧⠀⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⣰⠋⢀⣴⠞⠋⠉⠠⠋⠠⢋⠞⣹⢻⠏⢸⠉⡏⡿⢹⢿⢻⣿⢿⣿⡿⣦⠹⡈⠳⡘⡈⢣⠘⠆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠈⠀⠃⠀⠀⠘⠀⠀⡇⡜⠈⡸⢸⠀⢹⢸⠈⢆⠁⠀⢱⠁⠀⢇⠸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠘⠀⠘⠀⠀⢸⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
{Green}v5.1.6{White}
THIS TOOL WAS PROGRAMMED BY TLER AL-SHAHRANI.
PERSONAL WEBSITE : {Blue}https://tlersa.github.io/tleralshahrani/Index.html""")
print(f"{White}- "*50)
def main_menu():
print(f"""{White}[{Blue}01{White}] - Dorks [{Blue}11{White}] - Ports Scan [{Blue}21{White}] - Scan Links For Malwares
[{Blue}02{White}] - Search For Username [{Blue}12{White}] - Deep & Dark Web [{Blue}22{White}] - Create Fake Personal Info
[{Blue}03{White}] - Usernames OSINT [{Blue}13{White}] - CCTV [{Blue}23{White}] - Create Hashtags
[{Blue}04{White}] - Domains OSINT [{Blue}14{White}] - WebScraping [{Blue}24{White}] - Extract Login Panels
[{Blue}05{White}] - IP's OSINT [{Blue}15{White}] - Get Http Cookies [{Blue}25{White}] - Cars OSINT
[{Blue}06{White}] - Networks OSINT [{Blue}16{White}] - Israeli Databases \U0001F923
[{Blue}07{White}] - MetaData [{Blue}17{White}] - Check Passwords Leakage
[{Blue}08{White}] - PhoneNumbers OSINT [{Blue}18{White}] - Scan Websites For Bugs
[{Blue}09{White}] - Emails OSINT [{Blue}19{White}] - Get MacAddress
[{Blue}10{White}] - Search Engine [{Blue}20{White}] - Bank Cards OSINT
[{Blue}97{White}] - Update
[{Blue}98{White}] - Report A Bug
[{Blue}99{White}] - Help
[{Blue}00{White}] - Exit""")
def submenu1():
print(f"""{White}[{Blue}01{White}] - Instagram
[{Blue}02{White}] - Telegram Accs
[{Blue}03{White}] - TikTok
[{Blue}04{White}] - Github
[{Blue}05{White}] - Reddit
[{Blue}06{White}] - Tellonym
[{Blue}07{White}] - Sony
[{Blue}99{White}] - Back""")
def submenu2():
print(f"""{White}[{Blue}01{White}] - PhoneNumbers OSINT
[{Blue}02{White}] - Search For The Owner Of The PhoneNumber By Name
[{Blue}99{White}] - Back""")
def submenu3():
print(f"""{White}[{Blue}01{White}] - Networks OSINT
[{Blue}02{White}] - Show Network Operations
[{Blue}03{White}] - Extract The Location
[{Blue}99{White}] - Back""")
def submenu4():
print(f"""{White}[{Blue}01{White}] - Cameras Around The World
[{Blue}02{White}] - Cameras Of Places
[{Blue}99{White}] - Back""")
def submenu5():
print(f"""{White}[{Blue}01{White}] - My acc info
[{Blue}02{White}] - Osint for user by username
[{Blue}03{White}] - Osint for user by userID
[{Blue}99{White}] - Back""")
def handle_selection(selection):
def another_operation():
ao = input(f"\n{White}Would u like another operation? ({Blue}Y{White}/{Blue}N{White}) {Blue}")
if ao == "Y" or ao == "y" or ao == "Yes" or ao == "yes" or ao == "YES": main_menu()
elif ao == "N" or ao == "n" or ao == "No" or ao == "no" or ao == "No": exit(f"{White}")
else: print(f"{Red}Please choose a correct option!{White}")
if selection == "1" or selection == "01" or selection == "Dorks" or selection == "DORKS" or selection == "dorks":
class dorks():
def __init__(self):
self.fristname = None
self.FName = None
self.GFName = None
self.lastname = None
self.output = ""
self.admin()
def set_info(self):
fristname = input(f"{White}[{Blue}+{White}] FristName/Nickname : {Blue}")
FName = input(f"{White}[{Blue}+{White}] Father name : {Blue}")
GFName = input(f"{White}[{Blue}+{White}] GrandFather name : {Blue}")
lastname = input(f"{White}[{Blue}+{White}] Last/Family/Tribe name : {Blue}")
if fristname == "" or fristname == " ": self.fristname = False
else: self.fristname = fristname
if FName == "" or FName == " ": self.FName = False
else: self.FName = FName
if GFName == "" or GFName == " ": self.GFName = False
else: self.GFName = GFName
if lastname == "" or lastname == " ": self.lastname = False
else: self.lastname = lastname
if self.FName and self.fristname and self.GFName and self.lastname is None:
input(f"{Red}Please add at least fristname!{White}")
exit()
def admin(self):
self.set_info()
print(f"\n{White}[ Searching in internet browsers... ]")
space = " "
time.sleep(3)
if self.fristname:
sql = self.fristname + space
self.search_google(sql)
self.search_bing(sql)
self.search_brave(sql)
if self.fristname and self.FName:
sql = self.fristname + space + self.FName
self.search_google(sql)
self.search_bing(sql)
self.search_brave(sql)
if self.fristname and self.GFName:
sql = self.fristname + space + self.GFName
self.search_google(sql)
self.search_bing(sql)
self.search_brave(sql)
if self.fristname and self.lastname:
sql = self.fristname + space + self.lastname
self.search_google(sql)
self.search_bing(sql)
self.search_brave(sql)
if self.fristname and self.FName and self.lastname:
sql = self.fristname + space + self.FName + space + self.lastname
self.search_google(sql)
self.search_bing(sql)
self.search_brave(sql)
if self.fristname and self.GFName and self.lastname:
sql = self.fristname + space + self.GFName + space + self.lastname
self.search_google(sql)
self.search_bing(sql)
self.search_brave(sql)
if self.fristname and self.FName and self.GFName and self.lastname:
sql = self.fristname + space + self.FName + space + self.GFName + space + self.lastname
self.search_google(sql)
self.search_bing(sql)
self.search_brave(sql)
self.save()
def add_info(self, link, title, text, _from): self.output += f"""[-] Link : {link}
[-] Title : {title}
[-] Text : {text}
[-] From : {_from}\n\n"""
def search_google(self, sql):
time.sleep(0.5)
number_of_pages = int(input(f"{White}[{Blue}+{White}] How many pages you want to search in google? {Blue}"))
engine = Google()
results = engine.search(sql, pages=number_of_pages)
seen = set()
for data in results.__dict__['_results']:
text = data['text']
if text not in seen:
link = data['link']
title = data['title']
self.add_info(link, title, text, "Google")
seen.add(text)
print(f"{White}[{Green}✓{White}] Done Search in Google")
def search_bing(self, sql):
time.sleep(0.5)
number_of_pages = int(input(f"{White}[{Blue}+{White}] How many pages you want to search in bing? {Blue}"))
engine = Bing()
results = engine.search(sql, pages=number_of_pages)
seen = set()
for data in results.__dict__['_results']:
text = data['text']
if text not in seen:
link = data['link']
title = data['title']
self.add_info(link, title, text, "Google")
seen.add(text)
print(f"{White}[{Green}✓{White}] Done Search in Bing")
def search_brave(self, sql):
time.sleep(0.5)
number_of_pages = int(input(f"{White}[{Blue}+{White}] How many pages you want to search in brave? {Blue}"))
engine = Brave()
results = engine.search(sql, pages=number_of_pages)
seen = set()
for data in results.__dict__['_results']:
text = data['text']
if text not in seen:
link = data['link']
title = data['title']
self.add_info(link, title, text, "Google")
seen.add(text)
print(f"{White}[{Green}✓{White}] Done Search in Brave")
def save(self):
with open(f"Dorks results.txt", "wt", encoding="utf-8") as F: F.write(self.output)
F.close()
print(f"\n{White}[{Green}✓{White}] The results has been saved in {Blue}{ os.getcwd()}\Dorks results.txt{White}")
dorks()
elif selection == "2" or selection == "02" or selection == "Search For Username" or selection == "SEARCH FOR USERNAME" or selection == "search for username":
try:
def search_social_media(username):
websites = {
"FaceBook": f"https://www.facebook.com/public/{username}/",
"Instagram": f"https://instagram.com/{username}/",
"YouTube": f"https://www.youtube.com/@{username}/",
"TikTok": f"https://www.tiktok.com/@{username}/",
"SnapChat": f"https://www.snapchat.com/add/{username}/",
"Telegram": f"https://t.me/{username}/",
"Spotify": f"https://open.spotify.com/user/{username}/",
"X": f"https://twitter.com/{username}/",
"Pinterest": f"https://in.pinterest.com/{username}/",
"Reddit": f"https://www.reddit.com/user/{username}/",
"Tumblr": f"https://tumblr.com/{username}/",
"Google+": f"https://plus.google.com/s/{username}/top/",
"Weibo": f"https://weibo.com/u/{username}/",
"Badoo": f"https://www.badoo.com/en/{username}/",
"Behance": f"https://www.behance.net/{username}/",
"Dribbble": f"https://dribbble.com/{username}/",
"Kuaishou": f"https://www.kuaishou.com/profile/{username}/",
"YY": f"https://www.yy.com/u/{username}/",
"Quora": f"https://www.quora.com/profile/{username}/",
"Tieba Baidu": f"https://tieba.baidu.com/f?kw={username}/",
"Imgur": f"https://imgur.com/user/{username}/",
"PayPal": f"https://www.paypal.com/paypalme/{username}/",
"Vimeo": f"https://vimeo.com/{username}/",
"Discord": f"https://discord.gg/{username}/",
"Likee": f"https://l.likee.video/p/{username}/",
"PicsArt": f"https://picsart.com/{username}/",
"Twitch": f"https://www.twitch.tv/{username}/",
"Linkedin": f"https://www.linkedin.com/in/{username}/",
"Threads": f"https://www.threads.net/@{username}/",
"Medium": f"https://medium.com/@{username}/",
"Stack Exchange": f"https://academia.stackexchange.com/users/{username}/",
"Wattpad": f"https://www.wattpad.com/user/{username}/",
"SoundCloud": f"https://soundcloud.com/{username}/",
"Deviantart": f"https://www.deviantart.com/{username}/",
"YuboLive": f"https://www.deviantart.com/{username}/",
"Tinder": f"https://tinder.com/app/profile/{username}/",
"Wordpress": f"https://wordpress.com/{username}/",
"NextDoor": f"https://nextdoor.com/profile/{username}/",
"Triller": f"https://triller.co/@{username}/",
"Flickr": f"https://www.flickr.com/people/{username}/",
"Foursquare": f"https://foursquare.com/user/{username}/",
"Steam": f"https://steamcommunity.com/id/{username}/",
"Roblox": f"https://www.roblox.com/user.aspx?username={username}/",
"Fotolog": f"https://fotolog.com/{username}/",
"Gaiaonline": f"https://www.gaiaonline.com/profiles/{username}/",
"Myspace": f"https://myspace.com/{username}/",
"Replit": f"https://replit.com/@{username}/",
"Tagged": f"https://www.tagged.com/{username}/",
"Mixi": f"https://mixi.jp/view_community.pl?id= {username}/",
"Crunchyroll": f"https://www.crunchyroll.com/{username}/",
"Meetup": f"https://www.meetup.com/{username}/",
"Tellonym": f"https://tellonym.me/{username}/",
"Pastebin": f"https://pastebin.com/u/{username}/",
"Github": f"https://github.com/{username}/",
"Gitlab": f"https://gitlab.com/{username}/",
"Wikipedia": f"https://www.wikipedia.org/wiki/User:{username}/",
"Udemy": f"https://www.udemy.com/user/{username}/",
"Canva": f"https://www.canva.com/{username}/",
"Payhip": f"https://payhip.com/{username}",
"Portswigger": f"https://portswigger.net/users//{username}",
"DokanTip": f"https://tip.dokan.sa/{username}/",
"Harmash": f"https://harmash.com/users/{username}/",
"EXPO ReactNative": f"https://expo.dev/accounts/{username}" }
found_sites = []
for site, url in websites.items():
response = requests.get(url)
if response.status_code == 200:
time.sleep(0.5)
print(f"{White}[{Green}✓{White}] {site} : Found - {Yellow}{url}")
found_sites.append(f"{site} : {url}")
else: print(f"{White}[{Red}X{White}] {site} Not Found")
print(f"\n{White}[{Green}✓{White}] Done search in 62 social media!")
return found_sites
def save_results(results):
with open(f"search_social_media_results.txt", "wt") as F:
for i, result in enumerate(results, start=1): F.write(f"{i}- {result}\n")
F.close()
print(f"{White}[{Green}✓{White}] The results has been saved in {Blue}{ os.getcwd()}\search social media results.txt{White}")
username = input(f"{White}[{Blue}+{White}] Enter username/nickname target : {Blue}@")
print(f"{White}Search for {Blue}@{username}{White} in")
time.sleep(1)
results = search_social_media(username)
save_to_file = input(f"\n{White}Do you want to save it to a file? ({Blue}Y{White}/{Blue}N{White}) {Blue}")
if save_to_file == "Y" or save_to_file == "y" or save_to_file == "Yes" or save_to_file == "yes" or save_to_file == "YES": save_results(results)
elif save_to_file == "N" or save_to_file == "n" or save_to_file == "No" or save_to_file == "no" or save_to_file == "No": exit()
else: print(f"{Red}Please choose a correct option!{White}")
except BaseException as msg: print(f"{Red}E : {msg}")
elif selection == "3" or selection == "03" or selection == "Usernames OSINT" or selection == "usernames OSINT" or selection == "USERNAMES OSINT" or selection == "usernames osint":
submenu1()
user_input = input(f"Choose : {Blue}")
if user_input == "1" or user_input == "01" or user_input == "Instagram" or user_input == "INSTAGRAM" or user_input == "intagram" or user_input == "Insta" or user_input == "INSTA" or user_input == "insta":
x = Instaloader()
username = input(f"{White}[{Blue}+{White}] Enter username target : {Blue}@")
print(f"{White}Getting info...")
time.sleep(3)
print(f"{White}[ Get info for {Blue}@{username} {Green}✓{White} ]\n")
time.sleep(1)
f = instaloader.Profile.from_username(x.context, username)
try:
print(f"""
┏━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Info ┃ Acc ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ ID │ {f.userid}
│ Is business acc? │ {"Yes" if f.is_business_account else "No"}
│ Business category name │ {f.business_category_name}
│ Is verified acc? │ {"Yes" if f.is_verified else "No"}
│ Is private acc? │ {"Yes" if f.is_private else "No"}
│ Username │ @{f.username}
│ Nickname │ {f.full_name}
│ Avater │ {f.profile_pic_url}
│ Followers │ {f.followers}
│ Following │ {f.followees}
│ Followed by viewer │ {f.followed_by_viewer}
│ Follows by viewer │ {f.follows_viewer}
│ Has blocked viewer │ {f.has_blocked_viewer}
│ Posts │ {f.mediacount}
│ IGTV videos │ {f.igtvcount}
│ Has public stories? │ {f.has_public_story}
│ Has viewable stories? │ {f.has_viewable_story}
│ Has highlight? │ {f.has_highlight_reels}
│ Bio │ {f.biography}
│ Bio link │ {f.external_url}
│ Has requested viewer? │ {f.has_requested_viewer}
│ Has requested by viewer? │ {f.requested_by_viewer}
└──────────────────────────┴──────────────────────────────────────────────────────────────────────────────┘""")
except BaseException as msg: print(f"{Red}E : {msg}")
elif user_input == "2" or user_input == "02" or user_input == "Telegram" or user_input == "TELEGRAM" or user_input == "telegram" or user_input == "Tele" or user_input == "TELE" or user_input == "tele":
api_id = input(f"{White}[{Blue}+{White}] - Enter your API ID : {Blue}")
api_hash = input(f"{White}[{Blue}+{White}] - Enter your API hash : {Blue}")
client = TelegramClient("session_name", api_id, api_hash)
async def main():
await client.start()
username = input(f"{White}[{Blue}+{White}] - Enter username/phonenumber target : {Blue}@")
print(f"{White}Getting info...")
time.sleep(3)
print(f"{White}[ Get info for {Blue}@{username} {Green}✓{White} ]\n")
time.sleep(1)
try:
username = await client.get_entity(username)
table = Table(title="")
table.add_column("Info", no_wrap=True)
table.add_column("Acc")
table.add_row("ID", str(username.id))
table.add_row("Username", str("@"+username.username))
table.add_row("Fristname", str(username.first_name))
table.add_row("Lastname", str(username.last_name))
table.add_row("Phonenumber", str(username.phone))
Console().print(table, justify="left")
except BaseException as mag: print(f"{Red}E : {mag}")
await client.disconnect()
if __name__ == '__main__':
import asyncio
asyncio.run(main())
elif user_input == "3" or user_input == "03" or user_input == "TikTok" or user_input == "TIKTOK" or user_input == "tiktok" or user_input == "Tik" or user_input == "TIK" or user_input == "tik":
class Tik:
def __init__(self, username: str):
self.username = username
self.json_data = None
if "@" in self.username: self.username = self.username.replace("@", "")
self.admin()
def admin(self):
self.send_request()
self.output()
def send_request(self):
headers = {"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0"}
r = requests.get(f"https://www.tiktok.com/@{self.username}", headers=headers)
try:
soup = BeautifulSoup(r.text, 'html.parser')
script_tag = soup.find('script', {'id': '__UNIVERSAL_DATA_FOR_REHYDRATION__'})
script_text = script_tag.text.strip()
self.json_data = json.loads(script_text)["__DEFAULT_SCOPE__"]["webapp.user-detail"]["userInfo"]
except: print(f"{Red}E : Username not found!{White}")
def get_user_id(self):
try: return str(self.json_data["user"]["id"])
except IndexError: return "Unknown"
def get_name(self):
try: return self.json_data["user"]["nickname"]
except IndexError: return "Unknown"
def is_verified(self):
try:
check = self.json_data["user"]["verified"]
if check == "false" or check is False: return "No"
else: return "Yes"
except: return "Unknown"
def secUid(self):
try: return self.json_data["user"]["secUid"]
except: return "Unknown"
def is_private(self):
try:
check = self.json_data["user"]["privateAccount"]
if check == "true" or check is True: return "Yes"
else: return "No"
except: return "Unknown"
def followers(self):
try: return self.json_data["stats"]["followerCount"]
except: return "Unknown"
def following(self):
try: return self.json_data["stats"]["followingCount"]
except: return "Unknown"
def user_create_time(self):
try:
url_id = int(self.get_user_id())
binary = "{0:b}".format(url_id)
i = 0
bits = ""
while i < 31:
bits += binary[i]
i += 1
timestamp = int(bits, 2)
dt_object = datetime.fromtimestamp(timestamp)
return dt_object
except: return "Unknown"
def last_change_name(self):
try:
time = self.json_data["user"]["nickNameModifyTime"]
check = datetime.fromtimestamp(int(time))
return check
except: return "Unknown"
def account_region(self):
try: return self.json_data["user"]["region"]
except: return "Unknown"
def video_count(self):
try: return self.json_data["stats"]["videoCount"]
except: return "Unknown"
def open_favorite(self):
try:
check = self.json_data["user"]["openFavorite"]
if check is False or check == "false": return "No"
return "Yes"
except: return "Unknown"
def see_following(self):
try:
check = str(self.json_data["user"]["followingVisibility"])
if check == "1": return "Yes"
return "No"
except: return "Unknown"
def language(self):
try: return str(self.json_data["user"]["language"])
except: return "Unknown"
def heart_count(self):
try: return str(self.json_data["stats"]["heart"])
except: return "Unknown"
def output(self):
print(f"{White}[ Get info for {Blue}@{self.username} {Green}✓{White} ]\n")
time.sleep(1)
table = Table(title="")
table.add_column("Info", no_wrap=True)
table.add_column("Acc")
table.add_row("ID", str(self.get_user_id()))
table.add_row("SecUid", str(self.secUid()))
table.add_row("is verified?", str(self.is_verified()))
table.add_row("is private?", str(self.is_private()))
table.add_row("Username", str("@"+self.username))
table.add_row("Nickname", str(self.get_name()))
table.add_row("Location", str(self.account_region()))
table.add_row("Followers", str(self.followers()))
table.add_row("Following", str(self.following()))
table.add_row("Can see following list?", str(self.see_following()))
table.add_row("Videos", str(self.video_count()))
table.add_row("Likes", str(self.heart_count()))
table.add_row("Open Fav?", str(self.open_favorite()))
table.add_row("Language", str(self.language()))
table.add_row("Create", str(self.user_create_time()))
table.add_row("Last change nickname", str(self.last_change_name()))
Console().print(table, justify="left")
username = input(f"{White}[{Blue}+{White}] Enter username target : {Blue}@")
print(f"{White}Getting info...")
time.sleep(3)
Tik(username)
elif user_input == "4" or user_input == "04" or user_input == "GitHub" or user_input == "GITHUB" or user_input == "github":
class Github:
def __init__(self):
self.Start()
def Start(self):
self.username = input(f"{White}[{Blue}+{White}] Enter username target : {Blue}@")
print(f"{White}Getting info...")
time.sleep(3)
print(f"{White}[ Get info for {Blue}@{self.username} {Green}✓{White} ]\n")
time.sleep(1)
try:
self.Get = requests.get('https://api.github.com/users/%s'%(self.username))
self.Req = json.loads(self.Get.text)
table = Table(title="")
table.add_column("Info", no_wrap=True)
table.add_column("Acc")
table.add_row("ID", str(self.Req['node_id']))
table.add_row("Type", str(self.Req['type']))
table.add_row("Username", str("@"+self.Req['login']))
table.add_row("Acc link", str(self.Req['html_url']))
table.add_row("Nickname", str(self.Req['name']))
table.add_row("Company", str(self.Req['company']))
table.add_row("Bio", str(self.Req['bio']))
table.add_row("Public email", str(self.Req['email'] if self.Req['email'] else "No"))
table.add_row("Bio link", str(self.Req['blog']))
table.add_row("X link", str(self.Req['twitter_username'] if self.Req['twitter_username'] else "No"))
table.add_row("Avatar", str(self.Req['avatar_url']))
table.add_row("Location", str(self.Req['location']))
table.add_row("Followers", str(self.Req['followers']))
table.add_row("Following", str(self.Req['following']))
table.add_row("Public repos", str(self.Req['public_repos']))
table.add_row("Public gists", str(self.Req['public_gists']))
table.add_row("Create", str(self.Req['created_at']))
table.add_row("Hireable", str("Yes" if self.Req['hireable'] else "No"))
table.add_row("Last updated", str(self.Req['updated_at']))
Console().print(table, justify="left")
except BaseException as mag: print(f"{Red}E : {mag}")
if __name__=='__main__': Github()
elif user_input == "5" or user_input == "05" or user_input == "Reddit" or user_input == "REDDIT" or user_input == "reddit":
client_id = input(f"{White}[{Blue}+{White}] - Enter your client ID : {Blue}")
client_secret = input(f"{White}[{Blue}+{White}] - Enter your client secert : {Blue}")
user_agent = input(f"{White}[{Blue}+{White}] - Enter your useragent : {Blue}@")
username = input(f"{White}[{Blue}+{White}] - Enter username target : {Blue}@")
print(f"{White}Getting info...")
time.sleep(3)
print(f"{White}[ Get info for {Blue}@{username} {Green}✓{White} ]\n")
time.sleep(1)
reddit = praw.Reddit(client_id=client_id, client_secret=client_secret, user_agent=user_agent)
try:
username = reddit.redditor(username)
table = Table(title="")
table.add_column("Info", no_wrap=True)
table.add_column("Acc")
table.add_row("ID", str(username.id))
table.add_row("Username", str("@"+username.name))
table.add_row("Nickname", str(username.fullname))
table.add_row("Avatar", str(username.icon_img))
table.add_row("Bio", str(username.subreddit['description']))
table.add_row("Bio link", str(username.subreddit['public_description']))
table.add_row("Public email", str("Yes" if username.has_verified_email else "No"))
table.add_row("Public phonenumber", str(username.comment_karma + username.link_karma))
table.add_row("Create", str(username.created_utc))
Console().print(table, justify="left")
except BaseException as mag: print(f"{Red}E : {mag}")
elif user_input == "6" or user_input == "06" or user_input == "Tellonym" or user_input == "TELLONYM" or user_input == "tellonym" or user_input == "Tell" or user_input == "TELL" or user_input == "tell":
class Tell:
def __init__(self, username):
self.username = username
self.driver = self.driver()
self.get_info()
@staticmethod
def driver():
chrome_options = Options()
chrome_options.add_argument('disable-infobars')
chrome_options.add_argument("--disable-logging")
chrome_options.add_argument('--log-level=3')
chrome_options.add_argument("--headless")
chrome_options.add_argument("--user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36")
return webdriver.Chrome(options=chrome_options)
def get_info(self):
try:
self.driver.get(f"https://api.tellonym.me/profiles/name/{self.username}?previousRouteName=ScreenProfileSharing&isClickedInSearch=true&sourceElement=Search%20Result&adExpId=91&limit=16")
self.driver.implicitly_wait(5)
response = self.driver.find_element(By.TAG_NAME, "pre")
if "The entry you were looking for could not be found." in response.text:
input(f"{Red}Username not found!{White}")
exit()
elif "This account is banned." in response.text:
input(f"{Red}acc is banned!{White}")
exit()
else:
json_data = json.loads(response.text)
id = json_data.get("id", "Unknown")
username = json_data.get("username", "Unknown")
name = json_data.get("displayName", "Unknown")
bio = json_data.get("aboutMe", "Unknown")
avatar = f"https://userimg.tellonym.me/lg-v2/{json_data['avatarFileName']}"
countryCode = json_data.get("countryCode", "Unknown")
followers = json_data.get("followerCount", "Unknown")
anonymousFollowerCount = json_data.get("anonymousFollowerCount", "Unknown")
RealFollowers = followers - anonymousFollowerCount or "0"
following = json_data.get("followingCount", "Unknown")
tell = json_data.get("tellCount", "Unknown")
answer = json_data.get("answerCount", "Unknown")
likes = json_data.get("likesCount", "Unknown")
is_Verified = json_data.get("isVerified", "Unknown")
is_Able_to_comment = json_data.get("isAbleToComment", "Unknown")
is_Active = json_data.get("isActive", "Unknown")
table = Table(title="\n")
table.add_column("Info", no_wrap=True)
table.add_column("Acc")
table.add_row("ID", str(id))
table.add_row("Username", str("@"+username))
table.add_row("Name", str(name))
table.add_row("Bio", str(bio))
table.add_row("Avatar", str(avatar))
table.add_row("Country", str(countryCode))
table.add_row("Followers", str(followers))
table.add_row("Real Followers", str(RealFollowers))
table.add_row("Anonymous Followers", str(anonymousFollowerCount))
table.add_row("Following", str(following))
table.add_row("Tells", str(tell))
table.add_row("Answers", str(answer))
table.add_row("Likes", str(likes))
table.add_row("is Verified acc?", "Yes" if is_Verified else "No")
table.add_row("is Able to comment?", "Yes" if is_Able_to_comment else "No")
table.add_row("is Active now?", "Yes" if is_Active else "No")
Console().print(table, justify="left")
except BaseException as mag: print(f"{Red}E : {mag}")
username = input(f"{White}[{Blue}+{White}] - Enter username target : {Blue}@")
print(f"{White}Getting info...")
time.sleep(3)
print(f"{White}[ Get info for {Blue}@{username} {Green}✓{White} ]\n")
time.sleep(1)
Tell(username)
elif user_input == "7" or user_input == "07" or user_input == "Sony" or user_input == "SONY" or user_input == "sony":
class PSN():
def __init__(self):
self.key = input(f"{White}[{Blue}+{White}] Enter the npsso : {Blue}")
self.r = None
self.admin()
def admin(self):
print(f"{White}Check npsso...\n")
time.sleep(1.5)
self.check_from_code()
if self.r:
submenu5()
user_input_submenu5 = input(f"Choose : {Blue}")
if user_input_submenu5 == "1" or user_input_submenu5 == "01" or user_input_submenu5 == "My acc info" or user_input_submenu5 == "MY ACC INFO" or user_input_submenu5 == "my acc info": self.my_acc_info()
elif user_input_submenu5 == "2" or user_input_submenu5 == "02" or user_input_submenu5 == "Osint for user by username" or user_input_submenu5 == "OSINT FOR USER BY USERNAME" or user_input_submenu5 == "osint for user by username": self.osint_username()
elif user_input_submenu5 == "3" or user_input_submenu5 == "03" or user_input_submenu5 == "Osint for user by userID" or user_input_submenu5 == "OSINT FOR USER BY USERID" or user_input_submenu5 == "osint for user by userid": self.osint_userid()
elif user_input_submenu5 == "99" or user_input_submenu5 == "Back" or user_input_submenu5 == "BACK" or user_input_submenu5 == "back": main_menu()
else:
print(f"{Red}Please choose a correct option!")
submeun5()
else: print(f"{Red}Please enter a correct npsso!")
def my_acc_info(self):
print(f"{White}Getting info...")
time.sleep(3)
print(f"{White}[ Get info for {Blue}{self.key} {Green}✓{White} ]")
time.sleep(1)
info = self.r.me()
table = Table(title="\n")
table.add_column("Info", no_wrap=True)
table.add_column("Acc")
table.add_row("UserID", info.account_id)
table.add_row("Username", f"@{info.online_id}")
info_profile = json.dumps(info.get_profile_legacy())
info_profile = json.loads(info_profile)
table.add_row("Nickname", f"{info_profile['profile']['personalDetail']['firstName']} {info_profile['profile']['personalDetail']['lastName']}")
device_info = json.dumps(info.get_account_devices())
device_info = json.loads(device_info)
table.add_row("Device", "PlayStation")
i = 0
while True:
try:
table.add_row("Device ID", device_info[i]['deviceId'])
table.add_row("Device Type", device_info[i]['deviceType'] if device_info[i]['deviceType'] else "Not Found")
table.add_row("Activation Date", device_info[i]['activationDate'])
i += 1
except: break
table.add_row("Avatar", info_profile['profile']['avatarUrls'][0]['avatarUrl'] if info_profile['profile']['avatarUrls'][0]['avatarUrl'] else "Not Found")
table.add_row("Have Plus?", str(info_profile['profile']['plus']))
table.add_row("Trophys", f"{info_profile['profile']['trophySummary']['earnedTrophies']['bronze']} Bronze | {info_profile['profile']['trophySummary']['earnedTrophies']['silver']} Silver | {info_profile['profile']['trophySummary']['earnedTrophies']['gold']} Gold | {info_profile['profile']['trophySummary']['earnedTrophies']['platinum']} Platinum")
Console().print(table, justify="left")
frinds_list = info.friends_list()
print("Friends List")
for accounts in frinds_list:
print(f" User : @{accounts.online_id}")
info_b = info.blocked_list()
print("Blocked List")
for users in info_b:
print(f" User : @{users.online_id}")
def osint_username(self):
username = input(f"{White}[{Blue}+{White}] Enter username target : {Blue}@")
print(f"{White}Getting info...")
time.sleep(3)
print(f"{White}[ Get info for {Blue}{username} {Green}✓{White} ]")
time.sleep(1)
try:
info = self.r.user(online_id=username)
table = Table(title="\n")
table.add_column("Info", no_wrap=True)
table.add_column("Acc")
profile_info = info.profile()
table.add_row("UserID", info.account_id)
table.add_row("Username", f"@{profile_info['onlineId']}")
table.add_row("Nickname", f"{profile_info['personalDetail']['firstName']} {profile_info['personalDetail']['lastName']}")
table.add_row("Avatar", profile_info['personalDetail']['profilePictures'][0]['url'])
table.add_row("Bio", profile_info['personalDetail']['profilePictures'][0]['url'])
table.add_row("Have Plas?", str(profile_info['isPlus']))
Console().print(table, justify="left")
except BaseException as mag: print(f"{Red}E : {mag}")
def osint_userid(self):
userid = input(f"{White}[{Blue}+{White}] Enter userid target : {Blue}")
print(f"{White}Getting info...")
time.sleep(3)
print(f"{White}[ Get info for {Blue}{userid} {Green}✓{White} ]")
time.sleep(1)
try:
info = self.r.user(account_id=userid)
table = Table(title="\n")
table.add_column("Info", no_wrap=True)
table.add_column("Acc")
profile_info = info.profile()
table.add_row("UserID", info.account_id)
table.add_row("Username", f"@{profile_info['onlineId']}")
table.add_row("Nickname", f"{profile_info['personalDetail']['firstName']} {profile_info['personalDetail']['lastName']}")
table.add_row("Avatar", profile_info['personalDetail']['profilePictures'][0]['url'])
table.add_row("Bio", profile_info['personalDetail']['profilePictures'][0]['url'])
table.add_row("Have Plas?", str(profile_info['isPlus']))
Console().print(table, justify="left")
except BaseException as mag: print(f"{Red}E : {mag}")
def setup(self):
self.r = PSNAWP(self.key)
def check_from_code(self):
try:
check = PSNAWP(self.key)
self.setup()
except: print(f"{Red}E : The npsso not working!")
PSN()
elif user_input == "99" or user_input == "Back" or user_input == "BACK": main_menu()
else: print(f"{Red}Please choose a correct option!")
elif selection == "4" or selection == "04" or selection == "Domains OSINT" or selection == "DOMAINS OSINT" or selection == "domains osint":
domain = input(f"{White}[{Blue}+{White}] - Enter the domain or IP : {Blue}")
print(f"{White}Getting info...")
time.sleep(3)
print(f"[ Get info for {Blue}{domain} {Green}✓{White} ]\n")
time.sleep(1)
def domain_info():
url = f"https://demo.ip-api.com/json/{domain}?fields=66842623&lang=en"
headers = { 'Accept': '*/*',
'Accept-Encoding': 'gzip, deflate, br',
'Accept-Language': 'en-US,en;q=0.9',
'Connection': 'keep-alive',
'Host': 'demo.ip-api.com',
'Origin': 'https://ip-api.com',
'Referer': 'https://ip-api.com/',
'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': "Windows",
'Sec-Fetch-Dest': 'empty',
'Sec-Fetch-Mode': 'cors',
'Sec-Fetch-Site': 'same-site',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36' }
req1 = requests.post(url, headers=headers)
req2 = requests.get(f'https://ipapi.co/{domain}/json/')
table = Table(title="")
table.add_column("Info", no_wrap=True)
table.add_column("Domain")
try:
response = requests.get(f"https://{domain}/")
table.add_row("URL", str(response.url))
except requests.exceptions.SSLError: table.add_row("URL", str(socket.gethostbyaddr(domain)))
try:
ip = socket.gethostbyname(domain)
table.add_row("IP", str(ip))
hexhost = socket.inet_aton(domain)
table.add_row("Binary Host", str(hexhost))
table.add_row("Hex Host", str(hexlify(hexhost)))
except OSError:
hexhost = socket.inet_aton(ip)
table.add_row("Binary Host", str(hexhost))
table.add_row("Hex Host", str(hexlify(hexhost)))
try: table.add_row("Version", str(req2.json()['version']))
except KeyError: None
table.add_row("ISP", str(req1.json()['isp']))
table.add_row("FQDN", str(socket.getfqdn(domain)))
try: table.add_row("Asn", str(req2.json()['asn']))
except KeyError: None
table.add_row("Status", str(req1.json()['status']))
table.add_row("Continent", str(req1.json()['continent']))
table.add_row("ContinentCode", str(req1.json()['continentCode']))
table.add_row("Country", str(req1.json()['country']))
table.add_row("CountryCode", str(req1.json()['countryCode']))
table.add_row("Region", str(req1.json()['region']))
table.add_row("RegionName", str(req1.json()['regionName']))
table.add_row("City", str(req1.json()['city']))
table.add_row("District", str(req1.json()['district']))
table.add_row("Zip", str(req1.json()['zip']))
table.add_row("TimeZone", str(req1.json()['timezone']))
table.add_row("Currency", str(req1.json()['currency']))
table.add_row("Lat", str(req1.json()['lat']))
table.add_row("Lon", str(req1.json()['lon']))
table.add_row("Offset", str(req1.json()['offset']))
table.add_row("Mobile", str("Yes" if req1.json()['mobile'] is True else "No"))
table.add_row("Status", str("Yes" if req1.json()['proxy'] is True else "No"))
table.add_row("Hosting", str("Yes" if req1.json()['hosting'] is True else "No"))
Console().print(table, justify="left")
domain_info()
elif selection == "5" or selection == "05" or selection == "IP's OSINT" or selection == "IP'S OSINT" or selection == "ip's osint":
ip_osint_selections = input(f"""{White}[{Blue}01{White}] - Target
[{Blue}02{White}] - Your device
[{Blue}99{White}] - Back
Choose : {Blue}""")
if ip_osint_selections == "1" or ip_osint_selections == "01" or ip_osint_selections == "Target" or ip_osint_selections == "TARGET" or ip_osint_selections == "target":
target_ip = input(f"{White}[{Blue}+{White}] - Enter Target IP : {Blue}")
print(f"{White}Getting info...")
time.sleep(3)
print(f"[ Get info for {Blue}{target_ip} {Green}✓{White} ]\n")
time.sleep(1)
try:
response = requests.get(url=f'http://ip-api.com/json/{target_ip}').json()
table = Table(title="")
table.add_column("Info", no_wrap=True)
table.add_column("IP")
table.add_row("IP", str(response.get(search)))
ip_version = ipaddress.ip_address(target_ip)
table.add_row("Version", str("IPV4" if ip_version.version == 4 else "IPV6"))
hexhost = socket.inet_aton(target_ip)
table.add_row("Binary Host", str(hexhost))
table.add_row("Hex Host", str(hexlify(hexhost)))
ip_hostname = socket.gethostname()
table.add_row("ISP", str(response.get('isp')))
table.add_row("Country", str(response.get('country')))
table.add_row("RegionName", str(response.get('regionName')))
table.add_row("City", str(response.get('city')))
table.add_row("Zip", str(response.get('zip')))
table.add_row("Lat", str(response.get('lat')))
table.add_row("Lon", str(response.get('lon')))
Console().print(table, justify="left")
except requests.exceptions.ConnectionError: print(f"{Red}Please check your connection!")
elif ip_osint_selections == "2" or ip_osint_selections == "02" or ip_osint_selections == "Your device" or ip_osint_selections == "YOUR DEVICE" or ip_osint_selections == "your device":
device_host_name = socket.gethostname()
device_ip = socket.gethostbyname(device_host_name)
ip_version = ipaddress.ip_address(device_ip)
table = Table(title=f"{White}")
table.add_column("Info", no_wrap=True)
table.add_column("Yor device")
table.add_row("OS", str(platform.system()))
table.add_row("OS release", str(platform.version()))
table.add_row("Architecture", str(platform.architecture()))
table.add_row("Processor", str(platform.processor()))
table.add_row("Total, Physical cores", str(f"{psutil.cpu_count(logical=True)}, {psutil.cpu_count(logical=False)}"))
cpufreq = psutil.cpu_freq()
table.add_row("Max, Min, Current frequency", str(f"{cpufreq.max:.2f} MHz, {cpufreq.min:.2f} MHz, {cpufreq.current:.2f} MHz"))
for i, percentage in enumerate(psutil.cpu_percent(percpu=True, interval=1)): table.add_row(f"Core {i}", str(f"{percentage}%"))
table.add_row(f"Total CPU Usage", str(f"{psutil.cpu_percent()}%"))
total, used, free = shutil.disk_usage("/")
table.add_row("Total, Used, Free storage space", str(f"{total//(2**30)}GB, {used//(2**30)}GB, {free//(2**30)}GB"))
table.add_row("Hostname", str(device_host_name))
table.add_row("IP", str(device_ip))
table.add_row("Version", str("IPV4" if ip_version.version == 4 else "IPV6"))
hexhost = socket.inet_aton(device_ip)
table.add_row("Binary Host", str(hexhost))
table.add_row("Hex Host", str(hexlify(hexhost)))
try: ipv6_addr = str(socket.getaddrinfo(device_host_name, None, socket.AF_INET6)[0][4][0])
except socket.gaierror: ipv6_addr = "Unavailable"
table.add_row("IPV6", ipv6_addr)
Console().print(table, justify="left")
elif ip_osint_selections == "99" or ip_osint_selections == "Back" or ip_osint_selections == "BACK" or ip_osint_selections == "back": main_menu()
else: print(f"{Red}Please choose a correct option!")
elif selection == "6" or selection == "06" or selection == "Networks OSINT" or selection == "NETWORKS OSINT" or selection == "networks osint":
submenu3()
user_input = input(f"Choose : {Blue}")
if user_input == "1" or user_input == "01" or user_input == "Networks OSINT" or user_input == "NETWORKS OSINT" or user_input == "networks osint":
print(f"{White}Getting info...")
time.sleep(3)
print(f"[ Get info for {Blue}networks {Green}✓{White} ]")
time.sleep(1)
def check_os():
os_name = platform.system()
if os_name == "Windows":
print(f"{Blue}")
os.system("netsh wlan show interfaces & netsh wlan show networks & ipconfig")
print(f"{White}")