Skip to content

Commit

Permalink
added instagram
Browse files Browse the repository at this point in the history
  • Loading branch information
viralvaghela committed Sep 1, 2023
1 parent e4b54a7 commit 22e6e52
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions scripts/instagram.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import requests
def check_instagram(num):
import requests

burp0_url = "https://www.instagram.com:443/api/v1/web/accounts/account_recovery_send_ajax/"
burp0_headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0", "Accept": "*/*", "Accept-Language": "en-US,en;q=0.5", "Accept-Encoding": "gzip, deflate", "X-Csrftoken": "bShw46OB35NJxqZhWDt3WWBwq3ZjfIlX", "X-Instagram-Ajax": "1008400429", "X-Ig-App-Id": "936619743392459", "X-Asbd-Id": "129477", "X-Ig-Www-Claim": "0", "X-Web-Device-Id": "4946C9B5-839D-4132-B16E-76DEF3ED9FF9", "Content-Type": "application/x-www-form-urlencoded", "X-Requested-With": "XMLHttpRequest", "Origin": "https://www.instagram.com", "Referer": "https://www.instagram.com/accounts/password/reset/", "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-origin", "Te": "trailers"}
burp0_data = {"email_or_username":num}
res=requests.post(burp0_url, headers=burp0_headers, data=burp0_data)
jsonData= res.json()
if(jsonData['status']=="ok"):
print("Instagram : True")
else:
print("Instagram : False")

0 comments on commit 22e6e52

Please sign in to comment.