0% found this document useful (0 votes)
18 views2 pages

نص

Uploaded by

patronumlins
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views2 pages

نص

Uploaded by

patronumlins
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

try:

import requests
import uuid
import time
except Exception as e:
print(e)
logo = ("""
("--------------------------")
("Follow me instagram @me1xr_")
("--------------------------")
("bot spam")
""")

print(logo)
user = input('Enter username: ')
password = input('Enter password: ')
target = str(input(("Target:")))
sle = int(input("Enter sleep: "))
def login():
global target
r = requests.Session()

uid = str(uuid.uuid4())

url = "https://i.instagram.com/api/v1/accounts/login/"

headers = {
'User-Agent': 'Instagram 113.0.0.39.122 Android (24/5.0; 515dpi; 1440x2416;
huawei/google; Nexus 6P; angler; angler; en_US)',
"Accept": "*/*",
"Accept-Encoding": "gzip, deflate",
"Accept-Language": "en-US",
"X-IG-Capabilities": "3brTvw==",
"X-IG-Connection-Type": "WIFI",
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
'Host': 'i.instagram.com'
}

data = {
'_uuid': uid,
'username': user,
'enc_password': '#PWD_INSTAGRAM_BROWSER:0:1589682409:{}'.format(password),
'queryParams': '{}',
'optIntoOneTap': 'false',
'device_id': uid,
'from_reg': 'false',
'_csrftoken': 'missing',
'login_attempt_count': '0'
}

loginreq = r.post(url, data=data, headers=headers, allow_redirects=True)


print(loginreq.text)

if loginreq.text.find("is_private") >= 0:
done = 0
print("DONE LOGIN")
r.headers.update({'X-CSRFToken': loginreq.cookies['csrftoken']})
url_id = "https://www.instagram.com/{}/?__a=1".format(target)
url_get_user_id = r.get(url_id).json()
print(url_get_user_id)
while True:
user_id = str(url_get_user_id["logging_page_id"])
your_user_id = str(user_id.split("_")[1])# 4231341234
urlRep = "https://i.instagram.com/users/" + your_user_id + "/report/"
datas = {
'source_name': '', 'reason_id': 1, 'frx_context': '' # spam
}
req_SessionID = r.post(urlRep, data=datas)
done += 1
print(f"‫ تم سبام‬-> mexr : {done}")
time.sleep(sle)
else:
print("LOGIN FAILED CHECK YOUR INFO!")
login()

You might also like