Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- import time
- from time import sleep
- print("""
- ██████╗ ██████╗███████╗██████╗
- ██╔════╝ ██╔════╝╚════██║██╔══██╗
- ███████╗ ██║ ███╗ ██╔╝██████╔╝
- ██╔═══██╗██║ ██║ ██╔╝ ██╔══██╗
- ╚██████╔╝╚██████╔╝ ██║ ██║ ██║
- ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝
- """)
- f = input("[<>] file email")
- file = open(f).read().splitlines()
- for file in file:
- url = 'https://www.instagram.com/accounts/account_recovery_send_ajax/'
- headers = {
- 'Accept': '/',
- 'Accept-Encoding': 'gzip, deflate, br',
- 'Accept-Language': 'en-US,en;q=0.5',
- 'Connection': 'keep-alive',
- 'Content-Length': '81',
- 'Content-Type': 'application/x-www-form-urlencoded',
- 'Cookie': 'missing',
- 'Host': 'www.instagram.com',
- 'Origin': 'https://www.instagram.com/',
- 'Referer': 'https://www.instagram.com/accounts/password/reset/',
- 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36',
- 'X-CSRFToken': 'missing',
- 'X-IG-App-ID': '936619743392459',
- 'X-IG-WWW-Claim': '0',
- 'X-Instagram-AJAX': 'bba907d2f110',
- 'X-Requested-With': 'XMLHttpRequest'
- }
- data = {
- 'email_or_username': file,
- 'recaptcha_challenge_field': '',
- 'flow': '',
- 'app_id': ''
- }
- sleep(5)
- req = requests.post(url, headers=headers, data=data).text
- if "No users found" in req:
- print( f'Bad email !!! >> : {file}')
- else:
- print( f'Good email !!! >> : {file}')
- url = f'https://mail.google.com/mail/gxlu?email={file}'
- req = requests.get(url)
- try:
- if req.headers['Set-Cookie'] != '':
- print('Not available',file)
- except KeyError:
- print('Available',file)
- sleep(5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement