thelfensdrfer/cloudflare-bypass

1.0.0 2017-12-10 13:16 UTC

This package is auto-updated.

Last update: 2021-06-06 02:01:26 UTC


README

This class will allow you to bypass CloudFlare's UAM page and do web requests as normal.

// Include the library..
require __DIR__ . '/vendor/autoload.php';

// Make a new instance of the CloudFlare class, save cookies to file 'x.txt' so we don't have to wait the eight seconds again
$cloudflare = new \Stack\Bypass\CloudFlare("http://libc.tech", [true, "x.txt"]);

// Do a request to /, display result.
echo $cloudflare->get("/");