-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAccount Generator.py
More file actions
64 lines (54 loc) · 2.08 KB
/
Copy pathAccount Generator.py
File metadata and controls
64 lines (54 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import threading
import random
import string
import requests
import os
desktop = os.path.join(os.path.join(os.environ['USERPROFILE']), 'Desktop')
file_path = os.path.join(desktop, 'accounts.txt')
def generate_email():
# Generate a random email address using one of the top 5 most popular email domains
email_domains = ["gmail.com", "yahoo.com", "outlook.com", "aol.com", "hotmail.com"]
domain = random.choice(email_domains)
return f"{generate_username()}@{domain}"
def generate_password():
# Generate a random password using a combination of lowercase letters, uppercase letters, digits, and special characters
special_characters = "!@#$%^&*()"
characters = string.ascii_letters + string.digits + special_characters
return ''.join(random.choices(characters, k=8))
def generate_username():
# Generate a more human-like username by using a combination of
# a random name and a random number
names = ["Alice", "Bob", "Charlie", "Dave", "Eve", "Frank", "Greta", "Hannah", "Ivy", "Jake"]
name = random.choice(names)
number = random.randint(10000, 10000000)
return f"{name}{number}"
def send_request():
# Generate the payload
email = generate_email()
password = generate_password()
username = generate_username()
payload = {
"user": username,
"pwd": password,
"cpwd": password,
"email": email,
"terms": "acc",
"Register": "Register",
"action": "register"
}
# Send the POST request
response = requests.post("http://www.hacker-project.com/index.php", data=payload)
# Save the username, password, and email to the file
with open(file_path, 'a') as f:
f.write(f"Username: {username} Password: {password} Email: {email}\n")
# Print the generated username, password, and email
print(f"Username: {username} Password: {password} Email: {email}")
def create_accounts():
while True:
send_request()
# Create threads
threads = []
for i in range(10):
t = threading.Thread(target=create_accounts)
threads.append(t)
t.start()