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 /* Smart PRO 2019 - Americanas 7.0 Unicky Vers?o 7.0 Compilada em : 24/11/2019 - N..
Decoded Output download
<?php /*
Smart PRO 2019 - Americanas 7.0 Unicky
Vers?o 7.0 Compilada em : 24/11/2019 - N?o repasse seu zip a ningu?m
cada zip ? ligado ao serial do assinante ficando assim sobre sua responsabilidade quaisquer dados gerados por edi??es no codigo fonte ou atividades incomuns registradas
Smart Pro agradece a preferencia
*/
${"GLOBALS"}["sywvque"]="errline";${"GLOBALS"}["xtxmdfvcqf"]="errfile";${"GLOBALS"}["exxyvpqmgvl"]="errno";${"GLOBALS"}["tzgoljfstg"]="error";${"GLOBALS"}["orjlplffhipw"]="string";${"GLOBALS"}["agorirp"]="response";${"GLOBALS"}["luovkpdaduk"]="size";${"GLOBALS"}["hgrstqin"]="username";${"GLOBALS"}["qrvdyaitsok"]="pop3_response";${"GLOBALS"}["zffuenj"]="errstr";${"GLOBALS"}["vturhdloi"]="port";${"GLOBALS"}["xlvxedpd"]="login_result";${"GLOBALS"}["xgyjecvg"]="result";${"GLOBALS"}["dbvwykkq"]="debug_level";${"GLOBALS"}["hbqalxbrxz"]="password";class POP3{public$Version='5.2.16';public$POP3_PORT=110;public$POP3_TIMEOUT=30;public$CRLF="
";public$do_debug=0;public$host;public$port;public$tval;public$username;public$password;protected$pop_conn;protected$connected=false;protected$errors=array();const CRLF="
";public static function popBeforeSmtp($host,$port=false,$timeout=false,$username='',$password='',$debug_level=0){$ekwwhuetmlhx="username";${"GLOBALS"}["ftlulfgtmaj"]="port";$zvjomge="timeout";${"GLOBALS"}["nnwmvoqh"]="pop";${${"GLOBALS"}["nnwmvoqh"]}=new POP3;return$pop->authorise($host,${${"GLOBALS"}["ftlulfgtmaj"]},${$zvjomge},${$ekwwhuetmlhx},${${"GLOBALS"}["hbqalxbrxz"]},${${"GLOBALS"}["dbvwykkq"]});}public function authorise($host,$port=false,$timeout=false,$username='',$password='',$debug_level=0){${"GLOBALS"}["stloruzbtb"]="timeout";$khcovcw="port";$this->host=$host;$sxqhxsatrgb="debug_level";if(false===${$khcovcw}){$this->port=$this->POP3_PORT;}else{$vwjvnqlbek="port";$this->port=(integer)${$vwjvnqlbek};}${"GLOBALS"}["qulnoggsb"]="username";${"GLOBALS"}["nmlpholh"]="password";${"GLOBALS"}["khemarht"]="result";if(false===${${"GLOBALS"}["stloruzbtb"]}){$this->tval=$this->POP3_TIMEOUT;}else{$lppovh="timeout";$this->tval=(integer)${$lppovh};}$this->do_debug=${$sxqhxsatrgb};$this->username=${${"GLOBALS"}["qulnoggsb"]};$this->password=${${"GLOBALS"}["nmlpholh"]};$this->errors=array();${${"GLOBALS"}["xgyjecvg"]}=$this->connect($this->host,$this->port,$this->tval);if(${${"GLOBALS"}["khemarht"]}){${"GLOBALS"}["klgqsbkmjb"]="login_result";${${"GLOBALS"}["xlvxedpd"]}=$this->login($this->username,$this->password);if(${${"GLOBALS"}["klgqsbkmjb"]}){$this->disconnect();return true;}}$this->disconnect();return false;}public function connect($host,$port=false,$tval=30){${"GLOBALS"}["abfjpdiy"]="errno";if($this->connected){return true;}$mxgroywmwof="port";set_error_handler(array($this,"catchWarning"));$cguldsm="errstr";if(false===${$mxgroywmwof}){$oprcuwkh="port";${$oprcuwkh}=$this->POP3_PORT;}${"GLOBALS"}["oqwoqyhcr"]="tval";$this->pop_conn=fsockopen($host,${${"GLOBALS"}["vturhdloi"]},${${"GLOBALS"}["abfjpdiy"]},${$cguldsm},${${"GLOBALS"}["oqwoqyhcr"]});restore_error_handler();if(false===$this->pop_conn){$sgfhhdbbtyx="errno";$this->setError(array("error"=>"Failed to connect to server $host on port $port","errno"=>${$sgfhhdbbtyx},"errstr"=>${${"GLOBALS"}["zffuenj"]}));return false;}${"GLOBALS"}["ldktoro"]="tval";stream_set_timeout($this->pop_conn,${${"GLOBALS"}["ldktoro"]},0);${${"GLOBALS"}["qrvdyaitsok"]}=$this->getResponse();if($this->checkResponse(${${"GLOBALS"}["qrvdyaitsok"]})){$this->connected=true;return true;}return false;}public function login($username='',$password=''){if(!$this->connected){$this->setError("Not connected to POP3 server");}$vqeruuoink="password";if(empty(${${"GLOBALS"}["hgrstqin"]})){${${"GLOBALS"}["hgrstqin"]}=$this->username;}if(empty(${$vqeruuoink})){${${"GLOBALS"}["hbqalxbrxz"]}=$this->password;}$this->sendString("USER $username".self::CRLF);${${"GLOBALS"}["qrvdyaitsok"]}=$this->getResponse();if($this->checkResponse(${${"GLOBALS"}["qrvdyaitsok"]})){${"GLOBALS"}["xfuprfrqtv"]="pop3_response";$this->sendString("PASS $password".self::CRLF);${${"GLOBALS"}["xfuprfrqtv"]}=$this->getResponse();if($this->checkResponse(${${"GLOBALS"}["qrvdyaitsok"]})){return true;}}return false;}public function disconnect(){$this->sendString("QUIT");try{@fclose($this->pop_conn);}catch(Exception$e){};}protected function getResponse($size=128){$egzmyozthbfr="response";${$egzmyozthbfr}=fgets($this->pop_conn,${${"GLOBALS"}["luovkpdaduk"]});if($this->do_debug>=1){echo"Server -> Client: $response";}return${${"GLOBALS"}["agorirp"]};}protected function sendString($string){if($this->pop_conn){if($this->do_debug>=2){echo"Client -> Server: $string";}return fwrite($this->pop_conn,${${"GLOBALS"}["orjlplffhipw"]},strlen(${${"GLOBALS"}["orjlplffhipw"]}));}return 0;}protected function checkResponse($string){if(substr(${${"GLOBALS"}["orjlplffhipw"]},0,3)!=="+OK"){$this->setError(array("error"=>"Server reported an error: $string","errno"=>0,"errstr"=>""));return false;}else{return true;}}protected function setError($error){$rxxzgbkml="error";$this->errors[]=${$rxxzgbkml};if($this->do_debug>=1){echo"<pre>";foreach($this->errors as${${"GLOBALS"}["tzgoljfstg"]}){print_r(${${"GLOBALS"}["tzgoljfstg"]});}echo"</pre>";}}public function getErrors(){return$this->errors;}protected function catchWarning($errno,$errstr,$errfile,$errline){$ihoffh="errstr";$this->setError(array("error"=>"Connecting to the POP3 server raised a PHP warning: ","errno"=>${${"GLOBALS"}["exxyvpqmgvl"]},"errstr"=>${$ihoffh},"errfile"=>${${"GLOBALS"}["xtxmdfvcqf"]},"errline"=>${${"GLOBALS"}["sywvque"]}));}}
?>
Did this file decode correctly?
Original Code
<?php /*
Smart PRO 2019 - Americanas 7.0 Unicky
Vers?o 7.0 Compilada em : 24/11/2019 - N?o repasse seu zip a ningu?m
cada zip ? ligado ao serial do assinante ficando assim sobre sua responsabilidade quaisquer dados gerados por edi??es no codigo fonte ou atividades incomuns registradas
Smart Pro agradece a preferencia
*/
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x79\x77\x76\x71u\x65"]="er\x72\x6ci\x6e\x65";${"GLO\x42\x41L\x53"}["\x78\x74x\x6dd\x66vc\x71f"]="e\x72\x72\x66\x69\x6c\x65";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65\x78\x78\x79\x76pqm\x67\x76\x6c"]="\x65\x72\x72\x6eo";${"GL\x4f\x42A\x4c\x53"}["t\x7a\x67\x6f\x6c\x6a\x66\x73tg"]="\x65\x72\x72\x6fr";${"\x47\x4c\x4fB\x41\x4cS"}["orj\x6cp\x6c\x66\x66\x68\x69\x70\x77"]="\x73t\x72\x69\x6eg";${"\x47\x4c\x4f\x42AL\x53"}["\x61\x67\x6fri\x72\x70"]="\x72e\x73\x70\x6f\x6e\x73\x65";${"\x47LO\x42\x41\x4cS"}["l\x75o\x76kp\x64a\x64u\x6b"]="si\x7ae";${"G\x4cO\x42\x41\x4cS"}["\x68g\x72\x73\x74\x71\x69\x6e"]="\x75\x73\x65rn\x61\x6de";${"\x47L\x4f\x42\x41\x4c\x53"}["\x71\x72\x76d\x79a\x69\x74\x73\x6f\x6b"]="\x70\x6f\x70\x33\x5f\x72\x65\x73\x70\x6f\x6e\x73\x65";${"\x47LOB\x41L\x53"}["zf\x66\x75e\x6e\x6a"]="\x65rrstr";${"\x47\x4c\x4f\x42\x41LS"}["\x76\x74u\x72\x68\x64lo\x69"]="po\x72\x74";${"\x47\x4c\x4f\x42AL\x53"}["\x78\x6cv\x78\x65d\x70\x64"]="\x6c\x6fgin\x5fre\x73\x75lt";${"\x47\x4c\x4fBA\x4c\x53"}["\x78\x67y\x6a\x65c\x76\x67"]="\x72e\x73u\x6ct";${"\x47\x4cO\x42\x41\x4c\x53"}["\x64\x62v\x77yk\x6b\x71"]="\x64\x65b\x75g\x5f\x6c\x65\x76\x65l";${"\x47\x4c\x4f\x42\x41L\x53"}["\x68b\x71a\x6c\x78\x62\x72\x78\x7a"]="p\x61\x73swo\x72d";class POP3{public$Version='5.2.16';public$POP3_PORT=110;public$POP3_TIMEOUT=30;public$CRLF="\r\n";public$do_debug=0;public$host;public$port;public$tval;public$username;public$password;protected$pop_conn;protected$connected=false;protected$errors=array();const CRLF="\r\n";public static function popBeforeSmtp($host,$port=false,$timeout=false,$username='',$password='',$debug_level=0){$ekwwhuetmlhx="u\x73\x65\x72\x6e\x61\x6d\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x74\x6c\x75\x6cf\x67\x74\x6d\x61\x6a"]="\x70or\x74";$zvjomge="t\x69\x6d\x65\x6f\x75\x74";${"\x47L\x4fB\x41\x4c\x53"}["\x6e\x6ew\x6dvoqh"]="\x70o\x70";${${"\x47\x4c\x4f\x42\x41L\x53"}["n\x6e\x77\x6d\x76\x6f\x71\x68"]}=new POP3;return$pop->authorise($host,${${"G\x4cO\x42\x41\x4c\x53"}["f\x74lul\x66\x67\x74\x6daj"]},${$zvjomge},${$ekwwhuetmlhx},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x68\x62\x71\x61\x6c\x78b\x72\x78\x7a"]},${${"GL\x4fB\x41\x4cS"}["\x64\x62vw\x79kk\x71"]});}public function authorise($host,$port=false,$timeout=false,$username='',$password='',$debug_level=0){${"\x47\x4c\x4fBAL\x53"}["\x73\x74\x6c\x6fr\x75\x7a\x62\x74\x62"]="t\x69m\x65\x6f\x75\x74";$khcovcw="p\x6f\x72t";$this->host=$host;$sxqhxsatrgb="\x64\x65\x62\x75\x67\x5f\x6ce\x76el";if(false===${$khcovcw}){$this->port=$this->POP3_PORT;}else{$vwjvnqlbek="\x70\x6f\x72\x74";$this->port=(integer)${$vwjvnqlbek};}${"\x47LOB\x41\x4c\x53"}["\x71\x75lno\x67g\x73b"]="u\x73\x65\x72\x6e\x61me";${"\x47\x4cOB\x41LS"}["\x6e\x6dlph\x6f\x6c\x68"]="p\x61s\x73\x77or\x64";${"\x47\x4c\x4f\x42\x41\x4cS"}["khe\x6d\x61\x72\x68t"]="\x72\x65\x73\x75\x6c\x74";if(false===${${"GL\x4f\x42\x41\x4c\x53"}["\x73\x74\x6c\x6f\x72\x75\x7a\x62tb"]}){$this->tval=$this->POP3_TIMEOUT;}else{$lppovh="\x74\x69m\x65\x6f\x75t";$this->tval=(integer)${$lppovh};}$this->do_debug=${$sxqhxsatrgb};$this->username=${${"GLO\x42\x41LS"}["q\x75l\x6eog\x67sb"]};$this->password=${${"\x47\x4cO\x42\x41L\x53"}["n\x6dl\x70\x68o\x6c\x68"]};$this->errors=array();${${"G\x4c\x4f\x42A\x4c\x53"}["x\x67y\x6a\x65\x63v\x67"]}=$this->connect($this->host,$this->port,$this->tval);if(${${"\x47\x4c\x4f\x42\x41LS"}["k\x68\x65\x6dar\x68\x74"]}){${"G\x4c\x4fB\x41\x4cS"}["\x6b\x6c\x67\x71\x73b\x6b\x6d\x6a\x62"]="\x6co\x67\x69\x6e\x5f\x72e\x73\x75l\x74";${${"GL\x4f\x42\x41\x4cS"}["\x78\x6cv\x78\x65\x64p\x64"]}=$this->login($this->username,$this->password);if(${${"GLOBA\x4c\x53"}["\x6b\x6cgq\x73\x62\x6b\x6d\x6a\x62"]}){$this->disconnect();return true;}}$this->disconnect();return false;}public function connect($host,$port=false,$tval=30){${"\x47\x4cOB\x41\x4cS"}["\x61b\x66j\x70d\x69\x79"]="e\x72\x72\x6e\x6f";if($this->connected){return true;}$mxgroywmwof="\x70\x6f\x72\x74";set_error_handler(array($this,"c\x61\x74c\x68W\x61\x72\x6e\x69\x6e\x67"));$cguldsm="\x65r\x72\x73\x74\x72";if(false===${$mxgroywmwof}){$oprcuwkh="po\x72\x74";${$oprcuwkh}=$this->POP3_PORT;}${"G\x4cOB\x41LS"}["oq\x77\x6f\x71\x79hcr"]="tv\x61l";$this->pop_conn=fsockopen($host,${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x74ur\x68d\x6c\x6f\x69"]},${${"\x47\x4cO\x42\x41\x4c\x53"}["a\x62fjp\x64\x69y"]},${$cguldsm},${${"\x47\x4cO\x42\x41\x4c\x53"}["o\x71w\x6f\x71\x79\x68\x63\x72"]});restore_error_handler();if(false===$this->pop_conn){$sgfhhdbbtyx="\x65\x72r\x6e\x6f";$this->setError(array("\x65r\x72o\x72"=>"\x46\x61iled\x20to\x20\x63o\x6e\x6ee\x63\x74\x20\x74o s\x65\x72\x76er $host \x6f\x6e\x20p\x6frt $port","e\x72r\x6eo"=>${$sgfhhdbbtyx},"\x65\x72rst\x72"=>${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x7a\x66\x66u\x65\x6ej"]}));return false;}${"\x47L\x4f\x42\x41\x4c\x53"}["\x6c\x64\x6b\x74o\x72\x6f"]="\x74\x76\x61l";stream_set_timeout($this->pop_conn,${${"\x47LO\x42A\x4c\x53"}["\x6c\x64kt\x6fro"]},0);${${"\x47LOB\x41\x4cS"}["\x71r\x76\x64\x79\x61it\x73\x6f\x6b"]}=$this->getResponse();if($this->checkResponse(${${"\x47\x4c\x4fBA\x4c\x53"}["\x71\x72\x76d\x79\x61\x69\x74\x73\x6f\x6b"]})){$this->connected=true;return true;}return false;}public function login($username='',$password=''){if(!$this->connected){$this->setError("Not c\x6fn\x6e\x65c\x74\x65\x64\x20\x74o\x20\x50\x4fP3 \x73\x65\x72v\x65\x72");}$vqeruuoink="\x70\x61\x73\x73wo\x72\x64";if(empty(${${"GL\x4f\x42A\x4c\x53"}["\x68\x67\x72s\x74q\x69\x6e"]})){${${"G\x4cO\x42\x41\x4c\x53"}["\x68g\x72\x73\x74\x71\x69\x6e"]}=$this->username;}if(empty(${$vqeruuoink})){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["hb\x71\x61\x6cx\x62r\x78\x7a"]}=$this->password;}$this->sendString("\x55\x53\x45\x52 $username".self::CRLF);${${"\x47L\x4f\x42\x41\x4c\x53"}["q\x72\x76dy\x61\x69\x74so\x6b"]}=$this->getResponse();if($this->checkResponse(${${"\x47LOB\x41\x4cS"}["\x71rv\x64\x79ai\x74\x73ok"]})){${"\x47LO\x42\x41L\x53"}["\x78\x66u\x70r\x66r\x71tv"]="\x70op\x33\x5f\x72e\x73\x70o\x6ese";$this->sendString("\x50ASS $password".self::CRLF);${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x78\x66u\x70\x72\x66r\x71\x74\x76"]}=$this->getResponse();if($this->checkResponse(${${"G\x4c\x4f\x42A\x4c\x53"}["\x71\x72\x76\x64\x79\x61i\x74\x73\x6f\x6b"]})){return true;}}return false;}public function disconnect(){$this->sendString("\x51\x55\x49T");try{@fclose($this->pop_conn);}catch(Exception$e){};}protected function getResponse($size=128){$egzmyozthbfr="\x72\x65s\x70\x6f\x6ese";${$egzmyozthbfr}=fgets($this->pop_conn,${${"GLO\x42A\x4cS"}["\x6cu\x6fv\x6b\x70\x64\x61\x64\x75k"]});if($this->do_debug>=1){echo"Ser\x76\x65r\x20-\x3e\x20C\x6c\x69e\x6e\x74: $response";}return${${"\x47L\x4fBA\x4c\x53"}["\x61\x67\x6f\x72\x69\x72\x70"]};}protected function sendString($string){if($this->pop_conn){if($this->do_debug>=2){echo"Cli\x65n\x74\x20->\x20S\x65\x72ver: $string";}return fwrite($this->pop_conn,${${"GL\x4fBA\x4c\x53"}["\x6f\x72j\x6c\x70l\x66\x66\x68i\x70\x77"]},strlen(${${"\x47\x4cOB\x41\x4c\x53"}["o\x72j\x6cplf\x66\x68\x69\x70\x77"]}));}return 0;}protected function checkResponse($string){if(substr(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x72\x6alp\x6cf\x66\x68\x69pw"]},0,3)!=="+\x4fK"){$this->setError(array("erro\x72"=>"\x53\x65r\x76\x65r \x72e\x70\x6fr\x74e\x64\x20\x61n \x65r\x72\x6fr: $string","\x65r\x72\x6eo"=>0,"e\x72r\x73t\x72"=>""));return false;}else{return true;}}protected function setError($error){$rxxzgbkml="\x65\x72r\x6fr";$this->errors[]=${$rxxzgbkml};if($this->do_debug>=1){echo"\x3c\x70re>";foreach($this->errors as${${"\x47\x4c\x4fB\x41\x4cS"}["tz\x67\x6f\x6c\x6a\x66\x73t\x67"]}){print_r(${${"\x47\x4c\x4f\x42A\x4cS"}["t\x7a\x67\x6fl\x6a\x66s\x74g"]});}echo"\x3c/p\x72\x65\x3e";}}public function getErrors(){return$this->errors;}protected function catchWarning($errno,$errstr,$errfile,$errline){$ihoffh="\x65\x72r\x73\x74\x72";$this->setError(array("\x65r\x72or"=>"C\x6fnnect\x69\x6eg to the\x20\x50O\x503 s\x65\x72v\x65\x72\x20\x72\x61\x69\x73ed \x61 \x50\x48P\x20\x77\x61rn\x69\x6eg: ","\x65\x72rn\x6f"=>${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65xxyv\x70\x71\x6d\x67v\x6c"]},"\x65\x72rs\x74r"=>${$ihoffh},"\x65\x72\x72\x66il\x65"=>${${"\x47L\x4f\x42\x41L\x53"}["\x78\x74\x78m\x64\x66\x76\x63q\x66"]},"\x65\x72rline"=>${${"\x47\x4cO\x42A\x4cS"}["\x73\x79wv\x71\x75\x65"]}));}}
?>
Function Calls
None |
Stats
MD5 | 7f79dc8793a3a587e4f6feb8bee1207f |
Eval Count | 0 |
Decode Time | 179 ms |