There are multiple tools available
to convert a Socks proxy to a HTTP/HTTPS proxy.
The work by convertting HTTP requests into socks requests
and send them to the socks proxy.
Be aware that this might not be necessary
as many tools accepting HTTP/HTTPS proxies
also accept socks proxies.
In that case,
you can direct your socks proxy
(e.g., socks5://localhost:1080)
to those tools.
If you do need to convert a socks proxy to a HTTP/HTTPS proxy
for tools that accept HTTP/HTTPS proxies only,
read the below.
Polipo¶
Install Polipo.
:::bash wajig search polipoCreate a HTTP proxy listening on 8123 (assuming you have a Socks proxy
localhost:1080).:::bash polipo socksParentProxy=localhost:1080
http-proxy-to-socks¶
Install http-proxy-to-socks.
:::bash npm install -g http-proxy-to-socksCreate a HTTP proxy listening on 8080 (assuming you have a Socks proxy
localhost:1080). Please make sure your socks service is available at the corresponding port.:::bash hpts -s 127.0.0.1:1080 -p 8080
References¶
https://