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
549 B

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