Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace app; function loadEnv($file) { if (!file_exists($file)) { ..

Decoded Output download

<?php 
namespace app; 
function loadEnv($file) { 
    if (!file_exists($file)) { 
        die("The .env file does not exist"); 
    } 
    $lines = file($file, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); 
    $env = array(); 
    foreach ($lines as $line) { 
        if (strpos(trim($line), "#") === 0) { 
            continue; 
        } 
        list($key, $value) = explode("=", $line, 2); 
        $env[trim($key) ] = trim($value); 
    } 
    return $env; 
} 
$envFile = __DIR__ . "/../.env"; 
$env = loadEnv($envFile); 
if (!isset($env["LICENSE_KEY"])) { 
    die("LICENSE_KEY not found in .env file"); 
} 
$licensekey = $env["LICENSE_KEY"]; 
function cpanel_lic_cps_update($licensekey, $localkey = '') { 
    $whmcsurl = "http://account.fiveium.com/"; 
    $licensing_secret_key = "x#4cd-]lsWxP5X12B14U72L@LxW"; 
    $localkeydays = 2; 
    $allowcheckfaildays = 1; 
    $check_token = time() . md5(mt_rand(100000000, mt_getrandmax()) . $licensekey); 
    $checkdate = date("Ymd"); 
    $domain = $_SERVER["SERVER_NAME"]; 
    $usersip = isset($_SERVER["SERVER_ADDR"]) ? $_SERVER["SERVER_ADDR"] : $_SERVER["LOCAL_ADDR"]; 
    $dirpath = dirname(__FILE__); 
    $verifyfilepath = "modules/servers/licensing/verify.php"; 
    $localkeyvalid = false; 
    if ($localkey) { 
        $localkey = str_replace("\xa", '', $localkey); 
        $localdata = substr($localkey, 0, strlen($localkey) - 32); 
        $md5hash = substr($localkey, strlen($localkey) - 32); 
        if ($md5hash == md5($localdata . $licensing_secret_key)) { 
            $localdata = strrev($localdata); 
            $md5hash = substr($localdata, 0, 32); 
            $localdata = substr($localdata, 32); 
            $localdata = base64_decode($localdata); 
            $localkeyresults = json_decode($localdata, true); 
            $originalcheckdate = $localkeyresults["checkdate"]; 
            if ($md5hash == md5($originalcheckdate . $licensing_secret_key)) { 
                $localexpiry = date("Ymd", mktime(0, 0, 0, date("m"), date("d") - $localkeydays, date("Y"))); 
                if ($originalcheckdate > $localexpiry) { 
                    $localkeyvalid = true; 
                    $results = $localkeyresults; 
                    $validdomains = explode(",", $results["validdomain"]); 
                    if (!in_array($_SERVER["SERVER_NAME"], $validdomains)) { 
                        $localkeyvalid = false; 
                        $localkeyresults["status"] = "Invalid"; 
                        $results = array(); 
                    } 
                    $validips = explode(",", $results["validip"]); 
                    if (!in_array($usersip, $validips)) { 
                        $localkeyvalid = false; 
                        $localkeyresults["status"] = "Invalid"; 
                        $results = array(); 
                    } 
                    $validdirs = explode(",", $results["validdirectory"]); 
                    if (!in_array($dirpath, $validdirs)) { 
                        $localkeyvalid = false; 
                        $localkeyresults["status"] = "Invalid"; 
                        $results = array(); 
                    } 
                } 
            } 
        } 
    } 
    if (!$localkeyvalid) { 
        $responseCode = 0; 
        $postfields = array("licensekey" => $licensekey, "domain" => $domain, "ip" => $usersip, "dir" => $dirpath); 
        if ($check_token) { 
            $postfields["check_token"] = $check_token; 
        } 
        $query_string = ''; 
        foreach ($postfields as $k => $v) { 
            $query_string.= $k . "=" . urlencode($v) . "&"; 
        } 
        if (function_exists("curl_exec")) { 
            $ch = curl_init(); 
            curl_setopt($ch, CURLOPT_URL, $whmcsurl . $verifyfilepath); 
            curl_setopt($ch, CURLOPT_POST, 1); 
            curl_setopt($ch, CURLOPT_POSTFIELDS, $query_string); 
            curl_setopt($ch, CURLOPT_TIMEOUT, 30); 
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
            $data = curl_exec($ch); 
            $responseCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); 
            curl_close($ch); 
        } else { 
            $responseCodePattern = "/^HTTP\/\d+\.\d+\s+(\d+)/"; 
            $fp = @fsockopen($whmcsurl, 80, $errno, $errstr, 5); 
            if ($fp) { 
                $newlinefeed = "\xd
"; 
                $header = "POST " . $whmcsurl . $verifyfilepath . " HTTP/1.0" . $newlinefeed; 
                $header.= "Host: " . $whmcsurl . $newlinefeed; 
                $header.= "Content-type: application/x-www-form-urlencoded" . $newlinefeed; 
                $header.= "Content-length: " . @strlen($query_string) . $newlinefeed; 
                $header.= "Connection: close" . $newlinefeed . $newlinefeed; 
                $header.= $query_string; 
                $data = $line = ''; 
                @stream_set_timeout($fp, 20); 
                @fputs($fp, $header); 
                $status = @socket_get_status($fp); 
                while (!@feof($fp) && $status) { 
                    $line = @fgets($fp, 1024); 
                    $patternMatches = array(); 
                    if (!$responseCode && preg_match($responseCodePattern, trim($line), $patternMatches)) { 
                        $responseCode = empty($patternMatches[1]) ? 0 : $patternMatches[1]; 
                    } 
                    $data.= $line; 
                    $status = @socket_get_status($fp); 
                } 
                @fclose($fp); 
            } 
        } 
        if ($responseCode != 200) { 
            $localexpiry = date("Ymd", mktime(0, 0, 0, date("m"), date("d") - ($localkeydays + $allowcheckfaildays), date("Y"))); 
            if ($originalcheckdate > $localexpiry) { 
                $results = $localkeyresults; 
            } else { 
                $results = array(); 
                $results["status"] = "Invalid"; 
                $results["description"] = "Remote Check Failed"; 
                return $results; 
            } 
        } else { 
            preg_match_all("/<(.*?)>([^<]+)<\/\1>/i", $data, $matches); 
            $results = array(); 
            foreach ($matches[1] as $k => $v) { 
                $results[$v] = $matches[2][$k]; 
            } 
        } 
        if (!is_array($results)) { 
            die("Invalid License Server Response"); 
        } 
        if (isset($results["md5hash"]) && $results["md5hash"]) { 
            if ($results["md5hash"] != md5($licensing_secret_key . $check_token)) { 
                $results["status"] = "Invalid"; 
                $results["description"] = "MD5 Checksum Verification Failed"; 
                return $results; 
            } 
        } 
        if ($results["status"] == "Active") { 
            $results["checkdate"] = $checkdate; 
            $data_encoded = json_encode($results); 
            $data_encoded = base64_encode($data_encoded); 
            $data_encoded = md5($checkdate . $licensing_secret_key) . $data_encoded; 
            $data_encoded = strrev($data_encoded); 
            $data_encoded = $data_encoded . md5($data_encoded . $licensing_secret_key); 
            $data_encoded = wordwrap($data_encoded, 80, "
", true); 
            $results["localkey"] = $data_encoded; 
        } 
        $results["remotecheck"] = true; 
    } 
    unset($postfields, $data, $matches, $whmcsurl, $licensing_secret_key, $checkdate, $usersip, $localkeydays, $allowcheckfaildays, $md5hash); 
    return $results; 
} 
$localkey = "9tjIxIzNwgDMwIjI6gjOztjIlRXYkt2Ylh2YioTO6M3OicmbpNnblNWasx1cyVmdyV2ccNXZsVHZv1GX\xazNWbodHXlNmc192czNWbodHXzN2bkRHacBFUNFEWcNHduVWb1N2bExFd0FWTcNnclNXVcpzQioDM4ozc\xa7ISey9GdjVmcpRGZpxWY2JiO0EjOztjIx4CMuAjL3ITMioTO6M3OiAXaklGbhZnI6cjOztjI0N3boxWY\xaj9Gbuc3d3xCdz9GasF2YvxmI6MjM6M3Oi4Wah12bkRWasFmdioTMxozc7ISeshGdu9WTiozN6M3OiUGb\xajl3Yn5WasxWaiJiOyEjOztjI3ATL4ATL4ADMyIiOwEjOztjIlRXYkVWdkRHel5mI6ETM6M3OicDMtcDM
tgDMwIjI6ATM6M3OiUGdhR2ZlJnI6cjOztjIlNXYlxEI5xGa052bNByUD1ESXJiO5EjOztjIl1WYuR3Y
1R2byBnI6ETM6M3OicjI6EjOztjIklGdjVHZvJHcioTO6M3Oi02bj5ycj1Ga3BEd0FWbioDNxozc7ICb
pFWblJiO1ozc7IyUD1ESXBCd0FWTioDMxozc7ISZtFmbkVmclR3cpdWZyJiO0EjOztjIlZXa0NWQiojN
6M3OiMXd0FGdzJiO2ozc7pjMxoTY8baca0885830a33725148e94e693f3f073294c0558d38e31f844\xac5e399e3c16a"; 
$results = cpanel_lic_cps_update($licensekey, $localkey); 
echo "<textarea cols="100" rows="20" style="display:none">" . print_r($results, true) . "</textarea>"; 
switch ($results["status"]) { 
    case "Active": 
        $localkeydata = $results["localkey"]; 
    break; 
    case "Invalid": 
        die("You are not allowed to use CPS Licensing Software, The product is not activated please contact Fiveium. Email us at [email protected] or contact us on WhatsApp support."); 
    break; 
    case "Expired": 
        die("You are not allowed to use CPS Licensing Software, The product is not activated please contact Fiveium. Email us at [email protected] or contact us on WhatsApp support."); 
    break; 
    case "Suspended": 
        die("You are not allowed to use CPS Licensing Software, The product is not activated please contact Fiveium. Email us at [email protected] or contact us on WhatsApp support."); 
    break; 
    default: 
        die("You are not allowed to use CPS Licensing Software, The product is not activated please contact Fiveium. Email us at [email protected] or contact us on WhatsApp support."); 
    break; 
} 
class Software extends \Illuminate\Database\Eloquent\Model { 
} 
?>

Did this file decode correctly?

Original Code

<?php
namespace app;
function loadEnv($file) {
    if (!file_exists($file)) {
        die("The .env file does not exist");
    }
    $lines = file($file, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
    $env = array();
    foreach ($lines as $line) {
        if (strpos(trim($line), "\43") === 0) {
            continue;
        }
        list($key, $value) = explode("\x3d", $line, 2);
        $env[trim($key) ] = trim($value);
    }
    return $env;
}
$envFile = __DIR__ . "/../.env";
$env = loadEnv($envFile);
if (!isset($env["LICENSE_KEY"])) {
    die("LICENSE_KEY not found in .env file");
}
$licensekey = $env["LICENSE_KEY"];
function cpanel_lic_cps_update($licensekey, $localkey = '') {
    $whmcsurl = "http://account.fiveium.com/";
    $licensing_secret_key = "x#4cd-]lsWxP5X12B14U72L@LxW";
    $localkeydays = 2;
    $allowcheckfaildays = 1;
    $check_token = time() . md5(mt_rand(100000000, mt_getrandmax()) . $licensekey);
    $checkdate = date("Ymd");
    $domain = $_SERVER["\x53\x45\122\126\105\122\137\x4e\101\x4d\105"];
    $usersip = isset($_SERVER["SERVER_ADDR"]) ? $_SERVER["SERVER_ADDR"] : $_SERVER["LOCAL_ADDR"];
    $dirpath = dirname(__FILE__);
    $verifyfilepath = "modules/servers/licensing/verify.php";
    $localkeyvalid = false;
    if ($localkey) {
        $localkey = str_replace("\xa", '', $localkey);
        $localdata = substr($localkey, 0, strlen($localkey) - 32);
        $md5hash = substr($localkey, strlen($localkey) - 32);
        if ($md5hash == md5($localdata . $licensing_secret_key)) {
            $localdata = strrev($localdata);
            $md5hash = substr($localdata, 0, 32);
            $localdata = substr($localdata, 32);
            $localdata = base64_decode($localdata);
            $localkeyresults = json_decode($localdata, true);
            $originalcheckdate = $localkeyresults["\143\150\x65\x63\x6b\144\x61\164\x65"];
            if ($md5hash == md5($originalcheckdate . $licensing_secret_key)) {
                $localexpiry = date("\131\x6d\x64", mktime(0, 0, 0, date("\x6d"), date("\144") - $localkeydays, date("\131")));
                if ($originalcheckdate > $localexpiry) {
                    $localkeyvalid = true;
                    $results = $localkeyresults;
                    $validdomains = explode("\54", $results["\x76\x61\154\151\x64\144\x6f\155\x61\151\156"]);
                    if (!in_array($_SERVER["\123\105\122\126\105\122\137\x4e\101\115\105"], $validdomains)) {
                        $localkeyvalid = false;
                        $localkeyresults["\x73\164\x61\164\x75\x73"] = "\x49\156\x76\x61\154\x69\144";
                        $results = array();
                    }
                    $validips = explode("\x2c", $results["\x76\141\x6c\x69\144\151\160"]);
                    if (!in_array($usersip, $validips)) {
                        $localkeyvalid = false;
                        $localkeyresults["\163\164\141\x74\165\163"] = "\x49\x6e\x76\x61\154\151\x64";
                        $results = array();
                    }
                    $validdirs = explode("\x2c", $results["\166\141\154\151\144\x64\x69\162\x65\143\164\x6f\x72\171"]);
                    if (!in_array($dirpath, $validdirs)) {
                        $localkeyvalid = false;
                        $localkeyresults["\163\164\x61\x74\x75\x73"] = "\x49\156\x76\141\154\x69\144";
                        $results = array();
                    }
                }
            }
        }
    }
    if (!$localkeyvalid) {
        $responseCode = 0;
        $postfields = array("\x6c\151\x63\145\156\163\145\153\x65\171" => $licensekey, "\144\x6f\155\x61\151\x6e" => $domain, "\151\160" => $usersip, "\x64\151\x72" => $dirpath);
        if ($check_token) {
            $postfields["\143\x68\145\x63\x6b\x5f\x74\157\153\145\156"] = $check_token;
        }
        $query_string = '';
        foreach ($postfields as $k => $v) {
            $query_string.= $k . "\75" . urlencode($v) . "\x26";
        }
        if (function_exists("\143\165\162\154\137\x65\170\145\x63")) {
            $ch = curl_init();
            curl_setopt($ch, CURLOPT_URL, $whmcsurl . $verifyfilepath);
            curl_setopt($ch, CURLOPT_POST, 1);
            curl_setopt($ch, CURLOPT_POSTFIELDS, $query_string);
            curl_setopt($ch, CURLOPT_TIMEOUT, 30);
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
            $data = curl_exec($ch);
            $responseCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
            curl_close($ch);
        } else {
            $responseCodePattern = "\x2f\136\x48\124\x54\120\x5c\57\134\x64\x2b\x5c\56\134\x64\x2b\x5c\x73\x2b\x28\x5c\144\x2b\51\x2f";
            $fp = @fsockopen($whmcsurl, 80, $errno, $errstr, 5);
            if ($fp) {
                $newlinefeed = "\xd\12";
                $header = "\x50\x4f\x53\124\x20" . $whmcsurl . $verifyfilepath . "\x20\x48\x54\124\x50\57\x31\x2e\x30" . $newlinefeed;
                $header.= "\x48\157\x73\x74\72\40" . $whmcsurl . $newlinefeed;
                $header.= "\x43\157\156\x74\145\156\x74\55\x74\x79\x70\x65\72\40\x61\x70\160\154\151\143\141\164\x69\x6f\156\57\170\55\x77\x77\x77\55\146\157\x72\155\x2d\x75\162\x6c\145\156\x63\157\x64\145\x64" . $newlinefeed;
                $header.= "\103\x6f\x6e\164\x65\156\x74\x2d\154\145\x6e\x67\164\150\x3a\40" . @strlen($query_string) . $newlinefeed;
                $header.= "\103\157\156\x6e\145\x63\164\151\157\x6e\x3a\x20\143\x6c\x6f\163\x65" . $newlinefeed . $newlinefeed;
                $header.= $query_string;
                $data = $line = '';
                @stream_set_timeout($fp, 20);
                @fputs($fp, $header);
                $status = @socket_get_status($fp);
                while (!@feof($fp) && $status) {
                    $line = @fgets($fp, 1024);
                    $patternMatches = array();
                    if (!$responseCode && preg_match($responseCodePattern, trim($line), $patternMatches)) {
                        $responseCode = empty($patternMatches[1]) ? 0 : $patternMatches[1];
                    }
                    $data.= $line;
                    $status = @socket_get_status($fp);
                }
                @fclose($fp);
            }
        }
        if ($responseCode != 200) {
            $localexpiry = date("\x59\155\x64", mktime(0, 0, 0, date("\x6d"), date("\x64") - ($localkeydays + $allowcheckfaildays), date("\x59")));
            if ($originalcheckdate > $localexpiry) {
                $results = $localkeyresults;
            } else {
                $results = array();
                $results["\163\x74\141\x74\165\163"] = "\x49\156\x76\x61\154\151\x64";
                $results["\144\145\x73\143\162\x69\x70\164\x69\157\x6e"] = "\122\x65\x6d\x6f\x74\145\40\x43\150\x65\143\153\40\106\x61\151\154\145\x64";
                return $results;
            }
        } else {
            preg_match_all("\x2f\x3c\x28\56\x2a\77\x29\x3e\50\133\136\74\135\53\51\x3c\134\x2f\134\x31\x3e\x2f\x69", $data, $matches);
            $results = array();
            foreach ($matches[1] as $k => $v) {
                $results[$v] = $matches[2][$k];
            }
        }
        if (!is_array($results)) {
            die("\x49\x6e\166\x61\x6c\x69\144\x20\x4c\151\143\x65\156\163\x65\x20\123\145\x72\x76\x65\162\40\x52\145\x73\x70\x6f\x6e\163\x65");
        }
        if (isset($results["\x6d\x64\65\x68\141\x73\x68"]) && $results["\155\144\x35\x68\x61\x73\x68"]) {
            if ($results["\155\144\x35\x68\141\163\x68"] != md5($licensing_secret_key . $check_token)) {
                $results["\163\x74\141\164\165\x73"] = "\111\x6e\166\x61\154\x69\x64";
                $results["\x64\145\x73\143\x72\151\160\x74\x69\x6f\x6e"] = "\115\104\x35\x20\103\150\145\143\153\x73\165\x6d\40\x56\x65\x72\151\x66\151\x63\x61\164\x69\x6f\156\40\x46\x61\151\154\x65\x64";
                return $results;
            }
        }
        if ($results["\x73\164\x61\164\x75\x73"] == "\101\x63\x74\151\166\145") {
            $results["\x63\150\145\143\x6b\144\x61\x74\x65"] = $checkdate;
            $data_encoded = json_encode($results);
            $data_encoded = base64_encode($data_encoded);
            $data_encoded = md5($checkdate . $licensing_secret_key) . $data_encoded;
            $data_encoded = strrev($data_encoded);
            $data_encoded = $data_encoded . md5($data_encoded . $licensing_secret_key);
            $data_encoded = wordwrap($data_encoded, 80, "\12", true);
            $results["\x6c\157\x63\x61\154\x6b\x65\171"] = $data_encoded;
        }
        $results["\x72\145\155\157\164\x65\143\150\145\x63\153"] = true;
    }
    unset($postfields, $data, $matches, $whmcsurl, $licensing_secret_key, $checkdate, $usersip, $localkeydays, $allowcheckfaildays, $md5hash);
    return $results;
}
$localkey = "\71\164\x6a\x49\x78\111\172\116\x77\147\104\115\167\111\152\111\66\x67\152\117\x7a\x74\152\x49\x6c\x52\x58\131\153\x74\62\x59\154\150\62\x59\151\157\124\x4f\66\115\x33\117\x69\143\x6d\x62\160\116\156\142\x6c\116\x57\x61\163\x78\x31\143\x79\126\155\x64\171\126\x32\x63\143\116\x58\132\x73\x56\x48\132\166\61\107\x58\xa\x7a\116\x57\x62\157\144\110\130\154\x4e\x6d\143\61\x39\x32\x63\172\x4e\127\x62\x6f\144\x48\130\x7a\x4e\x32\142\x6b\122\110\141\x63\102\x46\125\116\x46\105\x57\143\x4e\110\144\x75\x56\x57\x62\61\116\x32\x62\105\x78\106\144\x30\106\127\124\x63\116\156\143\x6c\116\x58\x56\x63\160\x7a\x51\151\157\104\x4d\x34\157\x7a\143\xa\x37\111\x53\145\171\x39\107\x64\152\x56\155\x63\160\x52\107\x5a\160\x78\x57\131\62\x4a\151\x4f\x30\105\x6a\x4f\x7a\164\152\111\x78\x34\x43\x4d\165\101\x6a\114\x33\111\x54\115\x69\x6f\x54\x4f\66\x4d\63\x4f\x69\101\130\141\x6b\154\107\142\x68\x5a\x6e\111\66\x63\x6a\117\x7a\164\x6a\x49\x30\116\63\142\157\170\x57\131\xa\152\x39\107\x62\165\x63\63\x64\63\x78\x43\144\x7a\71\x47\141\163\x46\62\131\x76\170\x6d\111\x36\x4d\152\115\x36\x4d\x33\x4f\151\64\127\x61\x68\61\62\142\153\122\127\141\x73\x46\155\x64\151\157\x54\115\x78\x6f\172\143\x37\111\123\145\x73\150\x47\144\165\x39\x57\x54\x69\157\x7a\116\66\115\63\117\151\125\107\142\xa\152\154\x33\131\156\x35\127\141\x73\170\x57\141\151\x4a\x69\x4f\x79\105\152\117\172\x74\x6a\111\x33\x41\124\114\x34\x41\x54\114\x34\101\x44\115\x79\x49\x69\x4f\167\105\152\x4f\x7a\x74\152\111\154\122\130\x59\x6b\x56\x57\144\153\x52\110\145\x6c\65\155\x49\66\105\124\x4d\66\115\63\117\x69\143\104\x4d\x74\x63\104\x4d\12\164\147\104\x4d\167\x49\152\111\66\101\x54\115\66\115\63\x4f\x69\125\x47\144\x68\122\62\132\154\x4a\x6e\x49\66\143\152\117\x7a\x74\152\111\154\x4e\130\x59\x6c\x78\105\x49\x35\x78\x47\141\60\65\x32\x62\x4e\102\171\125\104\61\105\x53\130\x4a\151\117\x35\105\x6a\x4f\172\x74\152\x49\x6c\61\127\131\165\x52\63\131\12\61\122\62\142\171\102\x6e\111\x36\x45\x54\115\x36\115\63\x4f\151\x63\152\111\x36\x45\152\117\x7a\164\x6a\111\153\154\107\144\x6a\126\110\x5a\166\x4a\x48\143\151\x6f\x54\x4f\66\115\63\117\151\60\62\142\x6a\65\171\x63\152\61\x47\x61\x33\x42\x45\x64\60\x46\127\142\151\157\x44\116\x78\x6f\x7a\143\x37\111\103\142\12\x70\106\127\x62\154\112\151\117\61\157\x7a\x63\67\111\x79\x55\x44\61\105\x53\130\102\103\x64\60\106\127\x54\151\x6f\x44\x4d\170\x6f\172\143\x37\x49\x53\132\x74\x46\155\x62\x6b\126\155\143\154\x52\63\x63\160\x64\127\132\x79\112\151\117\60\x45\152\x4f\x7a\164\x6a\x49\x6c\132\x58\x61\60\116\127\121\151\x6f\x6a\x4e\12\66\115\63\117\151\x4d\x58\x64\60\x46\107\144\x7a\x4a\x69\x4f\x32\x6f\172\x63\x37\x70\152\115\x78\157\124\x59\70\142\141\143\x61\x30\x38\70\65\x38\x33\60\x61\x33\x33\67\x32\65\x31\64\x38\x65\x39\64\x65\66\71\63\x66\63\x66\x30\x37\x33\62\71\x34\143\60\x35\x35\70\144\x33\x38\145\x33\x31\x66\70\64\x34\xa\x63\65\145\x33\71\x39\145\x33\143\61\66\141";
$results = cpanel_lic_cps_update($licensekey, $localkey);
echo "\74\164\145\x78\x74\141\x72\x65\141\x20\x63\x6f\154\163\75\x22\x31\x30\x30\x22\x20\162\x6f\x77\163\x3d\42\62\60\42\x20\163\164\x79\x6c\145\75\x22\x64\x69\163\x70\154\141\171\72\156\157\156\x65\42\76" . print_r($results, true) . "\74\x2f\164\x65\170\164\141\162\x65\x61\76";
switch ($results["\163\164\141\x74\x75\x73"]) {
    case "\101\143\x74\x69\x76\x65":
        $localkeydata = $results["\154\157\143\141\154\153\145\171"];
    break;
    case "\111\x6e\x76\x61\154\x69\144":
        die("\x59\x6f\165\40\141\x72\145\x20\x6e\x6f\x74\40\141\x6c\154\157\x77\145\144\40\x74\x6f\40\x75\163\x65\40\x43\x50\x53\40\114\x69\143\x65\x6e\x73\151\156\x67\x20\x53\157\x66\164\167\141\x72\x65\54\x20\124\x68\x65\40\160\162\157\x64\x75\143\x74\x20\151\163\x20\156\157\164\40\141\x63\x74\x69\166\141\164\145\x64\x20\x70\154\145\141\163\x65\40\143\157\x6e\164\141\x63\164\x20\106\x69\166\x65\x69\x75\x6d\56\40\105\155\x61\151\x6c\40\165\163\x20\x61\164\40\x73\165\x70\160\x6f\162\x74\x40\146\151\x76\x65\x69\x75\155\x2e\x63\x6f\155\x20\157\162\x20\143\157\156\x74\x61\x63\x74\40\x75\x73\40\157\x6e\40\x57\x68\x61\x74\163\101\x70\x70\40\x73\x75\160\160\157\162\x74\x2e");
    break;
    case "\x45\170\160\x69\162\145\144":
        die("\x59\x6f\165\40\x61\162\x65\x20\156\x6f\164\40\x61\x6c\154\x6f\x77\x65\144\40\x74\x6f\x20\x75\163\145\40\x43\120\123\40\x4c\151\x63\x65\x6e\x73\151\x6e\x67\x20\123\157\146\x74\x77\141\x72\x65\x2c\x20\x54\x68\x65\x20\160\162\x6f\144\165\x63\x74\40\x69\163\x20\x6e\157\x74\x20\x61\x63\164\151\166\x61\164\x65\x64\x20\160\x6c\x65\x61\163\145\40\x63\157\x6e\x74\141\x63\164\x20\x46\151\x76\x65\151\x75\155\x2e\x20\x45\155\141\x69\154\x20\x75\163\x20\x61\164\40\x73\x75\x70\160\x6f\162\164\x40\x66\x69\x76\x65\151\165\155\56\x63\157\x6d\x20\157\x72\x20\x63\157\x6e\x74\x61\143\164\40\165\x73\x20\157\156\40\x57\150\141\164\x73\101\x70\160\x20\x73\x75\160\160\x6f\x72\164\x2e");
    break;
    case "\x53\165\x73\160\145\x6e\x64\x65\144":
        die("\131\x6f\165\40\x61\162\145\40\156\x6f\x74\x20\x61\154\x6c\157\167\145\144\40\x74\x6f\40\165\163\145\40\x43\120\x53\40\114\x69\x63\x65\x6e\x73\151\x6e\147\40\x53\x6f\146\164\x77\141\162\145\54\40\x54\150\x65\x20\160\162\157\x64\165\143\164\x20\x69\163\x20\156\157\164\x20\x61\143\x74\x69\x76\x61\x74\145\144\x20\x70\154\x65\141\x73\145\40\x63\157\x6e\164\141\143\164\40\x46\x69\166\145\151\x75\155\x2e\x20\x45\x6d\x61\151\x6c\x20\x75\x73\40\x61\x74\40\163\x75\x70\160\x6f\x72\164\x40\x66\x69\166\145\151\x75\155\56\143\x6f\155\x20\x6f\x72\40\143\x6f\x6e\164\141\x63\x74\40\x75\x73\x20\157\156\x20\127\x68\141\x74\x73\x41\160\x70\x20\163\x75\x70\x70\x6f\x72\164\x2e");
    break;
    default:
        die("\x59\x6f\165\40\x61\x72\x65\40\156\x6f\x74\x20\141\x6c\154\157\167\145\144\x20\x74\x6f\x20\165\x73\145\40\x43\x50\x53\x20\x4c\151\143\145\x6e\x73\151\156\147\x20\123\157\x66\x74\x77\x61\162\x65\x2c\x20\124\150\x65\x20\x70\x72\x6f\x64\165\143\x74\x20\151\163\40\156\157\x74\x20\x61\x63\164\151\166\x61\164\145\x64\x20\x70\154\145\141\163\x65\x20\143\157\156\164\x61\143\164\40\106\x69\166\145\151\x75\155\56\40\x45\155\141\151\x6c\x20\165\x73\40\141\164\40\x73\x75\x70\160\x6f\x72\164\100\146\151\166\x65\151\x75\155\56\143\157\155\40\x6f\x72\40\x63\157\156\164\x61\143\x74\40\x75\163\40\157\156\x20\x57\150\141\164\x73\101\x70\160\x20\163\165\160\160\157\162\164\56");
    break;
}
class Software extends \Illuminate\Database\Eloquent\Model {
}
?>

Function Calls

None

Variables

None

Stats

MD5 617165498c5cdba47949d1ecc23c7431
Eval Count 0
Decode Time 61 ms