From ca635a26443a83033c3d3c601110bbca3812c2b1 Mon Sep 17 00:00:00 2001 From: none Date: Sun, 18 Feb 2024 22:25:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=BE=D0=B1=D1=80=D0=BE=D1=81=20?= =?UTF-8?q?=D0=BB=D1=8E=D0=B1=D1=8B=D1=85=20=D0=BF=D0=BE=D1=80=D1=82=D0=BE?= =?UTF-8?q?=D0=B2=20=D0=BD=D0=B0=20jetwork.404.mn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- port_open.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 port_open.py diff --git a/port_open.py b/port_open.py new file mode 100644 index 0000000..a63feac --- /dev/null +++ b/port_open.py @@ -0,0 +1,14 @@ +from os import system, name + +port = input("Введите порт: ") + +print("\n[!] Не закрывайте это окно [!]\n") + +if name == "posix": + system(f"./bore local {port} --to jetwork.404.mn") +elif name == "nt": + system(f"bore.exe local {port} --to jetwork.404.mn") +else: + print("Увы, вероятно Ваша ОС не поддерживается.") + print("Завершение работы...") + exit()