hatoo / hatoo/http-mitm-proxy

Client With Proxy

Open
#67 17 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
62
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Can you write a client code that will use an external proxy to access blocked and sites and still be able to decrypt traffic?
You can use the standard Basic header as authentication, but in my case the authentication is custom and just uses the `x-token: auth_token` header.
In the end we will have:
```rust
let proxy_client = create_proxy_client(
opt.proxy_addr,
opt.auth_token,
).await?

let default_client = DefaultClient::new()?
```
so that you can send the desired hosts through an external proxy

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.