Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. import os.path
  2. import time
  3. import socket
  4. import socks
  5. import struct
  6. import random
  7. import requests
  8. import threading
  9.  
  10. class AFunStickArenaExperience:
  11. def __init__(self, Password, Amount):
  12. self.NullByte = struct.pack("B", 0)
  13. self.BufSize = 4096
  14. self.RoomList = []
  15. self.Password = Password
  16. self.MaxAmount = Amount
  17.  
  18. self.startGenerator()
  19.  
  20. def generateAccounts(self):
  21. Start = 0
  22. Accounts = []
  23. NumberList = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
  24. LowerList = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
  25.  
  26. while Start < self.MaxAmount:
  27. Username = ''.join(random.choice(LowerList) for NameLen in range(15)) + ''.join(random.choice(NumberList) for NameLen in range(5))
  28. PostData = {"username": Username, "userpass": self.Password, "usercol": "090090190", "action": "create"}
  29. URLData = requests.post("http://www.xgenstudios.com/stickarena/stick_arena.php", data=PostData).text
  30.  
  31. if "success" in URLData:
  32. Accounts = open("accounts.txt", "a+")
  33. Accounts.write("{};{}\n".format(Username, Password))
  34. Accounts.close()
  35.  
  36. Start += 1
  37. else:
  38. print("Couldn't create: '" + Username + "'")
  39.  
  40. return True
  41.  
  42. def startGenerator(self):
  43. Generated = 0
  44. Amount = 0
  45.  
  46. while Generated < self.MaxAmount:
  47. if not os.path.isfile("accounts.txt"):
  48. print("Generating accounts...")
  49.  
  50. self.generateAccounts()
  51.  
  52. if __name__ == "__main__":
  53. Password = input("Account Password (for all): ")
  54. Amount = int(input("Amount to generate: "))
  55.  
  56. AFunStickArenaExperience(Password, Amount)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement