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

Signing you up...

Thank you for signing up!

PHP Decode

<? eval(gzuncompress(base64_decode('eF6Nk11PgzAUhv+KFybdEmPYQB0xXODFaswyM81gwxhCSy+cRclMiP..

Decoded Output download


function _1610078356($i){$a=Array('QUVTLTI1Ni1DQkM=','UFJPVl9BUFBfU0VSX05VTUJfMjAyM19HRVRQT1NU','RE9DVU1FTlRfUk9PVA==','L3By','b3Y=','YXA=','cF8=','ZGU=','Zi5waHA=','SFRUUF9IT1NU','bGljX2lk','ZGlt','ZXhwX2RhdGU=','bm93','RVJST1IuPGJyPldyb25nIGxpY2VuY2U=','YXBpX3Rva2Vu','YXBpX3Rva2Vu','UE9TVA==','L2FwaS92MS9jYWJpbmV0L2F1dGg=','QXV0aG9yaXphdGlvbjog','VXNlci1BZ2VudDogTW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NjIuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC82Mi4w','TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NjIuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC82Mi4w','UE9TVA==','ZGF0YQ==','dG9rZW4=','YXBpX3Rva2Vu','ZGF0YQ==','dG9rZW4=','YXBpX2xvZ2lu','YXBpX3Bhcw==','RE9DVU1FTlRfUk9PVA==','L2FwcF9zZXR0aW5ncy5waHA=');return base64_decode($a[$i]);}function getDecryptedData($config_lic,$encryptionKey){include $config_lic;$decryptedData=openssl_decrypt($encryptedData,_1610078356(0),$encryptionKey,round(0),$GLOBALS['_843384714_'][0]($encryptionKey,round(0),round(0+8+8)));return $GLOBALS['_843384714_'][1]($decryptedData);}$encryptionKey=_1610078356(1);$config_lic=$_SERVER[_1610078356(2)] ._1610078356(3) ._1610078356(4) ._1610078356(5) ._1610078356(6) ._1610078356(7) ._1610078356(8);$arDecrypted=getDecryptedData($config_lic,$encryptionKey);$domain=$_SERVER[_1610078356(9)];if(empty($arDecrypted[_1610078356(10)])|| $domain != $arDecrypted[_1610078356(11)]|| $GLOBALS['_843384714_'][2]($arDecrypted[_1610078356(12)])<$GLOBALS['_843384714_'][3](_1610078356(13))){print _1610078356(14);exit;}class ProvAPP{private $host;private $token;public function __construct($host){$this->host=$host;$GLOBALS['_843384714_'][4]();if(isset($_SESSION[_1610078356(15)])){$this->token=$_SESSION[_1610078356(16)];}}public function getUser(){return $this->sendRequest('GET','/api/v1/cabinet/user');}public function getConfig(){return $this->sendRequest('GET','/api/v1/cabinet/config');}public function getPackets(){return $this->sendRequest('GET','/api/v1/cabinet/packets');}public function getPacketByID($id){return $this->sendRequest('GET','/api/v1/cabinet/packets/' .$id);}public function getPayments($params){return $this->sendRequest('POST','/api/v1/cabinet/report/payments',$params);}public function getSubscriptions(){return $this->sendRequest('GET','/api/v1/cabinet/user/subscriptions/other');}public function getSessions($params){return $this->sendRequest('POST','/api/v1/cabinet/report/sessions',$params);}public function getCreditInfo(){return $this->sendRequest('GET','/api/v1/cabinet/user/services/credit');}public function getServices(){return $this->sendRequest('GET','/api/v1/cabinet/user/services/');}public function ChangePacket($params){return $this->sendRequest('POST','/api/v1/cabinet/user/packet',$params);}public function ChangeUser($params){return $this->sendRequest('POST','/api/v1/cabinet/user',$params);}public function SendMobile($params){return $this->sendRequest('POST','/api/v1/cabinet/auth/phone',$params);}public function AddTicket($params){return $this->sendRequest('POST','/api/v1/cabinet/tickets',$params);}public function GetAllTickets(){return $this->sendRequest('GET','/api/v1/cabinet/tickets');}public function getTicketByID($id){return $this->sendRequest('GET','/api/v1/cabinet/tickets/' .$id);}public function addMsgToTicketByID($id,$params){return $this->sendRequest('POST','/api/v1/cabinet/tickets/' .$id,$params);}public function liqpay_form($params){return $this->sendRequest('POST','/api/v1/cabinet/payments/liqpay',$params);}public function auth($login,$pass){$params=['login'=> $login,'password'=> $pass,];return $this->sendRequest(_1610078356(17),_1610078356(18),$params);}public function getToken(){return $this->token;}public function setToken(){return $this->token;}private function sendRequest($method,$resource,$dataArray=array()){$url=$this->host .$resource;$headers=[];if(!empty($this->token)){$headers[]=_1610078356(19) .$this->token;}$headers[]=_1610078356(20);$ch=$GLOBALS['_843384714_'][5]();$GLOBALS['_843384714_'][6]($ch,CURLOPT_VERBOSE,FALSE);$GLOBALS['_843384714_'][7]($ch,CURLOPT_URL,$url);$GLOBALS['_843384714_'][8]($ch,CURLOPT_USERAGENT,_1610078356(21));$GLOBALS['_843384714_'][9]($ch,CURLOPT_CONNECTTIMEOUT,round(0+0.6+0.6+0.6+0.6+0.6));$GLOBALS['_843384714_'][10]($ch,CURLOPT_SSL_VERIFYPEER,false);$GLOBALS['_843384714_'][11]($ch,CURLOPT_SSL_VERIFYHOST,false);$GLOBALS['_843384714_'][12]($ch,CURLOPT_HTTPHEADER,$headers);$GLOBALS['_843384714_'][13]($ch,CURLOPT_RETURNTRANSFER,TRUE);$GLOBALS['_843384714_'][14]($ch,CURLINFO_HEADER_OUT,TRUE);$GLOBALS['_843384714_'][15]($ch,CURLOPT_CUSTOMREQUEST,$method);if($method == _1610078356(22)){$GLOBALS['_843384714_'][16]($ch,CURLOPT_POST,TRUE);$GLOBALS['_843384714_'][17]($ch,CURLOPT_POSTFIELDS,$dataArray);}$http_code=$GLOBALS['_843384714_'][18]($ch);$result=$GLOBALS['_843384714_'][19]($ch);$GLOBALS['_843384714_'][20]($ch);$response=$GLOBALS['_843384714_'][21]($result,true);if(isset($response[_1610078356(23)][_1610078356(24)])){$_SESSION[_1610078356(25)]=$response[_1610078356(26)][_1610078356(27)];}return $response;}}$GLOBALS['_843384714_'][22]();$userLogin=$_SESSION[_1610078356(28)];$userPass=$_SESSION[_1610078356(29)];$app_settings=$_SERVER[_1610078356(30)] ._1610078356(31);include $app_settings;

Did this file decode correctly?

Original Code

<? eval(gzuncompress(base64_decode('eF6Nk11PgzAUhv+KFybdEmPYQB0xXODFaswyM81gwxhCSy+cRclMiPDr5RwKOKHgzXtK85zPcs7p6vHOXT2/kHBhmebCuplZIXl13OMxyics+hLXVhgL/hmLCeGmR84uyRsIN5/A5GR68YeK4d6/Ai1Agh3oQ7rHe5DvVCRbp+up4uYxtQ04R/5MdilFAGBEGK+XmmOtBQedy4xJONhFTMEuc6zSdTRV7E0vZwjaKdpEGl0SqaVdBDucRYb134NutHFBG69MT7ck1o29VB79NHZb11yT8DVEj5JYM0jjUU0xADOSo+0UTvram3l3Yw/SKq6icfYgY171JNsX03qpHk47H3w1lQc9QP73Hk11Ff3xq6+UJUGm/fOkAIp6By1xYLTMvun7zyPMs8YZMGm/Y0Z/nQW0bzfLfcJ585NdKvcId2h6+wNaWy3r'))); ?><? eval(gzuncompress(base64_decode('eF69UtuO2jAQ/ZV9QAKkPsQOsFgrHpINCaEkIk7sXKpq5VwICSYgIIG06r/XYS+q1MtjH6zjmTlzzmjsTV0ll+JQPbyACZCkx6k8ngx6xfB7j82U04m1g75DqLfyTGAXQHN21qz/qU/05ZpypBJd3RCJuoE0ph5ZbqxSaS2AFphixwM2EVQ8RxolQPc43pAdWlNl1imsZLUVEMthF4WB0kGiTzuIDHKHYnxli3vB1TEhOjLfNGODlwHkuzuXXzoIttcA4m362hrvkdx506XrAbNeG8t2zdM2huPKNG7HENI6hOTVWT0GMm6YSP0ekjny3geG+pW5CFouKkN/eYz3VBI5kBp5V3YCKjEDtSw4iiF4E5eHXKRpYPOkAGok9FLtkHs+mjD/dg7dKViVSv5ZT4USblLZyj3u5Jan1JZ2zinktV06j+Yih7aIkyqc2KVZW8+7HENaMjhtxLJvltadeY73vI38qMmep9AqRldh/R+tfllTZOhS6NyvqYFOkT/6w5b/QYK3JhIDffSo2+R6J/7tH4lnSXT0LQqwxPxxlbRvn2b4dMou9al6iNk5m4xe0iw5pNmgx770iq/Dpx8/AYzW52E='))); ?><? eval(gzuncompress(base64_decode('eF6lWP9vqkgQ/1d4CYmQx1VRqzYcL7GWtuaseoKXXBpCKKxKHgXe7tI709f//Wb50gfWpT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xoTq8XpqHcAtTgWw3rVvBHYXHgG4wODKAPHt8Zc6uW+64q8xmu6gyTxXxuTCxr+mAs1tb7ANK5GBz+NHCqnTqpac5YBKa3fy8NY6Vs3JCgBmuVZ30Px+9T627d+t6ylvfG+AZ0yzw3GPfqxivDWq/m1mo8N2+BwFqtG5Kn9n8ZT+e3CyeXdVgcP7G8PEjC2rQWDyvjz7UBGy7OS9Z4F58FXa9NBt0uK3ge+0EtskvsM4eGH01up8bsxqycVTZd7ihNYKDwEfeUqHmJghYc3zSkfOBVCeTNV50KUwKNGF+0y0oo11Ng1EHVoaU0rs+5PdmuP+jnU8zRwaULI47OIRocEg3ZkFPekqUNjD1c37vZvcJamRl7C3CGp+4IeDPUEt4LPBAbgkU3SRzYOg2iLTk+K/c6H+Z8FWJW/mekSqD9B28ckyA='))); ?>

Function Calls

gzuncompress 3
base64_decode 49

Variables

$_843384714_ [{'key': 0, 'value': 'substr'}, {'key': 1, 'value': 'unserialize'}, {'key': 2, 'value': 'strtotime'}, {'key': 3, 'value': 'strtotime'}, {'key': 4, 'value': 'session_start'}, {'key': 5, 'value': 'curl_init'}, {'key': 6, 'value': 'curl_setopt'}, {'key': 7, 'value': 'curl_setopt'}, {'key': 8, 'value': 'curl_setopt'}, {'key': 9, 'value': 'curl_setopt'}, {'key': 10, 'value': 'curl_setopt'}, {'key': 11, 'value': 'curl_setopt'}, {'key': 12, 'value': 'curl_setopt'}, {'key': 13, 'value': 'curl_setopt'}, {'key': 14, 'value': 'curl_setopt'}, {'key': 15, 'value': 'curl_setopt'}, {'key': 16, 'value': 'curl_setopt'}, {'key': 17, 'value': 'curl_setopt'}, {'key': 18, 'value': 'curl_getinfo'}, {'key': 19, 'value': 'curl_exec'}, {'key': 20, 'value': 'curl_close'}, {'key': 21, 'value': 'json_decode'}, {'key': 22, 'value': 'session_start'}]

Stats

MD5 776219e8acc62e2251e11b01f4784dc5
Eval Count 3
Decode Time 159 ms