You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
6 years ago | |
|---|---|---|
| .github/workflows | 6 years ago | |
| src | 6 years ago | |
| .gitignore | 6 years ago | |
| Cargo.lock | 6 years ago | |
| Cargo.toml | 6 years ago | |
| LICENSE | 6 years ago | |
| README.md | 6 years ago | |
README.md
socks-to-http

An executable to convert SOCKS5 proxy into HTTP proxy
About
sthp purpose is to create HTTP proxy on top of the Socks 5 Proxy
How it works
It uses hyper library HTTP proxy example and adds functionality to connect via Socks5
Compiling
Follow these instructions to compile
- Ensure you have current version of
cargoand Rust installed - Clone the project
$ git clone https://github.com/KaranGauswami/socks-to-http.git && cd socks-to-http - Build the project
$ cargo build --release - Once complete, the binary will be located at
target/release/sthp
Usage
sthp -p 8080 -s 127.0.0.1:1080
This will create proxy server on 8080 and use localhost:1080 as a Socks5 Proxy
Options
There are a few options for using sthp.
USAGE:
sthp [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-p, --port <port> port where Http proxy should listen [default: 8080]
-s, --socks-address <socks-address> Socks5 proxy address [default: 127.0.0.1:1080]
License
sthp is released under the terms of either the MIT or Apache 2.0 license. See the LICENSE-MIT or LICENSE-APACHE file for the details.