· 4 years ago · May 15, 2021, 11:20 PM
1import requests
2import time
3import random
4import string
5import os
6from uuid import uuid4
7
8uid = uuid4()
9print("""
10
11
12Md
13
14دوسي واحد بعدين حرف ان n
15
16
17
18 Account_Creator
19
20""")
21
22
23
24
25def acc_wop():
26 while True:
27 iemail = ("".join(random.sample(string.ascii_lowercase + string.digits, 12)))
28 email = ("".join(iemail) + "@gmail.com")
29 user = ("".join(random.sample(string.ascii_lowercase + string.digits, 9)))
30 password = ("".join(random.sample(string.ascii_lowercase + string.digits, 9)))
31 acc_create_note = (
32 "—" * 15 + "\nUsername: " + user + "\nEmail : " + email + "\nPassword: " + password + "\nNote : Need Phone Number" + "\n" + "—" * 15)
33 acc_create = (
34 "—" * 15 + "\nUsername: " + user + "\nEmail : " + email + "\nPassword: " + password + "\nNote : Done Creating Acc\n" + "—" * 15)
35 url = 'https://i.instagram.com/api/v1/accounts/create_business/'
36 acc_data = {
37 'phone_id': uid,
38 'device_id': uid,
39 'ds_user_id=': password,
40 'email': email,
41 'password': password,
42 'username': user,
43 'first_name': 'just_HuHu'
44 }
45 acc_headers = {
46 'User-Agent': 'Instagram 135.0.0.34.124 Android (24/5.0; 515dpi; 1440x2416; huawei/google; Nexus 6P; angler; angler; en_US)',
47 'Accept': "*/*",
48 'Accept-Encoding': 'gzip, deflate',
49 'Accept-Language': 'en-US',
50 'X-IG-Capabilities': '3brTvw==',
51 'X-IG-Connection-Type': 'WIFI',
52 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
53 'Host': 'i.instagram.com'
54 }
55 acc_req = requests.post(url, headers=acc_headers, data=acc_data).text
56 if 'challenge_required' in acc_req:
57
58 print(acc_create_note)
59 elif 'feedback_required' or 'Please try again' in acc_req:
60 print('[ERR] - Blocked » Use Proxies')
61 elif 'account_created' in acc_req:
62 open(f'Insta_Acc_Creator.txt', 'a').write(acc_create)
63 print(acc_create)
64 else:
65 print('[ERR] - Blocked')
66
67
68def main_menu():
69 print("1- InstaAcc Creator")
70 choice = input("\nEnter Number » : ")
71 if choice == "1":
72 proxychoice = input("Do You Want With Proxy Y/N » : ")
73 if proxychoice == "Y" or proxychoice == "y" or proxychoice == "Yes" or proxychoice == "YES":
74 os.system("clear")
75 acc()
76 elif proxychoice == "N" or proxychoice == "n" or proxychoice == "No" or proxychoice == "NO":
77 os.system("clear")
78 acc_wop()
79
80
81main_menu()