You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
559 B

from os import system, name
8 months ago
from network import port_gen
port = input("Введите порт: ")
8 months ago
dest = port_gen(7000, 9000)
8 months ago
print(f"\nУдалённый ПОРТ: {dest}")
print("\n[!] Не закрывайте это окно [!]\n")
if name == "posix":
8 months ago
system(f"./bore local {port} --to jetwork.404.mn --port {dest}")
elif name == "nt":
8 months ago
system(f"bore.exe local {port} --to jetwork.404.mn --port {dest}")
else:
print("Увы, вероятно Ваша ОС не поддерживается.")
print("Завершение работы...")
exit()