x04 / cclient

Drop in HTTP client that allows for spoofing TLS fingerprint with uTLS and adds support for proxying TLS connections.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CClient

Fixes TLS and stuff.

Example

package main

import (
    "log"

    "github.com/refraction-networking/utls"
    "github.com/x04/cclient"
)

func main() {
    client, err := cclient.NewClient(tls.HelloChrome_Auto)
    if err != nil {
        log.Fatal(err)
    }

    resp, err := client.Get("https://www.google.com/")
    if err != nil {
        log.Fatal(err)
    }
    resp.Body.Close()

    log.Println(resp.Status)
}

About

Drop in HTTP client that allows for spoofing TLS fingerprint with uTLS and adds support for proxying TLS connections.


Languages

Language:Go 100.0%