thelfensdrfer/cloudflare-bypass

安装: 136

依赖项: 0

建议者: 0

安全: 0

星星: 4

关注者: 1

分支: 17

类型:项目

1.0.0 2017-12-10 13:16 UTC

This package is auto-updated.

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


README

这个类将允许你绕过CloudFlare的UAM页面,并以正常方式执行Web请求。

// 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("/");