Skip to content

delivey/cclient

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CClient

Fixes TLS and stuff. Uses the yawning utls fork instead of the original refraction-networking one.

Example

package main

import (
    "log"

    "gitlab.com/yawning/utls"
    "github.com/delivey/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)
}

Notes

If you experience any issues with the gitlab.com/yawning/utls import during installation, please try: go get gitlab.com/yawning/utls. Some path issue with go and gitlab ¯\_(ツ)_/¯

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 100.0%