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 ${"GL\x4f\x42\x41L\x53"}["rf\x76\x6dj\x61\x6f\x76v\x70"]="\x69ns\x74\x61\x6c\x6c\..

Decoded Output download

<?php 
 
${"GLOBALS"}["rfvmjaovvp"]="installedVersion"; 
${"GLOBALS"}["tgqmklgjdm"]="latestVersion";${"GLOBALS"}["plmsuw"]="showday";${"GLOBALS"}["ettcwzpbg"]="expiry";${"GLOBALS"}["mnmepdjvq"]="activeAddons";${"GLOBALS"}["bcedymhaj"]="addon";${"GLOBALS"}["uqeftvn"]="licensedAddons";${"GLOBALS"}["liustdtsge"]="rawData";${"GLOBALS"}["twkoyljekf"]="listData";${"GLOBALS"}["ouesbtmdqh"]="var";${"GLOBALS"}["ogixgrq"]="dir";${"GLOBALS"}["qyoevwd"]="domain";${"GLOBALS"}["bueglq"]="validdomains";${"GLOBALS"}["kpqfcrh"]="localkeyresults";${"GLOBALS"}["yushrbj"]="md5hash";${"GLOBALS"}["vpbhduwoc"]="localdata";${"GLOBALS"}["iwsjdyxlm"]="localkey";${"GLOBALS"}["sjbbrhndbwgm"]="reason";${"GLOBALS"}["qqemvmxoqhq"]="splpt";${"GLOBALS"}["trnthbpfy"]="data_encoded";${"GLOBALS"}["srmwcoblvrd"]="data";${"GLOBALS"}["nsgwnoyj"]="ch";${"GLOBALS"}["insibvngy"]="url";${"GLOBALS"}["xrktxyb"]="responsecode";${"GLOBALS"}["prtylr"]="hostip";${"GLOBALS"}["cmtdmeebw"]="hostips";${"GLOBALS"}["jlvslnxuu"]="res";${"GLOBALS"}["bgrfxyyow"]="v";${"GLOBALS"}["ptkgtt"]="k";${"GLOBALS"}["ejkpkvobgfhn"]="results";${"GLOBALS"}["qyklcqkxkl"]="whmcs";${"GLOBALS"}["zyjripf"]="localkeyvalid";${"GLOBALS"}["sumfqkj"]="localmax";${"GLOBALS"}["sfnrcfkrgw"]="ip";${"GLOBALS"}["mfekbhbkfot"]="hosts";${"GLOBALS"}["bjpysgtu"]="instance";class WHMCS_License{private$licensekey="";private$localkey="";private$keydata=array();private$salt="";private$date="";private$localkeydecoded=false;private$responsedata="";private$postmd5hash="";private$localkeydays="10";private$allowcheckfaildays="5";private$debuglog=array();private$version="7a1bbff560de83ab800c4d1d2f215b91006be8e6";protected static$instance;public function __construct(){${"GLOBALS"}["ycincxaifop"]="whmcs";${${"GLOBALS"}["ycincxaifop"]}=WHMCS_Application::getinstance();$this->licensekey=$whmcs->get_license_key();$this->localkey=$whmcs->get_config("License");$this->salt=sha1(""."WHMCS".$whmcs->get_config("Version")."TFB".$whmcs->get_hash());$this->date=date("Ymd");$this->decodeLocalOnce();if(isset($_GET["forceremote"])){$this->forceRemoteCheck();WHMCS_Terminus::getinstance()->doExit();}}protected static function setInstance($license){${"GLOBALS"}["hhtcpk"]="license";$lvwvnruyyu="license";self::${${"GLOBALS"}["bjpysgtu"]}=${${"GLOBALS"}["hhtcpk"]};return${$lvwvnruyyu};}protected static function destroyInstance(){${"GLOBALS"}["fqtbtvdkoye"]="instance";self::${${"GLOBALS"}["fqtbtvdkoye"]}=null;return;}public static function getInstance(){if(is_null(self::${${"GLOBALS"}["bjpysgtu"]})){self::setinstance(new WHMCS_License());}return self::${${"GLOBALS"}["bjpysgtu"]};}private function getHosts(){$nuxwduqgxqbu="hosts";$smsihxsspy="hosts";${$nuxwduqgxqbu}=gethostbynamel("licensing28.whmcs.com");if(${${"GLOBALS"}["mfekbhbkfot"]}===false){${"GLOBALS"}["hterteaoq"]="hosts";${${"GLOBALS"}["hterteaoq"]}=array();}return${$smsihxsspy};}private function getLicenseKey(){return$this->licensekey;}private function getHostIP(){${"GLOBALS"}["fahgrgqoxmc"]="ip";if(isset($_SERVER["SERVER_ADDR"])){${${"GLOBALS"}["sfnrcfkrgw"]}=$_SERVER["SERVER_ADDR"];}else{if(isset($_SERVER["LOCAL_ADDR"])){${"GLOBALS"}["jmwfcwhv"]="ip";${${"GLOBALS"}["jmwfcwhv"]}=$_SERVER["LOCAL_ADDR"];}else{if(function_exists("gethostname")){${${"GLOBALS"}["sfnrcfkrgw"]}=gethostbyname(gethostname());}else{${"GLOBALS"}["symihdpgmdfb"]="ip";${${"GLOBALS"}["symihdpgmdfb"]}="";}}}return${${"GLOBALS"}["fahgrgqoxmc"]};}private function getHostDomain(){return isset($_SERVER["SERVER_NAME"])?($_SERVER["SERVER_NAME"]):"";}private function getHostDir(){return ROOTDIR;}public function getSalt(){return$this->salt;}public function getDate(){return$this->date;}public function checkLocalKeyExpiry(){$ytnmhimwurgm="originalcheckdate";$nwjydiyx="originalcheckdate";$gesotx="localexpirymax";${$nwjydiyx}=$this->getKeyData("checkdate");$fuorunt="localexpirymax";${$gesotx}=date("Ymd",mktime(0,0,0,date("m"),date("d")-$this->localkeydays,date("Y")));if(${$ytnmhimwurgm}<${$fuorunt}){return false;}${${"GLOBALS"}["sumfqkj"]}=date("Ymd",mktime(0,0,0,date("m"),date("d")+2,date("Y")));$utxths="originalcheckdate";if(${${"GLOBALS"}["sumfqkj"]}<${$utxths}){return false;}return true;}public function remoteCheck($forceRemote=false){try{$sjhyvqwq="localkeyvalid";${"GLOBALS"}["diqndiwngc"]="forceRemote";${$sjhyvqwq}=$this->decodeLocalOnce();$nzypiwhi="localkeyvalid";$this->debug(""."Local Key Valid: ".${${"GLOBALS"}["zyjripf"]});if(${$nzypiwhi}){${"GLOBALS"}["psntfluitnu"]="localkeyvalid";${"GLOBALS"}["zprhswro"]="localkeyvalid";${${"GLOBALS"}["zyjripf"]}=$this->checkLocalKeyExpiry();$this->debug(""."Local Key Expiry: ".${${"GLOBALS"}["psntfluitnu"]});if(${${"GLOBALS"}["zprhswro"]}){$krolshvwl="localkeyvalid";${"GLOBALS"}["vuiino"]="localkeyvalid";${${"GLOBALS"}["vuiino"]}=$this->validateLocalKey();$this->debug(""."Local Key Validation: ".${$krolshvwl});}}if(false||!${${"GLOBALS"}["zyjripf"]}||${${"GLOBALS"}["diqndiwngc"]}){$vidnpjvfj="results";${"GLOBALS"}["wyxesgo"]="results";$utzdoii="results";${${"GLOBALS"}["qyklcqkxkl"]}=WHMCS_Application::getinstance();${${"GLOBALS"}["ejkpkvobgfhn"]}["status"]="Active";${$utzdoii}["key"]=$this->licensekey;${${"GLOBALS"}["ejkpkvobgfhn"]}["registeredname"]=$whmcs->get_config("CompanyName");${$vidnpjvfj}["productname"]="Owned License No Branding";$jopxtrmimig="results";${${"GLOBALS"}["ejkpkvobgfhn"]}["productid"]="5";${${"GLOBALS"}["ejkpkvobgfhn"]}["billingcycle"]="One Time";${${"GLOBALS"}["ejkpkvobgfhn"]}["validdomains"]=$this->getHostDomain();$ekqkpxvgqe="results";${"GLOBALS"}["uftlegxj"]="results";${$jopxtrmimig}["validips"]=$this->getHostIP();${${"GLOBALS"}["wyxesgo"]}["validdirs"]=$this->getHostDir();${${"GLOBALS"}["ejkpkvobgfhn"]}["checkdate"]=$this->getDate();${$ekqkpxvgqe}["version"]=$whmcs->getVersion()->getCanonical();${${"GLOBALS"}["ejkpkvobgfhn"]}["regdate"]="2014-02-06";${${"GLOBALS"}["ejkpkvobgfhn"]}["nextduedate"]="2050-02-06";${${"GLOBALS"}["uftlegxj"]}["addons"]=array(array("name"=>"Branding Removal","nextduedate"=>"2050-12-30","status"=>"Active"),array("name"=>"Support and Updates","nextduedate"=>"2050-12-30","status"=>"Active"),array("name"=>"Project Management Addon","nextduedate"=>"2050-12-30","status"=>"Active"),array("name"=>"Licensing Addon","nextduedate"=>"2050-12-30","status"=>"Active"),array("name"=>"Mobile Edition","nextduedate"=>"2050-12-30","status"=>"Active"),array("name"=>"iPhone App","nextduedate"=>"2050-12-30","status"=>"Active"),array("name"=>"Android App","nextduedate"=>"2050-12-30","status"=>"Active"),array("name"=>"Configurable Package Addon","nextduedate"=>"2050-12-30","status"=>"Active"),array("name"=>"Live Chat Monthly No Branding","nextduedate"=>"2050-12-30","status"=>"Active"));${"GLOBALS"}["yptdpfmhibmx"]="results";$this->setKeyData(${${"GLOBALS"}["yptdpfmhibmx"]});$this->updateLocalKey();}$this->debug("Remote Check Done");}catch(WHMCS_Exception$exception){$this->debug(sprintf("License Error: %s",$exception->getMessage()));return false;}return true;}private function getLocalMaxExpiryDate(){return date("Ymd",mktime(0,0,0,date("m"),date("d")-($this->localkeydays+$this->allowcheckfaildays),date("Y")));}private function buildQuery($postfields){${"GLOBALS"}["wmbllnhcrcy"]="postfields";$query_string="";$adhhxy="v";foreach(${${"GLOBALS"}["wmbllnhcrcy"]} as${${"GLOBALS"}["ptkgtt"]}=>${$adhhxy}){$kqoqtiwiqbr="k";$query_string.="".${$kqoqtiwiqbr}."=".urlencode(${${"GLOBALS"}["bgrfxyyow"]})."&";continue;}return$query_string;}private function callHome($postfields){$trurgbieggi="postfields";$query_string=$this->buildQuery(${$trurgbieggi});${${"GLOBALS"}["jlvslnxuu"]}=$this->callHomeLoop($query_string,5);if(${${"GLOBALS"}["jlvslnxuu"]}){return${${"GLOBALS"}["jlvslnxuu"]};}return$this->callHomeLoop($query_string,30);}private function callHomeLoop($query_string,$timeout=5){${"GLOBALS"}["yvspwkq"]="hostips";${${"GLOBALS"}["yvspwkq"]}=$this->getHosts();foreach(${${"GLOBALS"}["cmtdmeebw"]} as${${"GLOBALS"}["prtylr"]}){$xsllqcmbri="timeout";$cfymxipn="hostip";${${"GLOBALS"}["xrktxyb"]}=$this->makeCall(${$cfymxipn},$query_string,${$xsllqcmbri});if(!(${${"GLOBALS"}["xrktxyb"]}==200)){continue;}return$this->responsedata;}return false;}private function makeCall($ip,$query_string,$timeout=5){$gqxjmknrfji="url";${"GLOBALS"}["vnjxeeffwqt"]="ch";${${"GLOBALS"}["insibvngy"]}="https://".${${"GLOBALS"}["sfnrcfkrgw"]}."/license/verify53.php";$kkytllucfz="timeout";$this->debug(""."Request URL ".${$gqxjmknrfji});${"GLOBALS"}["dhngtxx"]="ch";$jltgfieefpb="ch";${${"GLOBALS"}["nsgwnoyj"]}=curl_init();${"GLOBALS"}["plumicv"]="ch";curl_setopt(${${"GLOBALS"}["dhngtxx"]},CURLOPT_URL,${${"GLOBALS"}["insibvngy"]});${"GLOBALS"}["cerbteer"]="responsecode";curl_setopt(${${"GLOBALS"}["vnjxeeffwqt"]},CURLOPT_POST,1);curl_setopt(${${"GLOBALS"}["nsgwnoyj"]},CURLOPT_POSTFIELDS,$query_string);curl_setopt(${${"GLOBALS"}["nsgwnoyj"]},CURLOPT_TIMEOUT,${$kkytllucfz});curl_setopt(${${"GLOBALS"}["nsgwnoyj"]},CURLOPT_RETURNTRANSFER,1);curl_setopt(${${"GLOBALS"}["plumicv"]},CURLOPT_SSL_VERIFYHOST,0);curl_setopt(${${"GLOBALS"}["nsgwnoyj"]},CURLOPT_SSL_VERIFYPEER,0);$hukufcqc="responsecode";${"GLOBALS"}["fpwqqjki"]="ch";$this->responsedata=curl_exec(${${"GLOBALS"}["nsgwnoyj"]});${$hukufcqc}=curl_getinfo(${$jltgfieefpb},CURLINFO_HTTP_CODE);$this->debug(""."Response Code: ".${${"GLOBALS"}["xrktxyb"]}." Data: ".$this->responsedata);if(curl_error(${${"GLOBALS"}["fpwqqjki"]})){$tihjke="ch";$this->debug("Curl Error: ".curl_error(${${"GLOBALS"}["nsgwnoyj"]})." - ".curl_errno(${$tihjke}));}curl_close(${${"GLOBALS"}["nsgwnoyj"]});return${${"GLOBALS"}["cerbteer"]};}private function processResponse($data){$uxmxefqneqnx="results";${${"GLOBALS"}["srmwcoblvrd"]}=strrev(${${"GLOBALS"}["srmwcoblvrd"]});${"GLOBALS"}["ctbnftyjay"]="results";${"GLOBALS"}["txcznforaj"]="results";${${"GLOBALS"}["srmwcoblvrd"]}=base64_decode(${${"GLOBALS"}["srmwcoblvrd"]});${"GLOBALS"}["hobkcpeigh"]="results";${${"GLOBALS"}["txcznforaj"]}=unserialize(${${"GLOBALS"}["srmwcoblvrd"]});$this->posthash=${${"GLOBALS"}["hobkcpeigh"]}["hash"];unset(${$uxmxefqneqnx}["hash"]);${${"GLOBALS"}["ctbnftyjay"]}["checkdate"]=$this->getDate();return${${"GLOBALS"}["ejkpkvobgfhn"]};}private function updateLocalKey(){${"GLOBALS"}["unskjggxv"]="data_encoded";$tdegkbhctzlt="splpt";$yrntqmntimn="data_encoded";$hibdypxol="data_encoded";$cqqtltgj="data_encoded";$hwpzzspwhjs="data_encoded";${"GLOBALS"}["chrdnbafri"]="data_encoded";$vqejuhef="data_encoded";${"GLOBALS"}["hbygvinq"]="data_encoded";${"GLOBALS"}["hbbdugpmicrv"]="data_encoded";$pxxhtez="data_encoded";${$yrntqmntimn}=serialize($this->keydata);${"GLOBALS"}["guermisdlpq"]="data_encoded";${${"GLOBALS"}["unskjggxv"]}=base64_encode(${${"GLOBALS"}["trnthbpfy"]});$wdqngmldj="data_encoded";${${"GLOBALS"}["trnthbpfy"]}=sha1($this->getDate().$this->getSalt()).${${"GLOBALS"}["chrdnbafri"]};${${"GLOBALS"}["trnthbpfy"]}=strrev(${${"GLOBALS"}["trnthbpfy"]});${"GLOBALS"}["hamfhlppv"]="data_encoded";${$tdegkbhctzlt}=strlen(${${"GLOBALS"}["hbbdugpmicrv"]})/2;$welqlkeeo="splpt";${${"GLOBALS"}["guermisdlpq"]}=substr(${$vqejuhef},${$welqlkeeo}).substr(${${"GLOBALS"}["trnthbpfy"]},0,${${"GLOBALS"}["qqemvmxoqhq"]});${${"GLOBALS"}["hamfhlppv"]}=sha1(${$pxxhtez}.$this->getSalt()).${${"GLOBALS"}["hbygvinq"]}.sha1(${$cqqtltgj}.$this->getSalt().time());${$wdqngmldj}=base64_encode(${$hwpzzspwhjs});${${"GLOBALS"}["trnthbpfy"]}=wordwrap(${$hibdypxol},80,"
",true);WHMCS_Application::getinstance()->set_config("License",${${"GLOBALS"}["trnthbpfy"]});$this->debug("Updated Local Key");return null;}public function forceRemoteCheck(){$this->remoteCheck(true);return null;}private function setInvalid($reason="Invalid"){$this->keydata=array("status"=>${${"GLOBALS"}["sjbbrhndbwgm"]});return null;}private function decodeLocal(){$osdbmsjz="localkey";$izbred="localkey";${"GLOBALS"}["mjbrulsygs"]="md5hash";$dmxksaliokew="localkey";$this->debug("Decoding local key");${${"GLOBALS"}["iwsjdyxlm"]}=$this->localkey;if(!${$izbred}){return false;}${${"GLOBALS"}["iwsjdyxlm"]}=str_replace("
","",${$dmxksaliokew});${${"GLOBALS"}["iwsjdyxlm"]}=base64_decode(${$osdbmsjz});${${"GLOBALS"}["vpbhduwoc"]}=substr(${${"GLOBALS"}["iwsjdyxlm"]},40,0-40);$soqitribjq="localdata";${${"GLOBALS"}["yushrbj"]}=substr(${${"GLOBALS"}["iwsjdyxlm"]},0,40);if(${${"GLOBALS"}["mjbrulsygs"]}==sha1(${$soqitribjq}.$this->getSalt())){$vhdzebkq="localdata";$ubrcvhtiyd="localdata";$eabqkvku="splpt";$gguwvbkcn="localdata";${"GLOBALS"}["pmdbleywh"]="localdata";$rvpvwkwxtsm="originalcheckdate";${"GLOBALS"}["cfhanotcbfwk"]="localdata";${"GLOBALS"}["dlepbxrl"]="md5hash";$amqxmkeegb="localdata";$ujgeqcsyives="localdata";${"GLOBALS"}["cdtjhjn"]="splpt";$pyoxmgg="md5hash";${${"GLOBALS"}["cdtjhjn"]}=strlen(${${"GLOBALS"}["vpbhduwoc"]})/2;${$amqxmkeegb}=substr(${${"GLOBALS"}["cfhanotcbfwk"]},${$eabqkvku}).substr(${$vhdzebkq},0,${${"GLOBALS"}["qqemvmxoqhq"]});${${"GLOBALS"}["vpbhduwoc"]}=strrev(${${"GLOBALS"}["vpbhduwoc"]});${$pyoxmgg}=substr(${$ujgeqcsyives},0,40);$pgwvyiwutpf="originalcheckdate";${${"GLOBALS"}["vpbhduwoc"]}=substr(${${"GLOBALS"}["pmdbleywh"]},40);${"GLOBALS"}["xmkickyu"]="localkeyresults";${$ubrcvhtiyd}=base64_decode(${${"GLOBALS"}["vpbhduwoc"]});${${"GLOBALS"}["xmkickyu"]}=unserialize(${$gguwvbkcn});${$pgwvyiwutpf}=${${"GLOBALS"}["kpqfcrh"]}["checkdate"];if(${${"GLOBALS"}["dlepbxrl"]}==sha1(${$rvpvwkwxtsm}.$this->getSalt())){$mfaljhucuuc="localkeyresults";if(isset(${$mfaljhucuuc}["key"])){$qxckhemo="localkeyresults";${"GLOBALS"}["jrcarlbouud"]="localkeyresults";if(isset(${$qxckhemo}["key"])||${${"GLOBALS"}["jrcarlbouud"]}["key"]==WHMCS_Application::getinstance()->get_license_key()){$this->debug("Local Key Decode Successful");$this->setKeyData(${${"GLOBALS"}["kpqfcrh"]});}}else{$this->debug("License Key Invalid");}}else{$this->debug("Local Key MD5 Hash 2 Invalid");}}else{$this->debug("Local Key MD5 Hash Invalid");}$this->localkeydecoded=true;return$this->getKeyData("status")=="Active"?(true):(false);}private function decodeLocalOnce(){if($this->localkeydecoded){return true;}return$this->decodeLocal();}private function isRunningInCLI(){if(php_sapi_name()=="cli");return php_sapi_name()=="cli"||empty($_SERVER["REMOTE_ADDR"]);}private function validateLocalKey(){if($this->getKeyData("status")!="Active"){$this->debug("Local Key Status Check Failure");return false;}if($this->isRunningInCLI()){$this->debug("Running in CLI Mode");}else{$this->debug("Running in Browser Mode");if($this->isValidDomain($this->getHostDomain())){$this->debug("Domain Validated Successfully");}else{$this->debug("Local Key Domain Check Failure");return false;}$idympmeruw="ip";${${"GLOBALS"}["sfnrcfkrgw"]}=$this->getHostIP();$this->debug(""."Host IP Address: ".${${"GLOBALS"}["sfnrcfkrgw"]});if(!${$idympmeruw}){$this->debug("IP Could Not Be Determined - Skipping Local Validation of IP");}else{if(!trim($this->getKeyData("validips"))){$this->debug("No Valid IPs returned by license check - Cloud Based License - Skipping Local Validation of IP");}else{if($this->isValidIP(${${"GLOBALS"}["sfnrcfkrgw"]})){$this->debug("IP Validated Successfully");}else{$this->debug("Local Key IP Check Failure");return false;}}}}if($this->isValidDir($this->getHostDir())){$this->debug("Directory Validated Successfully");}else{$this->debug("Local Key Directory Check Failure");return false;}return true;}private function isValidDomain($domain){${${"GLOBALS"}["bueglq"]}=$this->getArrayKeyData("validdomains");return in_array(${${"GLOBALS"}["qyoevwd"]},${${"GLOBALS"}["bueglq"]});}private function isValidIP($ip){$vrhsipfcgn="validips";${"GLOBALS"}["hecbedv"]="validips";$nzplyw="ip";${$vrhsipfcgn}=$this->getArrayKeyData("validips");return in_array(${$nzplyw},${${"GLOBALS"}["hecbedv"]});}private function isValidDir($dir){$pgkcftt="validdirs";${"GLOBALS"}["jpqogwfywr"]="validdirs";${${"GLOBALS"}["jpqogwfywr"]}=$this->getArrayKeyData("validdirs");return in_array(${${"GLOBALS"}["ogixgrq"]},${$pgkcftt});}private function revokeLocal(){WHMCS_Application::getinstance()->set_config("License","");return null;}public function getKeyData($var){${"GLOBALS"}["hwqoxry"]="var";return isset($this->keydata[${${"GLOBALS"}["hwqoxry"]}])?($this->keydata[${${"GLOBALS"}["ouesbtmdqh"]}]):"";}private function setKeyData($data){$this->keydata=${${"GLOBALS"}["srmwcoblvrd"]};return null;}protected function getArrayKeyData($var){$eziaxusfsv="var";${${"GLOBALS"}["twkoyljekf"]}=array();${${"GLOBALS"}["liustdtsge"]}=$this->getKeyData(${$eziaxusfsv});if(is_string(${${"GLOBALS"}["liustdtsge"]})){${"GLOBALS"}["idhhzhfhdk"]="listData";${"GLOBALS"}["oohjkhfpwyr"]="rawData";${${"GLOBALS"}["twkoyljekf"]}=explode(",",${${"GLOBALS"}["oohjkhfpwyr"]});foreach(${${"GLOBALS"}["idhhzhfhdk"]} as${${"GLOBALS"}["ptkgtt"]}=>${${"GLOBALS"}["bgrfxyyow"]}){${"GLOBALS"}["byfpjqmlc"]="v";if(is_string(${${"GLOBALS"}["byfpjqmlc"]})){${${"GLOBALS"}["twkoyljekf"]}[${${"GLOBALS"}["ptkgtt"]}]=trim(${${"GLOBALS"}["bgrfxyyow"]});continue;}throw new WHMCS_Exception("Invalid license data structure");continue;}}else{if(!is_null(${${"GLOBALS"}["liustdtsge"]})){throw new WHMCS_Exception("Invalid license data structure");}}return${${"GLOBALS"}["twkoyljekf"]};}public function getRegisteredName(){return$this->getKeyData("registeredname");}public function getProductName(){return$this->getKeyData("productname");}public function getStatus(){return$this->getKeyData("status");}public function getSupportAccess(){return$this->getKeyData("supportaccess");}protected function getLicensedAddons(){$jjbbynll="licensedAddons";${"GLOBALS"}["fokbunkzuiy"]="licensedAddons";${$jjbbynll}=$this->getKeyData("addons");${"GLOBALS"}["essddmeoxt"]="licensedAddons";if(!is_array(${${"GLOBALS"}["essddmeoxt"]})){${"GLOBALS"}["uutvnkty"]="licensedAddons";${${"GLOBALS"}["uutvnkty"]}=array();}return${${"GLOBALS"}["fokbunkzuiy"]};}public function getActiveAddons(){$hmquyrckdki="activeAddons";${${"GLOBALS"}["uqeftvn"]}=$this->getLicensedAddons();${$hmquyrckdki}=array();${"GLOBALS"}["lndwdzl"]="addon";${"GLOBALS"}["rhibnwuudfil"]="licensedAddons";foreach(${${"GLOBALS"}["rhibnwuudfil"]} as${${"GLOBALS"}["lndwdzl"]}){${"GLOBALS"}["nhddpms"]="activeAddons";if(!(${${"GLOBALS"}["bcedymhaj"]}["status"]=="Active")){continue;}${${"GLOBALS"}["nhddpms"]}[]=${${"GLOBALS"}["bcedymhaj"]}["name"];continue;}return${${"GLOBALS"}["mnmepdjvq"]};}public function isActiveAddon($addon){${"GLOBALS"}["mbkqlfbsb"]="addon";return in_array(${${"GLOBALS"}["mbkqlfbsb"]},$this->getActiveAddons())?(true):(false);}public function getExpiryDate($showday=false){${"GLOBALS"}["jktitlborpd"]="expiry";${${"GLOBALS"}["ettcwzpbg"]}=$this->getKeyData("nextduedate");${"GLOBALS"}["gmnhopuy"]="expiry";if(!${${"GLOBALS"}["jktitlborpd"]}){$ftuqrqhbr="expiry";${$ftuqrqhbr}="Never";}else{if(${${"GLOBALS"}["plmsuw"]}){$qsiefeocb="expiry";$yvcuspkcxb="expiry";${$qsiefeocb}=date("l, jS F Y",strtotime(${$yvcuspkcxb}));}else{$ajplwzzmcde="expiry";$pasfvlpildq="expiry";${$pasfvlpildq}=date("jS F Y",strtotime(${$ajplwzzmcde}));}}return${${"GLOBALS"}["gmnhopuy"]};}public function getLatestPublicVersion(){$mwpeivbwl="latestVersion";try{${"GLOBALS"}["bgnvworb"]="latestVersion";${${"GLOBALS"}["bgnvworb"]}=new WHMCS_Version_SemanticVersion($this->getKeyData("latestpublicversion"));}catch(WHMCS_Exception_Version_BadVersionNumber$e){$sgkgrnj="whmcs";${"GLOBALS"}["bemxfwtfr"]="latestVersion";${$sgkgrnj}=WHMCS_Application::getinstance();${${"GLOBALS"}["bemxfwtfr"]}=$whmcs->getVersion();}return${$mwpeivbwl};}public function getLatestPreReleaseVersion(){try{$bphjnx="latestVersion";${$bphjnx}=new WHMCS_Version_SemanticVersion($this->getKeyData("latestprereleaseversion"));}catch(WHMCS_Exception_Version_BadVersionNumber$e){$yoxlxlzbpg="whmcs";$dlplkgjgqb="latestVersion";${$yoxlxlzbpg}=WHMCS_Application::getinstance();${$dlplkgjgqb}=$whmcs->getVersion();}return${${"GLOBALS"}["tgqmklgjdm"]};}public function getLatestVersion(){${${"GLOBALS"}["qyklcqkxkl"]}=WHMCS_Application::getinstance();${${"GLOBALS"}["rfvmjaovvp"]}=$whmcs->getVersion();if(in_array($installedVersion->getPreReleaseIdentifier(),array("beta","rc"))){${${"GLOBALS"}["tgqmklgjdm"]}=$this->getLatestPreReleaseVersion();}else{${${"GLOBALS"}["tgqmklgjdm"]}=$this->getLatestPublicVersion();}return${${"GLOBALS"}["tgqmklgjdm"]};}public function isUpdateAvailable(){$likwmr="latestVersion";${${"GLOBALS"}["qyklcqkxkl"]}=WHMCS_Application::getinstance();$kqcezdtq="installedVersion";${${"GLOBALS"}["rfvmjaovvp"]}=$whmcs->getVersion();${$likwmr}=$this->getLatestVersion();return WHMCS_Version_SemanticVersion::compare(${${"GLOBALS"}["tgqmklgjdm"]},${$kqcezdtq},">");}private function getRequiresUpdates(){return$this->getKeyData("requiresupdates")?(true):(false);}public function checkOwnedUpdates(){$hkgleohqg="whmcs";if(!$this->getRequiresUpdates()){return true;}${$hkgleohqg}=WHMCS_Application::getinstance();${${"GLOBALS"}["uqeftvn"]}=$this->getLicensedAddons();foreach(${${"GLOBALS"}["uqeftvn"]} as${${"GLOBALS"}["bcedymhaj"]}){$fqcvbmmejk="addon";if(${$fqcvbmmejk}["name"]=="Support and Updates"){if(!(${${"GLOBALS"}["bcedymhaj"]}["name"]=="Support and Updates"||${${"GLOBALS"}["bcedymhaj"]}["status"]=="Active")){continue;}if(!(str_replace("-","",$whmcs->getReleaseDate())<str_replace("-","",${${"GLOBALS"}["bcedymhaj"]}["nextduedate"]))){continue;}return true;}continue;}return false;}public function getBrandingRemoval(){${"GLOBALS"}["coqrqqswidq"]="addon";if(in_array($this->getProductName(),array("Owned License No Branding","Monthly Lease No Branding"))){return true;}${${"GLOBALS"}["uqeftvn"]}=$this->getLicensedAddons();foreach(${${"GLOBALS"}["uqeftvn"]} as${${"GLOBALS"}["coqrqqswidq"]}){${"GLOBALS"}["iprjsihhmmz"]="addon";if(${${"GLOBALS"}["iprjsihhmmz"]}["name"]=="Branding Removal"){$mrbfryyu="addon";if(!(${$mrbfryyu}["name"]=="Branding Removal"||${${"GLOBALS"}["bcedymhaj"]}["status"]=="Active")){continue;}return true;}continue;}return false;}public function getVersionHash(){return$this->version;}private function debug($msg){${"GLOBALS"}["jxvyliqm"]="msg";$this->debuglog[]=${${"GLOBALS"}["jxvyliqm"]};return null;}public function getDebugLog(){return$this->debuglog;}} 
?>

Did this file decode correctly?

Original Code

<?php

${"GL\x4f\x42\x41L\x53"}["rf\x76\x6dj\x61\x6f\x76v\x70"]="\x69ns\x74\x61\x6c\x6c\x65dV\x65\x72\x73\x69on";
${"\x47L\x4fBA\x4c\x53"}["\x74\x67qm\x6b\x6c\x67j\x64\x6d"]="\x6c\x61\x74\x65\x73t\x56\x65\x72\x73io\x6e";${"GL\x4f\x42\x41\x4c\x53"}["p\x6c\x6d\x73\x75\x77"]="s\x68o\x77\x64\x61\x79";${"G\x4c\x4fB\x41\x4c\x53"}["e\x74\x74\x63\x77z\x70\x62\x67"]="\x65xp\x69\x72\x79";${"\x47LO\x42\x41\x4cS"}["m\x6e\x6de\x70\x64\x6av\x71"]="\x61\x63\x74\x69\x76eAd\x64\x6fn\x73";${"GLO\x42\x41\x4c\x53"}["bce\x64\x79\x6d\x68a\x6a"]="\x61d\x64o\x6e";${"\x47L\x4f\x42A\x4c\x53"}["\x75q\x65\x66\x74\x76\x6e"]="\x6ci\x63e\x6es\x65\x64\x41\x64\x64o\x6e\x73";${"\x47\x4cO\x42A\x4cS"}["\x6c\x69\x75\x73t\x64\x74\x73g\x65"]="ra\x77\x44a\x74\x61";${"G\x4c\x4fB\x41\x4c\x53"}["\x74\x77\x6boy\x6c\x6aekf"]="\x6ci\x73t\x44\x61\x74\x61";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6f\x75e\x73\x62tmdq\x68"]="\x76\x61\x72";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x67i\x78\x67r\x71"]="d\x69\x72";${"\x47\x4cO\x42\x41\x4c\x53"}["q\x79\x6f\x65\x76\x77d"]="d\x6f\x6dai\x6e";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62u\x65\x67\x6cq"]="\x76\x61\x6c\x69\x64\x64\x6f\x6d\x61\x69ns";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6bp\x71\x66c\x72\x68"]="\x6c\x6f\x63\x61\x6ck\x65yre\x73\x75lt\x73";${"\x47\x4c\x4fB\x41L\x53"}["\x79u\x73h\x72\x62\x6a"]="\x6dd5\x68a\x73h";${"\x47\x4cO\x42\x41\x4cS"}["vp\x62\x68\x64\x75\x77oc"]="\x6co\x63\x61l\x64\x61t\x61";${"G\x4cO\x42\x41L\x53"}["iws\x6a\x64\x79\x78\x6cm"]="\x6co\x63\x61\x6c\x6b\x65\x79";${"\x47\x4c\x4fB\x41\x4c\x53"}["s\x6a\x62\x62r\x68n\x64b\x77g\x6d"]="r\x65\x61\x73o\x6e";${"GL\x4f\x42\x41\x4c\x53"}["q\x71\x65\x6d\x76\x6dx\x6f\x71\x68q"]="\x73\x70\x6c\x70\x74";${"\x47L\x4f\x42\x41L\x53"}["\x74\x72\x6e\x74h\x62\x70fy"]="\x64\x61\x74\x61\x5f\x65\x6e\x63\x6f\x64\x65d";${"\x47\x4c\x4fBA\x4c\x53"}["\x73r\x6dwco\x62\x6c\x76r\x64"]="\x64\x61\x74\x61";${"G\x4cO\x42\x41L\x53"}["ns\x67\x77n\x6f\x79\x6a"]="\x63\x68";${"\x47\x4cO\x42\x41LS"}["\x69\x6e\x73ib\x76ng\x79"]="u\x72\x6c";${"\x47\x4c\x4f\x42\x41L\x53"}["\x78rk\x74x\x79\x62"]="\x72\x65\x73\x70\x6f\x6e\x73\x65\x63o\x64e";${"\x47\x4c\x4fBAL\x53"}["\x70\x72\x74\x79\x6c\x72"]="\x68o\x73\x74\x69\x70";${"\x47LO\x42A\x4c\x53"}["\x63\x6d\x74\x64meeb\x77"]="\x68\x6f\x73\x74\x69\x70\x73";${"G\x4c\x4f\x42\x41L\x53"}["\x6al\x76s\x6c\x6e\x78u\x75"]="\x72\x65\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["b\x67r\x66\x78\x79\x79\x6f\x77"]="\x76";${"\x47L\x4fBA\x4c\x53"}["p\x74k\x67t\x74"]="k";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x6a\x6b\x70\x6bvobg\x66h\x6e"]="r\x65su\x6c\x74\x73";${"\x47\x4c\x4f\x42A\x4c\x53"}["qy\x6b\x6cc\x71\x6b\x78\x6b\x6c"]="wh\x6dc\x73";${"\x47\x4cO\x42\x41\x4c\x53"}["\x7a\x79\x6a\x72i\x70\x66"]="\x6co\x63\x61\x6c\x6b\x65\x79\x76\x61l\x69d";${"GLOB\x41\x4c\x53"}["s\x75\x6d\x66q\x6b\x6a"]="l\x6f\x63\x61\x6cm\x61\x78";${"\x47\x4c\x4fB\x41L\x53"}["s\x66\x6e\x72\x63\x66\x6brg\x77"]="i\x70";${"\x47\x4c\x4fB\x41\x4c\x53"}["m\x66\x65k\x62\x68\x62\x6b\x66\x6f\x74"]="\x68o\x73\x74\x73";${"\x47\x4c\x4fB\x41\x4cS"}["\x62\x6a\x70y\x73\x67\x74\x75"]="\x69\x6e\x73\x74\x61\x6ec\x65";class WHMCS_License{private$licensekey="";private$localkey="";private$keydata=array();private$salt="";private$date="";private$localkeydecoded=false;private$responsedata="";private$postmd5hash="";private$localkeydays="10";private$allowcheckfaildays="5";private$debuglog=array();private$version="7a1bbff560de83ab800c4d1d2f215b91006be8e6";protected static$instance;public function __construct(){${"\x47L\x4f\x42\x41\x4c\x53"}["yc\x69\x6e\x63\x78\x61\x69fo\x70"]="\x77h\x6d\x63\x73";${${"GLO\x42\x41\x4c\x53"}["\x79\x63\x69\x6e\x63\x78\x61\x69\x66\x6f\x70"]}=WHMCS_Application::getinstance();$this->licensekey=$whmcs->get_license_key();$this->localkey=$whmcs->get_config("Lic\x65\x6e\x73\x65");$this->salt=sha1(""."WH\x4dC\x53".$whmcs->get_config("\x56ersio\x6e")."T\x46B".$whmcs->get_hash());$this->date=date("\x59md");$this->decodeLocalOnce();if(isset($_GET["\x66o\x72\x63\x65r\x65\x6d\x6f\x74e"])){$this->forceRemoteCheck();WHMCS_Terminus::getinstance()->doExit();}}protected static function setInstance($license){${"\x47L\x4f\x42\x41\x4c\x53"}["\x68\x68\x74c\x70k"]="\x6ci\x63\x65\x6es\x65";$lvwvnruyyu="\x6c\x69\x63\x65\x6e\x73\x65";self::${${"G\x4c\x4f\x42\x41\x4cS"}["bj\x70\x79\x73gtu"]}=${${"\x47L\x4f\x42\x41\x4cS"}["\x68\x68tc\x70\x6b"]};return${$lvwvnruyyu};}protected static function destroyInstance(){${"\x47\x4c\x4fB\x41L\x53"}["\x66q\x74\x62\x74\x76d\x6b\x6f\x79\x65"]="\x69n\x73ta\x6ec\x65";self::${${"\x47\x4c\x4f\x42AL\x53"}["\x66\x71\x74bt\x76\x64\x6b\x6f\x79e"]}=null;return;}public static function getInstance(){if(is_null(self::${${"\x47LO\x42\x41\x4c\x53"}["\x62\x6ap\x79\x73g\x74\x75"]})){self::setinstance(new WHMCS_License());}return self::${${"\x47LOB\x41\x4c\x53"}["b\x6apy\x73\x67\x74u"]};}private function getHosts(){$nuxwduqgxqbu="\x68\x6fsts";$smsihxsspy="\x68os\x74\x73";${$nuxwduqgxqbu}=gethostbynamel("l\x69c\x65\x6esi\x6eg\x328\x2ewh\x6dcs.c\x6f\x6d");if(${${"\x47\x4cO\x42AL\x53"}["\x6d\x66\x65\x6b\x62\x68bkfot"]}===false){${"\x47\x4c\x4fB\x41\x4cS"}["\x68t\x65\x72\x74\x65\x61\x6f\x71"]="h\x6f\x73ts";${${"\x47LO\x42\x41\x4c\x53"}["ht\x65r\x74\x65\x61oq"]}=array();}return${$smsihxsspy};}private function getLicenseKey(){return$this->licensekey;}private function getHostIP(){${"GL\x4f\x42\x41\x4c\x53"}["f\x61h\x67\x72\x67qox\x6d\x63"]="\x69\x70";if(isset($_SERVER["\x53\x45R\x56E\x52_\x41\x44\x44R"])){${${"G\x4cO\x42\x41\x4cS"}["sf\x6e\x72c\x66\x6b\x72\x67\x77"]}=$_SERVER["SE\x52\x56\x45R_\x41\x44DR"];}else{if(isset($_SERVER["\x4cO\x43\x41\x4c\x5fADDR"])){${"\x47L\x4fBAL\x53"}["\x6amwf\x63\x77\x68\x76"]="\x69\x70";${${"\x47L\x4f\x42\x41\x4cS"}["\x6a\x6dw\x66\x63\x77h\x76"]}=$_SERVER["\x4cOC\x41\x4c\x5f\x41\x44DR"];}else{if(function_exists("gethostna\x6de")){${${"\x47\x4c\x4fB\x41LS"}["\x73\x66\x6e\x72c\x66k\x72\x67w"]}=gethostbyname(gethostname());}else{${"G\x4cOB\x41\x4c\x53"}["\x73\x79\x6d\x69\x68d\x70\x67m\x64f\x62"]="ip";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["sy\x6d\x69h\x64\x70\x67\x6d\x64\x66\x62"]}="";}}}return${${"G\x4cO\x42\x41\x4cS"}["\x66a\x68gr\x67qo\x78\x6dc"]};}private function getHostDomain(){return isset($_SERVER["SE\x52\x56E\x52\x5f\x4eA\x4d\x45"])?($_SERVER["S\x45\x52VER\x5f\x4eA\x4dE"]):"";}private function getHostDir(){return ROOTDIR;}public function getSalt(){return$this->salt;}public function getDate(){return$this->date;}public function checkLocalKeyExpiry(){$ytnmhimwurgm="or\x69\x67i\x6e\x61\x6c\x63\x68\x65\x63\x6b\x64\x61\x74\x65";$nwjydiyx="o\x72\x69\x67\x69\x6ea\x6c\x63\x68\x65\x63\x6b\x64\x61\x74\x65";$gesotx="\x6c\x6f\x63a\x6ce\x78pi\x72y\x6d\x61\x78";${$nwjydiyx}=$this->getKeyData("ch\x65ckda\x74\x65");$fuorunt="loc\x61l\x65\x78\x70\x69r\x79m\x61x";${$gesotx}=date("\x59m\x64",mktime(0,0,0,date("\x6d"),date("d")-$this->localkeydays,date("\x59")));if(${$ytnmhimwurgm}<${$fuorunt}){return false;}${${"\x47\x4cOBA\x4c\x53"}["\x73\x75mf\x71k\x6a"]}=date("Ym\x64",mktime(0,0,0,date("m"),date("\x64")+2,date("Y")));$utxths="or\x69g\x69\x6ea\x6c\x63\x68e\x63k\x64\x61\x74\x65";if(${${"G\x4cO\x42\x41\x4cS"}["\x73u\x6d\x66q\x6b\x6a"]}<${$utxths}){return false;}return true;}public function remoteCheck($forceRemote=false){try{$sjhyvqwq="l\x6fc\x61lk\x65\x79\x76\x61\x6c\x69\x64";${"GLO\x42\x41\x4c\x53"}["\x64\x69\x71\x6e\x64i\x77n\x67\x63"]="\x66\x6f\x72c\x65R\x65m\x6f\x74e";${$sjhyvqwq}=$this->decodeLocalOnce();$nzypiwhi="\x6c\x6fca\x6c\x6be\x79\x76\x61\x6cid";$this->debug(""."\x4coca\x6c \x4be\x79 V\x61li\x64:\x20".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x79\x6ar\x69\x70\x66"]});if(${$nzypiwhi}){${"\x47\x4cO\x42\x41\x4c\x53"}["\x70\x73\x6etfl\x75\x69\x74\x6eu"]="\x6c\x6f\x63a\x6c\x6be\x79v\x61\x6cid";${"G\x4c\x4fBAL\x53"}["z\x70rh\x73\x77\x72\x6f"]="\x6coca\x6c\x6b\x65yva\x6c\x69d";${${"\x47LOB\x41\x4cS"}["\x7ayj\x72\x69\x70f"]}=$this->checkLocalKeyExpiry();$this->debug(""."L\x6fc\x61l Key \x45\x78p\x69ry:\x20".${${"\x47\x4c\x4f\x42\x41LS"}["ps\x6et\x66\x6c\x75i\x74\x6e\x75"]});if(${${"\x47\x4cO\x42\x41L\x53"}["z\x70rh\x73w\x72o"]}){$krolshvwl="\x6c\x6fc\x61\x6c\x6b\x65\x79\x76\x61l\x69\x64";${"\x47\x4c\x4fB\x41L\x53"}["vu\x69in\x6f"]="l\x6f\x63\x61lkey\x76\x61\x6c\x69\x64";${${"GLO\x42A\x4c\x53"}["\x76\x75\x69i\x6e\x6f"]}=$this->validateLocalKey();$this->debug(""."Loc\x61l K\x65y \x56\x61li\x64\x61t\x69\x6f\x6e: ".${$krolshvwl});}}if(false||!${${"G\x4cO\x42A\x4c\x53"}["\x7a\x79j\x72\x69\x70\x66"]}||${${"\x47\x4cO\x42AL\x53"}["\x64\x69\x71\x6e\x64\x69\x77\x6e\x67c"]}){$vidnpjvfj="r\x65\x73\x75\x6ct\x73";${"\x47\x4cO\x42\x41L\x53"}["w\x79xe\x73g\x6f"]="\x72e\x73u\x6c\x74\x73";$utzdoii="\x72\x65\x73\x75l\x74s";${${"\x47LO\x42\x41\x4cS"}["q\x79\x6b\x6cc\x71\x6bx\x6b\x6c"]}=WHMCS_Application::getinstance();${${"\x47\x4c\x4fB\x41\x4cS"}["\x65\x6a\x6b\x70\x6b\x76o\x62gfh\x6e"]}["st\x61\x74u\x73"]="A\x63ti\x76\x65";${$utzdoii}["\x6b\x65\x79"]=$this->licensekey;${${"GL\x4fB\x41\x4c\x53"}["e\x6ak\x70\x6b\x76\x6f\x62g\x66h\x6e"]}["\x72\x65g\x69stere\x64\x6e\x61\x6d\x65"]=$whmcs->get_config("\x43\x6fmpa\x6e\x79\x4eame");${$vidnpjvfj}["\x70rod\x75\x63\x74n\x61m\x65"]="\x4fwn\x65\x64\x20Lic\x65\x6es\x65\x20\x4e\x6f\x20Br\x61n\x64in\x67";$jopxtrmimig="\x72\x65\x73u\x6c\x74\x73";${${"\x47L\x4f\x42\x41L\x53"}["\x65\x6ak\x70\x6b\x76\x6f\x62\x67\x66hn"]}["\x70\x72o\x64uct\x69d"]="5";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65\x6a\x6b\x70kv\x6f\x62\x67f\x68\x6e"]}["b\x69llin\x67\x63y\x63le"]="\x4f\x6e\x65\x20Tim\x65";${${"\x47\x4c\x4fBA\x4c\x53"}["\x65jk\x70\x6bv\x6f\x62\x67\x66\x68n"]}["\x76\x61l\x69\x64d\x6f\x6d\x61\x69\x6e\x73"]=$this->getHostDomain();$ekqkpxvgqe="r\x65s\x75\x6c\x74\x73";${"\x47\x4c\x4f\x42AL\x53"}["\x75ft\x6c\x65\x67x\x6a"]="re\x73\x75l\x74\x73";${$jopxtrmimig}["vali\x64\x69\x70\x73"]=$this->getHostIP();${${"\x47LO\x42\x41L\x53"}["\x77\x79\x78e\x73g\x6f"]}["\x76\x61\x6cid\x64\x69rs"]=$this->getHostDir();${${"GLO\x42\x41\x4c\x53"}["\x65j\x6b\x70\x6b\x76\x6fb\x67\x66hn"]}["c\x68e\x63kdate"]=$this->getDate();${$ekqkpxvgqe}["\x76e\x72sion"]=$whmcs->getVersion()->getCanonical();${${"G\x4cO\x42\x41\x4cS"}["\x65\x6a\x6b\x70\x6b\x76ob\x67f\x68n"]}["r\x65\x67\x64\x61\x74e"]="2014-\x302-\x30\x36";${${"\x47L\x4f\x42\x41LS"}["e\x6ak\x70k\x76\x6f\x62g\x66\x68\x6e"]}["ne\x78td\x75e\x64a\x74\x65"]="20\x350-0\x32-\x30\x36";${${"\x47LOB\x41L\x53"}["u\x66tl\x65\x67\x78\x6a"]}["\x61\x64\x64ons"]=array(array("name"=>"\x42r\x61\x6e\x64\x69\x6eg \x52emo\x76a\x6c","\x6e\x65\x78td\x75e\x64\x61\x74\x65"=>"\x320\x35\x30-\x312-3\x30","sta\x74us"=>"A\x63\x74i\x76\x65"),array("\x6eam\x65"=>"S\x75pp\x6f\x72\x74\x20a\x6ed\x20Up\x64a\x74\x65s","\x6ee\x78\x74\x64ued\x61\x74\x65"=>"20\x350-\x312-\x330","s\x74\x61t\x75\x73"=>"\x41\x63ti\x76e"),array("\x6eam\x65"=>"Projec\x74\x20\x4d\x61\x6e\x61\x67e\x6d\x65n\x74\x20\x41ddo\x6e","\x6eex\x74\x64u\x65d\x61\x74e"=>"\x32\x3050-\x31\x32-30","st\x61\x74us"=>"Ac\x74\x69v\x65"),array("\x6e\x61m\x65"=>"\x4cicens\x69n\x67\x20\x41dd\x6f\x6e","\x6eex\x74du\x65d\x61t\x65"=>"\x320\x350-1\x32-\x33\x30","\x73\x74atu\x73"=>"\x41ct\x69v\x65"),array("\x6eam\x65"=>"M\x6f\x62i\x6c\x65\x20\x45d\x69ti\x6f\x6e","ne\x78tdu\x65\x64a\x74\x65"=>"20\x350-\x312-3\x30","stat\x75\x73"=>"\x41c\x74\x69\x76e"),array("nam\x65"=>"\x69Pho\x6e\x65\x20\x41pp","n\x65\x78td\x75e\x64\x61\x74e"=>"\x32\x30\x35\x30-1\x32-\x33\x30","stat\x75s"=>"A\x63t\x69\x76e"),array("\x6e\x61m\x65"=>"A\x6e\x64\x72\x6fi\x64\x20Ap\x70","n\x65\x78\x74\x64\x75e\x64at\x65"=>"20\x35\x30-\x312-30","\x73t\x61\x74u\x73"=>"\x41ct\x69ve"),array("\x6e\x61\x6d\x65"=>"C\x6f\x6e\x66i\x67\x75rabl\x65 Pa\x63kage\x20A\x64d\x6f\x6e","\x6ee\x78t\x64\x75eda\x74\x65"=>"2\x305\x30-\x31\x32-\x330","s\x74\x61\x74\x75s"=>"Act\x69ve"),array("\x6e\x61m\x65"=>"L\x69\x76\x65\x20C\x68at \x4do\x6e\x74hl\x79\x20No B\x72\x61\x6ed\x69\x6e\x67","\x6ee\x78t\x64u\x65\x64\x61t\x65"=>"\x32\x305\x30-\x312-\x33\x30","s\x74at\x75s"=>"A\x63tive"));${"\x47\x4cO\x42\x41L\x53"}["\x79\x70\x74\x64\x70f\x6d\x68i\x62\x6d\x78"]="\x72esu\x6ct\x73";$this->setKeyData(${${"\x47L\x4fBA\x4cS"}["\x79p\x74\x64\x70\x66m\x68ib\x6d\x78"]});$this->updateLocalKey();}$this->debug("\x52\x65\x6d\x6ft\x65\x20C\x68eck\x20\x44\x6fn\x65");}catch(WHMCS_Exception$exception){$this->debug(sprintf("Li\x63ense \x45r\x72o\x72:\x20\x25s",$exception->getMessage()));return false;}return true;}private function getLocalMaxExpiryDate(){return date("\x59md",mktime(0,0,0,date("\x6d"),date("\x64")-($this->localkeydays+$this->allowcheckfaildays),date("\x59")));}private function buildQuery($postfields){${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x6d\x62l\x6cn\x68cr\x63\x79"]="\x70\x6f\x73\x74\x66\x69\x65\x6c\x64\x73";$query_string="";$adhhxy="\x76";foreach(${${"GL\x4f\x42ALS"}["\x77\x6d\x62\x6c\x6c\x6ehc\x72c\x79"]} as${${"\x47\x4cOB\x41LS"}["p\x74\x6bg\x74t"]}=>${$adhhxy}){$kqoqtiwiqbr="\x6b";$query_string.="".${$kqoqtiwiqbr}."=".urlencode(${${"\x47L\x4f\x42A\x4c\x53"}["\x62g\x72\x66\x78\x79\x79\x6f\x77"]})."\x26";continue;}return$query_string;}private function callHome($postfields){$trurgbieggi="\x70\x6f\x73\x74\x66i\x65\x6c\x64s";$query_string=$this->buildQuery(${$trurgbieggi});${${"\x47\x4c\x4fBALS"}["\x6a\x6c\x76\x73\x6cn\x78\x75\x75"]}=$this->callHomeLoop($query_string,5);if(${${"\x47\x4c\x4fBA\x4c\x53"}["\x6a\x6cvs\x6cn\x78\x75u"]}){return${${"\x47LOBA\x4c\x53"}["j\x6c\x76\x73\x6c\x6e\x78uu"]};}return$this->callHomeLoop($query_string,30);}private function callHomeLoop($query_string,$timeout=5){${"\x47LOBALS"}["y\x76\x73pw\x6b\x71"]="h\x6fs\x74\x69\x70s";${${"\x47\x4c\x4f\x42ALS"}["y\x76s\x70\x77\x6b\x71"]}=$this->getHosts();foreach(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x63\x6d\x74dm\x65\x65\x62w"]} as${${"\x47\x4cOB\x41\x4cS"}["\x70rtylr"]}){$xsllqcmbri="t\x69\x6deo\x75\x74";$cfymxipn="h\x6f\x73\x74ip";${${"\x47\x4cO\x42A\x4cS"}["\x78r\x6btx\x79\x62"]}=$this->makeCall(${$cfymxipn},$query_string,${$xsllqcmbri});if(!(${${"GLO\x42\x41\x4c\x53"}["\x78\x72\x6b\x74\x78\x79\x62"]}==200)){continue;}return$this->responsedata;}return false;}private function makeCall($ip,$query_string,$timeout=5){$gqxjmknrfji="ur\x6c";${"\x47L\x4f\x42A\x4c\x53"}["\x76\x6e\x6ax\x65e\x66\x66\x77\x71\x74"]="\x63\x68";${${"\x47LO\x42\x41\x4c\x53"}["\x69\x6es\x69bv\x6eg\x79"]}="https://".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x66\x6erc\x66k\x72\x67\x77"]}."/\x6c\x69c\x65n\x73e/verif\x795\x33.p\x68p";$kkytllucfz="ti\x6d\x65\x6fut";$this->debug(""."\x52\x65\x71u\x65\x73t \x55\x52\x4c ".${$gqxjmknrfji});${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x68\x6e\x67\x74\x78\x78"]="\x63h";$jltgfieefpb="\x63\x68";${${"G\x4cO\x42\x41\x4cS"}["\x6es\x67\x77no\x79\x6a"]}=curl_init();${"G\x4c\x4f\x42\x41\x4cS"}["pl\x75m\x69\x63\x76"]="\x63\x68";curl_setopt(${${"GL\x4f\x42A\x4c\x53"}["d\x68\x6eg\x74\x78x"]},CURLOPT_URL,${${"GL\x4fB\x41\x4cS"}["i\x6esi\x62v\x6e\x67\x79"]});${"G\x4c\x4fB\x41\x4cS"}["\x63\x65r\x62\x74ee\x72"]="\x72\x65s\x70\x6f\x6e\x73\x65cod\x65";curl_setopt(${${"GL\x4fB\x41\x4cS"}["\x76n\x6a\x78e\x65f\x66\x77q\x74"]},CURLOPT_POST,1);curl_setopt(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6e\x73\x67w\x6e\x6f\x79\x6a"]},CURLOPT_POSTFIELDS,$query_string);curl_setopt(${${"G\x4cO\x42\x41\x4c\x53"}["\x6e\x73\x67\x77\x6e\x6f\x79\x6a"]},CURLOPT_TIMEOUT,${$kkytllucfz});curl_setopt(${${"\x47\x4c\x4fBALS"}["\x6es\x67w\x6e\x6fyj"]},CURLOPT_RETURNTRANSFER,1);curl_setopt(${${"GLOBA\x4c\x53"}["\x70lum\x69cv"]},CURLOPT_SSL_VERIFYHOST,0);curl_setopt(${${"GLO\x42\x41\x4c\x53"}["\x6es\x67\x77\x6e\x6fyj"]},CURLOPT_SSL_VERIFYPEER,0);$hukufcqc="\x72\x65\x73p\x6fns\x65\x63\x6fd\x65";${"GL\x4f\x42\x41\x4cS"}["\x66pw\x71\x71j\x6b\x69"]="\x63\x68";$this->responsedata=curl_exec(${${"\x47\x4cOB\x41\x4c\x53"}["\x6e\x73\x67w\x6e\x6f\x79j"]});${$hukufcqc}=curl_getinfo(${$jltgfieefpb},CURLINFO_HTTP_CODE);$this->debug(""."Respon\x73e Cod\x65: ".${${"\x47LOB\x41LS"}["xr\x6bt\x78\x79\x62"]}."\x20D\x61t\x61:\x20".$this->responsedata);if(curl_error(${${"\x47\x4cO\x42\x41\x4c\x53"}["f\x70\x77\x71q\x6ak\x69"]})){$tihjke="\x63\x68";$this->debug("\x43url\x20Erro\x72: ".curl_error(${${"G\x4cOB\x41\x4cS"}["\x6esgw\x6e\x6fyj"]})." -\x20".curl_errno(${$tihjke}));}curl_close(${${"\x47\x4c\x4f\x42\x41LS"}["\x6es\x67\x77n\x6f\x79\x6a"]});return${${"GLO\x42\x41\x4c\x53"}["\x63er\x62t\x65\x65\x72"]};}private function processResponse($data){$uxmxefqneqnx="\x72\x65\x73ul\x74\x73";${${"\x47\x4cO\x42\x41L\x53"}["\x73r\x6dw\x63\x6fblv\x72\x64"]}=strrev(${${"G\x4c\x4fBAL\x53"}["s\x72\x6d\x77\x63\x6f\x62\x6c\x76rd"]});${"\x47\x4cOB\x41\x4c\x53"}["\x63\x74\x62\x6e\x66\x74\x79\x6a\x61\x79"]="\x72es\x75\x6c\x74s";${"\x47LO\x42\x41\x4c\x53"}["\x74\x78\x63\x7an\x66\x6f\x72a\x6a"]="\x72\x65\x73ul\x74\x73";${${"\x47\x4c\x4fB\x41L\x53"}["\x73r\x6d\x77\x63\x6f\x62l\x76\x72d"]}=base64_decode(${${"\x47\x4c\x4f\x42\x41L\x53"}["s\x72mwcob\x6cv\x72\x64"]});${"\x47L\x4f\x42ALS"}["\x68o\x62\x6b\x63\x70\x65\x69\x67\x68"]="r\x65s\x75lt\x73";${${"\x47\x4cOBA\x4c\x53"}["\x74\x78c\x7an\x66\x6fra\x6a"]}=unserialize(${${"G\x4c\x4f\x42\x41\x4cS"}["s\x72\x6dw\x63\x6f\x62\x6c\x76\x72\x64"]});$this->posthash=${${"\x47\x4c\x4fB\x41\x4cS"}["\x68\x6f\x62kcp\x65\x69\x67\x68"]}["h\x61s\x68"];unset(${$uxmxefqneqnx}["h\x61\x73\x68"]);${${"G\x4c\x4fB\x41\x4c\x53"}["ctb\x6e\x66\x74\x79\x6aay"]}["\x63h\x65\x63\x6bdate"]=$this->getDate();return${${"\x47\x4c\x4f\x42A\x4c\x53"}["e\x6a\x6b\x70k\x76\x6fbgfhn"]};}private function updateLocalKey(){${"\x47LOB\x41\x4cS"}["\x75\x6eskj\x67g\x78v"]="\x64a\x74a_\x65n\x63\x6fde\x64";$tdegkbhctzlt="\x73\x70\x6c\x70\x74";$yrntqmntimn="\x64\x61\x74\x61\x5f\x65\x6e\x63o\x64ed";$hibdypxol="d\x61ta\x5fe\x6e\x63od\x65\x64";$cqqtltgj="\x64a\x74\x61\x5fen\x63o\x64e\x64";$hwpzzspwhjs="\x64\x61t\x61\x5f\x65n\x63\x6f\x64\x65d";${"GL\x4fB\x41L\x53"}["\x63\x68\x72\x64n\x62\x61\x66r\x69"]="\x64\x61\x74a_\x65\x6e\x63\x6f\x64\x65\x64";$vqejuhef="\x64at\x61\x5fe\x6ec\x6f\x64\x65\x64";${"GL\x4f\x42\x41L\x53"}["\x68b\x79\x67v\x69n\x71"]="d\x61\x74a\x5fenco\x64e\x64";${"\x47\x4c\x4f\x42A\x4cS"}["\x68bb\x64ug\x70\x6d\x69c\x72\x76"]="\x64at\x61\x5fe\x6e\x63\x6f\x64e\x64";$pxxhtez="\x64at\x61\x5f\x65\x6e\x63od\x65\x64";${$yrntqmntimn}=serialize($this->keydata);${"G\x4cO\x42\x41\x4cS"}["\x67\x75e\x72mi\x73\x64\x6c\x70q"]="\x64a\x74\x61_enc\x6f\x64\x65\x64";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["u\x6e\x73k\x6a\x67\x67x\x76"]}=base64_encode(${${"GL\x4f\x42\x41LS"}["\x74rnt\x68b\x70\x66\x79"]});$wdqngmldj="\x64\x61t\x61\x5f\x65\x6e\x63\x6fd\x65d";${${"\x47\x4c\x4f\x42\x41LS"}["t\x72\x6et\x68\x62\x70\x66y"]}=sha1($this->getDate().$this->getSalt()).${${"\x47\x4c\x4fBA\x4cS"}["\x63\x68\x72\x64\x6e\x62\x61\x66\x72\x69"]};${${"GL\x4fBA\x4c\x53"}["\x74\x72n\x74\x68bp\x66\x79"]}=strrev(${${"G\x4c\x4f\x42A\x4c\x53"}["\x74r\x6e\x74hb\x70fy"]});${"GL\x4f\x42\x41\x4c\x53"}["\x68a\x6dfh\x6cp\x70\x76"]="\x64\x61t\x61_\x65nc\x6fded";${$tdegkbhctzlt}=strlen(${${"\x47\x4cO\x42A\x4c\x53"}["\x68b\x62\x64u\x67\x70\x6di\x63r\x76"]})/2;$welqlkeeo="\x73\x70\x6cp\x74";${${"GL\x4f\x42A\x4c\x53"}["g\x75\x65\x72\x6d\x69s\x64l\x70q"]}=substr(${$vqejuhef},${$welqlkeeo}).substr(${${"\x47\x4cO\x42\x41L\x53"}["\x74rn\x74h\x62p\x66\x79"]},0,${${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x71\x65\x6dv\x6dx\x6f\x71hq"]});${${"G\x4c\x4fB\x41\x4c\x53"}["h\x61m\x66\x68\x6cpp\x76"]}=sha1(${$pxxhtez}.$this->getSalt()).${${"G\x4c\x4f\x42A\x4cS"}["\x68by\x67\x76\x69\x6e\x71"]}.sha1(${$cqqtltgj}.$this->getSalt().time());${$wdqngmldj}=base64_encode(${$hwpzzspwhjs});${${"\x47\x4cO\x42A\x4c\x53"}["tr\x6et\x68b\x70f\x79"]}=wordwrap(${$hibdypxol},80,"\n",true);WHMCS_Application::getinstance()->set_config("Lic\x65ns\x65",${${"G\x4c\x4f\x42\x41L\x53"}["\x74\x72\x6et\x68\x62\x70\x66\x79"]});$this->debug("\x55\x70\x64a\x74e\x64 \x4cocal\x20Key");return null;}public function forceRemoteCheck(){$this->remoteCheck(true);return null;}private function setInvalid($reason="Invalid"){$this->keydata=array("\x73\x74a\x74u\x73"=>${${"GL\x4fBA\x4c\x53"}["\x73\x6ab\x62\x72\x68\x6e\x64b\x77\x67m"]});return null;}private function decodeLocal(){$osdbmsjz="\x6c\x6fca\x6ck\x65\x79";$izbred="\x6coc\x61\x6c\x6be\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["mj\x62\x72\x75\x6c\x73\x79\x67\x73"]="\x6dd\x35\x68\x61\x73h";$dmxksaliokew="\x6c\x6f\x63\x61\x6c\x6bey";$this->debug("De\x63od\x69\x6eg \x6co\x63a\x6c\x20k\x65y");${${"G\x4c\x4f\x42A\x4cS"}["\x69\x77\x73\x6a\x64\x79\x78\x6cm"]}=$this->localkey;if(!${$izbred}){return false;}${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69w\x73\x6ad\x79xl\x6d"]}=str_replace("\n","",${$dmxksaliokew});${${"\x47\x4c\x4f\x42\x41LS"}["\x69\x77s\x6a\x64y\x78\x6cm"]}=base64_decode(${$osdbmsjz});${${"\x47\x4c\x4f\x42\x41L\x53"}["\x76p\x62\x68\x64\x75wo\x63"]}=substr(${${"\x47L\x4f\x42\x41L\x53"}["i\x77\x73\x6a\x64yxl\x6d"]},40,0-40);$soqitribjq="\x6c\x6f\x63\x61l\x64ata";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79\x75shrb\x6a"]}=substr(${${"\x47\x4c\x4f\x42A\x4c\x53"}["iw\x73j\x64\x79x\x6c\x6d"]},0,40);if(${${"\x47\x4cO\x42\x41\x4cS"}["mj\x62\x72u\x6cs\x79\x67\x73"]}==sha1(${$soqitribjq}.$this->getSalt())){$vhdzebkq="\x6coc\x61\x6c\x64a\x74a";$ubrcvhtiyd="loca\x6cd\x61\x74\x61";$eabqkvku="\x73\x70\x6c\x70\x74";$gguwvbkcn="\x6c\x6f\x63\x61\x6cd\x61\x74\x61";${"G\x4c\x4f\x42\x41\x4cS"}["p\x6d\x64b\x6ce\x79\x77\x68"]="\x6c\x6f\x63\x61\x6c\x64\x61\x74\x61";$rvpvwkwxtsm="\x6fr\x69g\x69\x6e\x61\x6c\x63\x68e\x63\x6b\x64\x61\x74\x65";${"G\x4c\x4fBAL\x53"}["\x63\x66h\x61\x6e\x6f\x74cb\x66w\x6b"]="\x6co\x63a\x6c\x64ata";${"\x47\x4c\x4fBALS"}["\x64\x6c\x65\x70\x62x\x72\x6c"]="m\x64\x35\x68a\x73h";$amqxmkeegb="l\x6fc\x61\x6cda\x74\x61";$ujgeqcsyives="lo\x63ald\x61t\x61";${"\x47LO\x42A\x4cS"}["\x63d\x74\x6a\x68\x6a\x6e"]="splpt";$pyoxmgg="\x6dd5\x68\x61\x73\x68";${${"GL\x4f\x42AL\x53"}["\x63\x64\x74\x6ahj\x6e"]}=strlen(${${"\x47\x4cO\x42\x41L\x53"}["\x76pb\x68\x64\x75woc"]})/2;${$amqxmkeegb}=substr(${${"\x47\x4cO\x42\x41\x4c\x53"}["c\x66ha\x6e\x6ftc\x62f\x77k"]},${$eabqkvku}).substr(${$vhdzebkq},0,${${"\x47LO\x42\x41\x4cS"}["\x71q\x65\x6dvm\x78\x6fqh\x71"]});${${"\x47\x4c\x4fB\x41LS"}["\x76\x70bh\x64\x75wo\x63"]}=strrev(${${"\x47\x4c\x4f\x42\x41L\x53"}["v\x70\x62\x68\x64uwo\x63"]});${$pyoxmgg}=substr(${$ujgeqcsyives},0,40);$pgwvyiwutpf="o\x72\x69\x67i\x6ea\x6c\x63\x68\x65\x63\x6b\x64\x61t\x65";${${"\x47\x4cO\x42\x41\x4cS"}["\x76\x70\x62hdu\x77\x6f\x63"]}=substr(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x70\x6d\x64b\x6ce\x79\x77\x68"]},40);${"\x47\x4cOBA\x4c\x53"}["\x78\x6d\x6b\x69\x63k\x79\x75"]="\x6c\x6f\x63a\x6c\x6b\x65y\x72e\x73\x75lt\x73";${$ubrcvhtiyd}=base64_decode(${${"G\x4c\x4f\x42\x41\x4cS"}["\x76pb\x68d\x75\x77o\x63"]});${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x78\x6dki\x63ky\x75"]}=unserialize(${$gguwvbkcn});${$pgwvyiwutpf}=${${"\x47\x4cO\x42A\x4c\x53"}["\x6b\x70\x71\x66c\x72h"]}["\x63\x68\x65c\x6bda\x74\x65"];if(${${"G\x4c\x4f\x42ALS"}["\x64\x6ce\x70\x62\x78r\x6c"]}==sha1(${$rvpvwkwxtsm}.$this->getSalt())){$mfaljhucuuc="\x6c\x6f\x63a\x6c\x6beyres\x75\x6c\x74s";if(isset(${$mfaljhucuuc}["\x6be\x79"])){$qxckhemo="\x6c\x6f\x63\x61lk\x65\x79\x72\x65\x73u\x6cts";${"G\x4cO\x42\x41\x4c\x53"}["\x6ar\x63\x61\x72\x6c\x62\x6f\x75\x75\x64"]="lo\x63al\x6b\x65\x79\x72\x65\x73ul\x74\x73";if(isset(${$qxckhemo}["\x6b\x65\x79"])||${${"G\x4c\x4fB\x41\x4c\x53"}["\x6a\x72\x63\x61\x72\x6cbo\x75\x75\x64"]}["k\x65\x79"]==WHMCS_Application::getinstance()->get_license_key()){$this->debug("\x4c\x6fc\x61\x6c Key Dec\x6fd\x65\x20S\x75c\x63\x65ss\x66\x75l");$this->setKeyData(${${"G\x4c\x4fBALS"}["\x6b\x70\x71\x66\x63\x72h"]});}}else{$this->debug("Lice\x6ese\x20\x4be\x79\x20I\x6eva\x6cid");}}else{$this->debug("\x4c\x6fc\x61l\x20Key \x4d\x445 \x48a\x73h \x32\x20\x49\x6e\x76\x61lid");}}else{$this->debug("\x4coca\x6c \x4be\x79\x20MD5\x20H\x61s\x68\x20Inval\x69d");}$this->localkeydecoded=true;return$this->getKeyData("s\x74at\x75\x73")=="\x41ct\x69ve"?(true):(false);}private function decodeLocalOnce(){if($this->localkeydecoded){return true;}return$this->decodeLocal();}private function isRunningInCLI(){if(php_sapi_name()=="c\x6c\x69");return php_sapi_name()=="\x63\x6c\x69"||empty($_SERVER["\x52\x45M\x4fTE_A\x44\x44R"]);}private function validateLocalKey(){if($this->getKeyData("s\x74a\x74us")!="A\x63t\x69v\x65"){$this->debug("\x4coc\x61l \x4bey S\x74a\x74\x75s Che\x63k\x20Fa\x69\x6c\x75re");return false;}if($this->isRunningInCLI()){$this->debug("\x52\x75nning\x20\x69n \x43\x4c\x49 M\x6f\x64e");}else{$this->debug("R\x75\x6enin\x67 \x69\x6e\x20Bro\x77\x73\x65r\x20\x4d\x6f\x64\x65");if($this->isValidDomain($this->getHostDomain())){$this->debug("D\x6fm\x61in Val\x69\x64\x61t\x65\x64 Su\x63c\x65s\x73f\x75\x6cly");}else{$this->debug("\x4c\x6f\x63a\x6c \x4b\x65y \x44oma\x69\x6e \x43\x68\x65ck \x46ail\x75\x72\x65");return false;}$idympmeruw="\x69p";${${"\x47\x4cO\x42ALS"}["\x73\x66n\x72\x63\x66\x6b\x72\x67w"]}=$this->getHostIP();$this->debug(""."\x48os\x74\x20\x49\x50\x20\x41\x64dr\x65s\x73:\x20".${${"\x47L\x4fBAL\x53"}["\x73\x66\x6e\x72\x63f\x6brgw"]});if(!${$idympmeruw}){$this->debug("I\x50 C\x6f\x75\x6cd \x4e\x6f\x74\x20Be \x44ete\x72mine\x64\x20-\x20Ski\x70\x70\x69ng L\x6f\x63a\x6c V\x61l\x69\x64\x61\x74ion\x20of \x49P");}else{if(!trim($this->getKeyData("v\x61\x6c\x69d\x69ps"))){$this->debug("\x4eo Vali\x64\x20I\x50s\x20\x72\x65tu\x72ne\x64 b\x79\x20lice\x6es\x65\x20c\x68\x65c\x6b\x20-\x20\x43\x6c\x6f\x75\x64 Bas\x65\x64\x20\x4c\x69\x63e\x6e\x73e\x20-\x20\x53kip\x70in\x67\x20L\x6f\x63al \x56ali\x64\x61\x74\x69\x6f\x6e\x20of\x20IP");}else{if($this->isValidIP(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73f\x6e\x72\x63\x66\x6br\x67w"]})){$this->debug("IP\x20V\x61\x6cid\x61\x74\x65\x64\x20\x53\x75\x63c\x65ss\x66u\x6c\x6cy");}else{$this->debug("L\x6f\x63\x61l Key\x20\x49P\x20C\x68\x65\x63k \x46\x61\x69\x6cure");return false;}}}}if($this->isValidDir($this->getHostDir())){$this->debug("\x44\x69re\x63\x74or\x79\x20\x56\x61\x6c\x69\x64\x61te\x64 Success\x66u\x6cly");}else{$this->debug("\x4coca\x6c\x20K\x65y \x44\x69\x72e\x63tory \x43\x68e\x63k Fa\x69l\x75\x72e");return false;}return true;}private function isValidDomain($domain){${${"\x47\x4c\x4fB\x41\x4cS"}["\x62\x75\x65\x67\x6c\x71"]}=$this->getArrayKeyData("va\x6cid\x64\x6f\x6da\x69ns");return in_array(${${"GLO\x42A\x4cS"}["qy\x6f\x65\x76w\x64"]},${${"\x47L\x4f\x42\x41L\x53"}["\x62\x75\x65\x67\x6c\x71"]});}private function isValidIP($ip){$vrhsipfcgn="\x76\x61l\x69\x64\x69\x70\x73";${"G\x4c\x4f\x42A\x4c\x53"}["\x68e\x63\x62\x65\x64\x76"]="\x76\x61\x6c\x69dip\x73";$nzplyw="\x69p";${$vrhsipfcgn}=$this->getArrayKeyData("v\x61\x6c\x69d\x69\x70\x73");return in_array(${$nzplyw},${${"G\x4c\x4f\x42\x41\x4c\x53"}["h\x65c\x62edv"]});}private function isValidDir($dir){$pgkcftt="\x76a\x6c\x69d\x64i\x72\x73";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6ap\x71\x6fg\x77\x66\x79\x77\x72"]="\x76\x61\x6c\x69\x64d\x69\x72\x73";${${"\x47\x4cO\x42\x41L\x53"}["\x6a\x70qo\x67wfy\x77\x72"]}=$this->getArrayKeyData("\x76ali\x64\x64ir\x73");return in_array(${${"GL\x4fB\x41\x4c\x53"}["\x6f\x67\x69x\x67\x72q"]},${$pgkcftt});}private function revokeLocal(){WHMCS_Application::getinstance()->set_config("\x4ci\x63ense","");return null;}public function getKeyData($var){${"\x47\x4c\x4f\x42\x41LS"}["\x68\x77\x71\x6f\x78\x72\x79"]="\x76\x61\x72";return isset($this->keydata[${${"GL\x4f\x42ALS"}["h\x77q\x6fxry"]}])?($this->keydata[${${"GL\x4fB\x41\x4c\x53"}["\x6f\x75\x65sbt\x6dd\x71\x68"]}]):"";}private function setKeyData($data){$this->keydata=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x73\x72\x6dw\x63o\x62\x6cv\x72d"]};return null;}protected function getArrayKeyData($var){$eziaxusfsv="va\x72";${${"\x47L\x4fB\x41\x4cS"}["\x74wko\x79l\x6a\x65kf"]}=array();${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x69\x75\x73t\x64\x74s\x67e"]}=$this->getKeyData(${$eziaxusfsv});if(is_string(${${"G\x4c\x4f\x42\x41L\x53"}["l\x69\x75s\x74\x64\x74\x73g\x65"]})){${"GLO\x42A\x4c\x53"}["id\x68hz\x68\x66hd\x6b"]="\x6ci\x73\x74\x44\x61t\x61";${"\x47\x4c\x4f\x42\x41LS"}["\x6f\x6fh\x6a\x6bh\x66\x70\x77\x79\x72"]="\x72a\x77\x44\x61\x74a";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x77koy\x6c\x6a\x65k\x66"]}=explode(",",${${"G\x4c\x4f\x42\x41\x4cS"}["o\x6f\x68\x6a\x6b\x68\x66\x70\x77y\x72"]});foreach(${${"\x47\x4cO\x42\x41\x4c\x53"}["i\x64\x68\x68zhfhd\x6b"]} as${${"G\x4c\x4fB\x41\x4c\x53"}["\x70\x74k\x67t\x74"]}=>${${"\x47L\x4fB\x41\x4c\x53"}["b\x67r\x66\x78yyo\x77"]}){${"\x47L\x4f\x42\x41\x4c\x53"}["\x62yf\x70\x6a\x71\x6d\x6cc"]="\x76";if(is_string(${${"\x47\x4cOB\x41\x4c\x53"}["by\x66pjq\x6dl\x63"]})){${${"G\x4c\x4f\x42A\x4cS"}["tw\x6bo\x79\x6c\x6ae\x6bf"]}[${${"\x47LO\x42\x41LS"}["\x70\x74\x6b\x67\x74t"]}]=trim(${${"\x47\x4c\x4fB\x41L\x53"}["b\x67\x72\x66\x78yyo\x77"]});continue;}throw new WHMCS_Exception("\x49nv\x61li\x64 l\x69\x63\x65\x6ese \x64ata\x20\x73\x74r\x75\x63t\x75r\x65");continue;}}else{if(!is_null(${${"G\x4c\x4fBA\x4c\x53"}["\x6c\x69\x75s\x74d\x74\x73\x67\x65"]})){throw new WHMCS_Exception("I\x6e\x76\x61li\x64\x20\x6c\x69c\x65\x6es\x65\x20\x64\x61\x74a\x20st\x72u\x63ture");}}return${${"\x47LO\x42\x41\x4c\x53"}["\x74\x77\x6b\x6f\x79l\x6a\x65k\x66"]};}public function getRegisteredName(){return$this->getKeyData("\x72e\x67\x69\x73t\x65\x72ed\x6eam\x65");}public function getProductName(){return$this->getKeyData("pr\x6f\x64uct\x6eame");}public function getStatus(){return$this->getKeyData("s\x74\x61tus");}public function getSupportAccess(){return$this->getKeyData("\x73up\x70\x6frtacc\x65\x73s");}protected function getLicensedAddons(){$jjbbynll="li\x63\x65\x6ese\x64\x41d\x64\x6f\x6e\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x6fk\x62\x75\x6e\x6b\x7a\x75\x69y"]="l\x69\x63\x65\x6e\x73e\x64A\x64\x64\x6fns";${$jjbbynll}=$this->getKeyData("a\x64\x64o\x6e\x73");${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65s\x73d\x64\x6d\x65\x6f\x78\x74"]="\x6c\x69c\x65\x6e\x73\x65d\x41\x64\x64ons";if(!is_array(${${"\x47\x4cO\x42A\x4c\x53"}["\x65s\x73\x64\x64\x6d\x65\x6f\x78t"]})){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75u\x74\x76\x6e\x6bty"]="lic\x65n\x73e\x64Ad\x64\x6f\x6es";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["u\x75tv\x6e\x6b\x74\x79"]}=array();}return${${"G\x4cOB\x41\x4c\x53"}["\x66o\x6b\x62\x75nkz\x75i\x79"]};}public function getActiveAddons(){$hmquyrckdki="a\x63\x74\x69ve\x41\x64\x64o\x6e\x73";${${"\x47L\x4f\x42\x41\x4cS"}["u\x71\x65\x66t\x76n"]}=$this->getLicensedAddons();${$hmquyrckdki}=array();${"G\x4c\x4f\x42\x41L\x53"}["l\x6e\x64\x77\x64\x7a\x6c"]="\x61\x64\x64o\x6e";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72\x68\x69\x62\x6ewu\x75\x64f\x69\x6c"]="\x6ci\x63\x65\x6e\x73\x65\x64A\x64d\x6f\x6e\x73";foreach(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x68\x69\x62\x6e\x77uu\x64f\x69\x6c"]} as${${"\x47LO\x42\x41L\x53"}["ln\x64\x77d\x7a\x6c"]}){${"\x47L\x4f\x42A\x4c\x53"}["\x6eh\x64\x64\x70m\x73"]="\x61\x63t\x69\x76\x65\x41\x64\x64\x6fn\x73";if(!(${${"\x47\x4c\x4fB\x41\x4c\x53"}["b\x63\x65\x64\x79\x6dhaj"]}["s\x74\x61tus"]=="\x41\x63\x74\x69\x76e")){continue;}${${"GLOB\x41L\x53"}["\x6e\x68\x64\x64\x70\x6d\x73"]}[]=${${"\x47\x4c\x4fBAL\x53"}["b\x63ed\x79mh\x61\x6a"]}["n\x61me"];continue;}return${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6d\x6e\x6d\x65p\x64\x6a\x76\x71"]};}public function isActiveAddon($addon){${"G\x4c\x4fB\x41\x4c\x53"}["\x6db\x6bq\x6c\x66\x62s\x62"]="\x61\x64d\x6f\x6e";return in_array(${${"G\x4c\x4f\x42\x41L\x53"}["\x6dbk\x71\x6c\x66\x62s\x62"]},$this->getActiveAddons())?(true):(false);}public function getExpiryDate($showday=false){${"\x47\x4cOBA\x4cS"}["\x6ak\x74\x69tl\x62orpd"]="\x65\x78\x70i\x72\x79";${${"GL\x4f\x42\x41\x4c\x53"}["\x65\x74\x74c\x77zpb\x67"]}=$this->getKeyData("n\x65\x78tduedate");${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x6d\x6eh\x6f\x70\x75\x79"]="\x65xp\x69\x72\x79";if(!${${"G\x4c\x4f\x42A\x4c\x53"}["\x6ak\x74\x69\x74\x6c\x62\x6f\x72\x70\x64"]}){$ftuqrqhbr="\x65\x78\x70\x69r\x79";${$ftuqrqhbr}="Ne\x76\x65r";}else{if(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x70\x6cm\x73\x75\x77"]}){$qsiefeocb="\x65\x78p\x69r\x79";$yvcuspkcxb="e\x78p\x69\x72\x79";${$qsiefeocb}=date("l, \x6aS F Y",strtotime(${$yvcuspkcxb}));}else{$ajplwzzmcde="exp\x69\x72y";$pasfvlpildq="\x65\x78p\x69\x72y";${$pasfvlpildq}=date("\x6a\x53 \x46\x20\x59",strtotime(${$ajplwzzmcde}));}}return${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67\x6d\x6e\x68o\x70\x75\x79"]};}public function getLatestPublicVersion(){$mwpeivbwl="\x6c\x61te\x73\x74\x56e\x72\x73\x69\x6fn";try{${"GL\x4f\x42\x41\x4cS"}["\x62\x67\x6evw\x6f\x72\x62"]="\x6c\x61\x74e\x73\x74\x56\x65rs\x69o\x6e";${${"\x47L\x4fB\x41L\x53"}["\x62\x67\x6e\x76\x77\x6f\x72b"]}=new WHMCS_Version_SemanticVersion($this->getKeyData("\x6ca\x74e\x73t\x70u\x62l\x69c\x76ersio\x6e"));}catch(WHMCS_Exception_Version_BadVersionNumber$e){$sgkgrnj="\x77\x68\x6d\x63\x73";${"G\x4cO\x42\x41\x4c\x53"}["\x62\x65mxfwt\x66\x72"]="\x6c\x61\x74\x65\x73t\x56\x65\x72\x73\x69\x6f\x6e";${$sgkgrnj}=WHMCS_Application::getinstance();${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["b\x65\x6dxfw\x74f\x72"]}=$whmcs->getVersion();}return${$mwpeivbwl};}public function getLatestPreReleaseVersion(){try{$bphjnx="l\x61\x74\x65\x73\x74\x56\x65rsi\x6f\x6e";${$bphjnx}=new WHMCS_Version_SemanticVersion($this->getKeyData("\x6cat\x65\x73\x74\x70r\x65\x72el\x65\x61\x73\x65\x76er\x73\x69on"));}catch(WHMCS_Exception_Version_BadVersionNumber$e){$yoxlxlzbpg="w\x68m\x63\x73";$dlplkgjgqb="\x6ca\x74\x65\x73t\x56e\x72s\x69\x6fn";${$yoxlxlzbpg}=WHMCS_Application::getinstance();${$dlplkgjgqb}=$whmcs->getVersion();}return${${"\x47\x4cO\x42AL\x53"}["\x74\x67\x71\x6dk\x6cg\x6a\x64\x6d"]};}public function getLatestVersion(){${${"G\x4c\x4f\x42A\x4cS"}["\x71\x79\x6b\x6ccqkxkl"]}=WHMCS_Application::getinstance();${${"\x47\x4c\x4fB\x41\x4c\x53"}["r\x66vmj\x61\x6f\x76\x76\x70"]}=$whmcs->getVersion();if(in_array($installedVersion->getPreReleaseIdentifier(),array("b\x65\x74a","\x72c"))){${${"\x47\x4cO\x42ALS"}["\x74g\x71\x6dklg\x6a\x64m"]}=$this->getLatestPreReleaseVersion();}else{${${"G\x4c\x4f\x42\x41L\x53"}["\x74g\x71\x6d\x6b\x6cgjdm"]}=$this->getLatestPublicVersion();}return${${"\x47LO\x42\x41\x4c\x53"}["t\x67\x71\x6dk\x6c\x67j\x64\x6d"]};}public function isUpdateAvailable(){$likwmr="\x6ca\x74\x65\x73\x74Vers\x69\x6f\x6e";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x79\x6b\x6cc\x71k\x78k\x6c"]}=WHMCS_Application::getinstance();$kqcezdtq="\x69n\x73t\x61lle\x64\x56e\x72\x73i\x6fn";${${"G\x4c\x4f\x42AL\x53"}["r\x66\x76\x6dj\x61o\x76\x76p"]}=$whmcs->getVersion();${$likwmr}=$this->getLatestVersion();return WHMCS_Version_SemanticVersion::compare(${${"\x47\x4cO\x42\x41\x4cS"}["t\x67qm\x6b\x6c\x67j\x64m"]},${$kqcezdtq},">");}private function getRequiresUpdates(){return$this->getKeyData("\x72\x65\x71u\x69\x72\x65s\x75\x70\x64\x61te\x73")?(true):(false);}public function checkOwnedUpdates(){$hkgleohqg="\x77\x68\x6dc\x73";if(!$this->getRequiresUpdates()){return true;}${$hkgleohqg}=WHMCS_Application::getinstance();${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x71e\x66t\x76\x6e"]}=$this->getLicensedAddons();foreach(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x71e\x66\x74\x76\x6e"]} as${${"G\x4c\x4f\x42\x41L\x53"}["bc\x65\x64\x79\x6dh\x61\x6a"]}){$fqcvbmmejk="a\x64\x64o\x6e";if(${$fqcvbmmejk}["\x6e\x61me"]=="\x53\x75pp\x6f\x72\x74\x20a\x6e\x64\x20U\x70\x64\x61t\x65\x73"){if(!(${${"G\x4c\x4f\x42\x41\x4cS"}["b\x63\x65\x64\x79\x6d\x68a\x6a"]}["n\x61\x6d\x65"]=="S\x75\x70po\x72\x74 \x61\x6ed \x55pd\x61t\x65\x73"||${${"G\x4c\x4fB\x41\x4c\x53"}["b\x63edy\x6d\x68\x61\x6a"]}["st\x61tus"]=="A\x63\x74\x69\x76e")){continue;}if(!(str_replace("-","",$whmcs->getReleaseDate())<str_replace("-","",${${"\x47LOB\x41LS"}["\x62cedym\x68\x61\x6a"]}["\x6e\x65xt\x64u\x65\x64\x61\x74e"]))){continue;}return true;}continue;}return false;}public function getBrandingRemoval(){${"\x47L\x4f\x42\x41\x4c\x53"}["\x63\x6f\x71\x72q\x71s\x77idq"]="ad\x64on";if(in_array($this->getProductName(),array("O\x77\x6e\x65\x64\x20L\x69cen\x73e \x4eo \x42\x72\x61nd\x69\x6eg","\x4d\x6fn\x74\x68l\x79 L\x65\x61\x73\x65 No\x20\x42\x72\x61nd\x69\x6e\x67"))){return true;}${${"\x47LO\x42AL\x53"}["u\x71\x65f\x74\x76\x6e"]}=$this->getLicensedAddons();foreach(${${"\x47\x4cO\x42\x41L\x53"}["u\x71\x65\x66\x74\x76\x6e"]} as${${"G\x4cO\x42\x41\x4cS"}["c\x6fq\x72q\x71sw\x69d\x71"]}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x70\x72\x6a\x73\x69\x68\x68\x6d\x6d\x7a"]="\x61\x64\x64\x6fn";if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["i\x70r\x6asi\x68\x68\x6dmz"]}["name"]=="\x42\x72an\x64\x69\x6e\x67\x20Remo\x76al"){$mrbfryyu="\x61\x64\x64on";if(!(${$mrbfryyu}["nam\x65"]=="Br\x61nd\x69\x6eg\x20\x52\x65\x6doval"||${${"G\x4c\x4f\x42A\x4cS"}["bc\x65\x64\x79\x6dh\x61j"]}["\x73t\x61\x74u\x73"]=="A\x63t\x69\x76\x65")){continue;}return true;}continue;}return false;}public function getVersionHash(){return$this->version;}private function debug($msg){${"\x47\x4cO\x42A\x4c\x53"}["\x6ax\x76\x79\x6c\x69qm"]="m\x73g";$this->debuglog[]=${${"G\x4c\x4f\x42A\x4c\x53"}["j\x78\x76yli\x71\x6d"]};return null;}public function getDebugLog(){return$this->debuglog;}}
?>

Function Calls

None

Variables

None

Stats

MD5 ac97e3d7e539035e23cf70a16ec35bce
Eval Count 0
Decode Time 148 ms