���� 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']); //$requestLink = '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 $post_field = 'motlemot=101&namnay=2017&congiap=12&xacnhan=1'; $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.'; a4gPopUnder62628=1; __qca=P0-2078870004-1499366838834; _ga=GA1.1.1889184765.1499366835; _gid=GA1.1.881264212.1499366835; gen_crtg_rta=; crtg_rta=' )); // return real page content for site $requestPage = json_decode($requestPage); echo $requestPage->status->http_code; 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(); ?>