用于将 SOCKS5 代理转换为 HTTP 代理的可执行文件
An executable to convert SOCKS5 proxy into HTTP proxy
sthp purpose is to create HTTP proxy on top of the Socks 5 Proxy
It uses hyper library HTTP proxy example and adds functionality to connect via Socks5
Follow these instructions to compile
cargo and Rust installed$ git clone https://github.com/KaranGauswami/socks-to-http-proxy.git && cd socks-to-http-proxy$ cargo build --releasetarget/release/sthpsthp -p 8080 -s 127.0.0.1:1080This will create proxy server on 8080 and use localhost:1080 as a Socks5 Proxy
sthp -p 8080 -s example.com:8080This will create proxy server on 8080 and use example:1080 as a Socks5 Proxy
[!NOTE]
The --socks-address (-s) flag does not support adding a schema at the start (e.g., socks:// or socks5h://). Currently, it only supports socks5h, which means DNS resolution will be done on the SOCKS server.
[!WARNING] After v5, Changed default listening IP from
0.0.0.0to127.0.0.1. This change restricts the application access to the local machine only.
There are a few options for using sthp.
…暂无开放 Issues,或尚未同步最近议题。