earthquake / XFLTReaT

XFLTReaT tunnelling framework
MIT License
324 stars 72 forks source link

windows 10 tun device problem #8

Closed demianrey closed 4 years ago

demianrey commented 4 years ago

hello, first of all congratulate you for a great job, now the query: I install the openvpn tun/tap drivers for windows 10, and the following appears:

[] Parsing config file [] Loading all modules from 'modules' directory [*] Setting up interface Traceback (most recent call last): File "xfltreat.py", line 399, in xfltreat.run(sys.argv[1:]) File "xfltreat.py", line 274, in run client_tunnel = interface.tun_alloc(config.get("Global", "clientif"), interface.IFF_TUN|interface.IFF_NO_PI) File "C:\Users\demia\OneDrive\Escritorio\DNS\XFLTReaT\interface.py", line 682, in win_tun_alloc win32file.DeviceIoControl(self.wintun, TAP_IOCTL_SET_MEDIA_STATUS, '\x01\x00\x00\x00', 1, None) TypeError: a bytes-like object is required, not 'str'

any suggestions? regards

earthquake commented 4 years ago

Thank you! Next time please give more details on your setup. I guess this is Python3 and the next-version branch. For some reason the last bunch of commits were not pushed up to github so it was missing a few bits. Please refresh your local copy by pulling the latest next-version. Hopefully it will work now, although I had some issues with the RDP module.

earthquake commented 4 years ago

no reply, assumed to be solved.