Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
949
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. import requests
  2. import time
  3. import random
  4. import json
  5.  
  6. def createAccount(username, email, password, firstName):
  7. createHeaders = {
  8. 'accept': "*/*",
  9. 'accept-encoding': "gzip, deflate, br",
  10. 'accept-language': "en-US,en;q=0.8",
  11. 'content-length': "241",
  12. 'content-type': 'application/x-www-form-urlencoded',
  13. 'x-csrftoken': "95RtiLDyX9J6AcVz9jtUIySbwf75WhvG",
  14. 'x-instagram-ajax': "c7e210fa2eb7",
  15. 'x-requested-with': "XMLHttpRequest",
  16. 'Cache-Control': "no-cache",
  17. }
  18. createData = {
  19. 'email': email,
  20. 'password': password,
  21. 'username': username,
  22. 'first_name': firstName,
  23. 'client_id': 'W6mHTAAEAAHsVu2N0wGEChTQpTfn',
  24. 'seamless_login_enabled': '1',
  25. }
  26.  
  27. editProxies = {
  28. 'http' : 'http://loldongs:Dragons99@198.23.238.83:80',
  29. 'https' : 'http://loldongs:Dragons99@198.23.238.83:80',
  30. }
  31.  
  32. createRequest = requests.post("https://www.instagram.com/accounts/web_create_ajax/", data=createData, headers=createHeaders, proxies=editProxies).text
  33. createResponse = json.loads(createRequest)
  34. return createResponse
  35.  
  36. def main():
  37. print(".: Instagram Account Creator :.\n")
  38.  
  39. print("[-] Enter Account Information")
  40. inputUsername = input(str("[?] Username: "))
  41. inputPassword = input(str("[?] Password: "))
  42. inputAddress = input(str("[?] Email: "))
  43.  
  44. print("\n[-] Attempting to create account.\n")
  45. print(createAccount(inputUsername, inputAddress, inputPassword, 'CR8Gang'))
  46.  
  47. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement