Python-Tls-Client
Python-Tls-Client copied to clipboard
Hi, socks5h requirement
trafficstars
hi, it only supports socks5, but does not support socks5h protocol.
could we add the feature to support socks5h ? thanks.
yes me same need socks5h
I've made socks5h work on my machine. Here's how.
Short answer:
This repo uses outdated *.DLL, *.SO, *.DYLIB libraries in FlorianREGAZ/Python-Tls-Client/tls_client/dependencies/, you need to update them with latest version.
Longer answer (more of beginner guide) :
All that needs to be done to make socks5h work:
- Download this whole REPO as zip and then unzip it.
- Update *.DLL, *.SO, *.DYLIB libraries in FlorianREGAZ/Python-Tls-Client/tls_client/dependencies/ folder. Latest versions of those libraries can be found at bogdanfinn/tls-client. This repo uses these libraries, but this repo currently uses outdated version v1.7.1. Only in version v1.7.4 they made support for socks5h you can the see issue here - last commit fixed the issue.
- After replacing old *.DLL, *.SO, *.DYLIB libraries with new ones, you can run pip setup.py install
- Now you have done everything necessary, feel free to run pip install .\Python-Tls-Client-master to install this REPO's updated library working with socks5h
I've tried to keep everything beginner friendly, in case some beginner stumps upon same issue. Hope that helps