Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os.path
- import time
- import socket
- import socks
- import struct
- import random
- import requests
- import threading
- class AFunStickArenaExperience:
- def __init__(self, Password, Amount):
- self.NullByte = struct.pack("B", 0)
- self.BufSize = 4096
- self.RoomList = []
- self.Password = Password
- self.MaxAmount = Amount
- self.startGenerator()
- def generateAccounts(self):
- Start = 0
- Accounts = []
- NumberList = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
- 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']
- while Start < self.MaxAmount:
- Username = ''.join(random.choice(LowerList) for NameLen in range(15)) + ''.join(random.choice(NumberList) for NameLen in range(5))
- PostData = {"username": Username, "userpass": self.Password, "usercol": "090090190", "action": "create"}
- URLData = requests.post("http://www.xgenstudios.com/stickarena/stick_arena.php", data=PostData).text
- if "success" in URLData:
- Accounts = open("accounts.txt", "a+")
- Accounts.write("{};{}\n".format(Username, Password))
- Accounts.close()
- Start += 1
- else:
- print("Couldn't create: '" + Username + "'")
- return True
- def startGenerator(self):
- Generated = 0
- Amount = 0
- while Generated < self.MaxAmount:
- if not os.path.isfile("accounts.txt"):
- print("Generating accounts...")
- self.generateAccounts()
- if __name__ == "__main__":
- Password = input("Account Password (for all): ")
- Amount = int(input("Amount to generate: "))
- AFunStickArenaExperience(Password, Amount)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement