import time import sys import win32pipe, win32file, pywintypes import struct set_redirect_details = 0x8 def make_redirect_details(host : str, port : int, hash : str): host_bufffer = bytearray(host,'utf8') + (b'\0' * (0x100 - len(host))) port_buffer = struct.pack('