8000 Client With Proxy · Issue #67 · hatoo/http-mitm-proxy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Client With Proxy #67
Open
Open
@doroved

Description

@doroved

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:

   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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0