Skip to content

t101804/Priv8Bypass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

cloudflare-roundtripper

Working Go implementation inspired by Anorov/cloudflare-scrape written in python Remake ( for cloudflare response code 403 )

Example

import(
    "time"
    "net"
    "net/http"

    "github.com/t101804/Priv8Bypass/cfrt"
)

func main() {
    var err error

    // Setup your client however you need it. This is simply an example
    client := &http.Client{
        Timeout: 15 * time.Second,
        Transport: &http.Transport{
            DialContext: (&net.Dialer{
                Timeout:   15 * time.Second,
                KeepAlive: 15 * time.Second,
                DualStack: true,
            }).DialContext,
        },
    }
    // Set the client Transport to the RoundTripper that solves the Cloudflare anti-bot
    client.Transport, err = cfrt.New(client.Transport)
    if err != nil {
        return
    }
    
    req, err := http.NewRequest("GET", "http://example.com/path", nil)
    if err != nil {
        return
    }
    
    resp, err := client.Do(req)
    if err != nil {
        return
    }
    // Use the response as you wish...
}

About

just some private bypass cloudflare 403

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages