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 ${"\x47L\x4f\x42\x41\x4c\x53"}["l\x63\x77\x77\x6f\x6a\x78txx\x6c"]="\x63\x68";${"\x4..

Decoded Output download

<?php ${"GLOBALS"}["lcwwojxtxxl"]="ch";${"GLOBALS"}["yhgkftibxxgt"]="url";function url(){return$_SERVER["HTTP_HOST"];}${"GLOBALS"}["xvvjgwhed"]="output";function lic($url){$qhajrqyfsb="output";$pbqtdu="ch";$wzwvhxye="ch";${${"GLOBALS"}["lcwwojxtxxl"]}=curl_init("http://brizz.ro/site/api/connect.php?domain=".${${"GLOBALS"}["yhgkftibxxgt"]});curl_setopt(${$pbqtdu},CURLOPT_HEADER,0);${"GLOBALS"}["rnciaikxjfb"]="output";curl_setopt(${$wzwvhxye},CURLOPT_RETURNTRANSFER,1);$xzmycidfu="ch";${$qhajrqyfsb}=curl_exec(${${"GLOBALS"}["lcwwojxtxxl"]});curl_close(${$xzmycidfu});return${${"GLOBALS"}["rnciaikxjfb"]};}function gettime($url){$kgjcbfd="url";${"GLOBALS"}["mbgxsncosob"]="ch";${"GLOBALS"}["yqhbaconga"]="ch";${${"GLOBALS"}["mbgxsncosob"]}=curl_init("http://brizz.ro/site/api/connect.php?domaint=".${$kgjcbfd});curl_setopt(${${"GLOBALS"}["lcwwojxtxxl"]},CURLOPT_HEADER,0);${"GLOBALS"}["ejbgqtlui"]="output";curl_setopt(${${"GLOBALS"}["lcwwojxtxxl"]},CURLOPT_RETURNTRANSFER,1);${${"GLOBALS"}["ejbgqtlui"]}=curl_exec(${${"GLOBALS"}["yqhbaconga"]});$clwfzehqnru="output";curl_close(${${"GLOBALS"}["lcwwojxtxxl"]});return${$clwfzehqnru};}function getstatus($url){$hxvoxibxntz="ch";${"GLOBALS"}["gqceruzp"]="url";${${"GLOBALS"}["lcwwojxtxxl"]}=curl_init("http://brizz.ro/site/api/connect.php?domainstatus=".${${"GLOBALS"}["gqceruzp"]});${"GLOBALS"}["lusifjgfh"]="output";${"GLOBALS"}["xiuswcx"]="ch";curl_setopt(${${"GLOBALS"}["lcwwojxtxxl"]},CURLOPT_HEADER,0);curl_setopt(${${"GLOBALS"}["xiuswcx"]},CURLOPT_RETURNTRANSFER,1);${${"GLOBALS"}["lusifjgfh"]}=curl_exec(${$hxvoxibxntz});curl_close(${${"GLOBALS"}["lcwwojxtxxl"]});return${${"GLOBALS"}["xvvjgwhed"]};}${"GLOBALS"}["iblkiwwigkx"]="domain";${"GLOBALS"}["hcuepjgqordl"]="trimitere";$jsjvqqer="filename2";${"GLOBALS"}["vtsxogqms"]="SQL";${"GLOBALS"}["vucwtdhv"]="row";${"GLOBALS"}["osgxjcto"]="status";${"GLOBALS"}["rqqvhcxstj"]="license";include_once"config.php";${"GLOBALS"}["qwfugu"]="trimitere";$ogcedernb="SQL";${"GLOBALS"}["npmhmwl"]="domain";${"GLOBALS"}["hgqtltuncf"]="filename2";${${"GLOBALS"}["hgqtltuncf"]}="engine/config.php";${"GLOBALS"}["japxaxmypxu"]="domain";if(""==file_get_contents(${$jsjvqqer})){echo "

  <script>document.location.href='install/index.php'</script>

";}$bfjpomnybxs="row";${${"GLOBALS"}["vtsxogqms"]}=mysql_query("SELECT * FROM `settings` WHERE setname = 'licenta'")or die(mysql_error());${${"GLOBALS"}["vucwtdhv"]}=mysql_fetch_array(${$ogcedernb});${"GLOBALS"}["odsmioh"]="license";${${"GLOBALS"}["rqqvhcxstj"]}=${$bfjpomnybxs}["setvalue"];${${"GLOBALS"}["iblkiwwigkx"]}="http://".url()."/";${${"GLOBALS"}["hcuepjgqordl"]}=lic(${${"GLOBALS"}["npmhmwl"]});if(${${"GLOBALS"}["qwfugu"]}==${${"GLOBALS"}["odsmioh"]}){$fvlrlen="domain";${"GLOBALS"}["ebwvdnp"]="now";${"GLOBALS"}["uutnmdeesym"]="status";${${"GLOBALS"}["uutnmdeesym"]}=getstatus(${$fvlrlen});${"GLOBALS"}["nrkaiwnfp"]="now";switch(${${"GLOBALS"}["osgxjcto"]}){case 0:die("Licenta este in asteptare!");break;case 1:break;case 2:die("Licenta este suspendata!");break;default:die("UNKNOWN!");break;}${${"GLOBALS"}["nrkaiwnfp"]}=strtotime("now");if(gettime(${${"GLOBALS"}["japxaxmypxu"]})<=${${"GLOBALS"}["ebwvdnp"]}){die("Licenta este expirata!");}}else{$woyjdvoj="trimitere";if(${$woyjdvoj}=="INVALID LICENSE"){die("Licenta aceasta nu este valida!<a href='admin/index.php'>Remediaza acum</a>");}else{$bajspub="license";if(isset(${$bajspub})){die("Licenta nu este setata!");}else{die("UNKNOWN ERROR");}}} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47L\x4f\x42\x41\x4c\x53"}["l\x63\x77\x77\x6f\x6a\x78txx\x6c"]="\x63\x68";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x79hg\x6b\x66t\x69b\x78\x78\x67t"]="\x75\x72l";function url(){return$_SERVER["HTT\x50\x5fHOST"];}${"\x47\x4c\x4fB\x41L\x53"}["\x78\x76\x76\x6ag\x77h\x65\x64"]="\x6f\x75t\x70\x75\x74";function lic($url){$qhajrqyfsb="o\x75tp\x75\x74";$pbqtdu="ch";$wzwvhxye="\x63h";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x63w\x77o\x6a\x78tx\x78l"]}=curl_init("h\x74\x74\x70://b\x72\x69zz\x2er\x6f\x2f\x73\x69t\x65/\x61\x70i/c\x6fn\x6e\x65c\x74.\x70\x68p\x3f\x64\x6f\x6da\x69\x6e\x3d".${${"GL\x4f\x42\x41\x4cS"}["\x79\x68\x67\x6b\x66\x74\x69b\x78x\x67\x74"]});curl_setopt(${$pbqtdu},CURLOPT_HEADER,0);${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72n\x63\x69a\x69\x6b\x78\x6a\x66\x62"]="\x6f\x75\x74pu\x74";curl_setopt(${$wzwvhxye},CURLOPT_RETURNTRANSFER,1);$xzmycidfu="ch";${$qhajrqyfsb}=curl_exec(${${"G\x4cO\x42\x41L\x53"}["l\x63\x77\x77\x6f\x6a\x78\x74\x78x\x6c"]});curl_close(${$xzmycidfu});return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["r\x6e\x63\x69\x61\x69\x6b\x78j\x66\x62"]};}function gettime($url){$kgjcbfd="\x75\x72\x6c";${"\x47\x4cOB\x41L\x53"}["\x6db\x67\x78s\x6ec\x6f\x73\x6f\x62"]="\x63h";${"\x47\x4cO\x42\x41L\x53"}["\x79q\x68\x62\x61conga"]="c\x68";${${"G\x4c\x4f\x42\x41\x4cS"}["m\x62\x67\x78\x73\x6e\x63\x6fs\x6f\x62"]}=curl_init("htt\x70:\x2f\x2fb\x72i\x7az\x2e\x72\x6f\x2fsi\x74e/\x61\x70\x69\x2fc\x6fn\x6e\x65\x63t\x2e\x70h\x70\x3fdo\x6d\x61i\x6et\x3d".${$kgjcbfd});curl_setopt(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6c\x63\x77\x77\x6fjxt\x78\x78l"]},CURLOPT_HEADER,0);${"\x47L\x4f\x42AL\x53"}["\x65j\x62\x67\x71\x74l\x75\x69"]="o\x75\x74\x70\x75t";curl_setopt(${${"GL\x4f\x42\x41LS"}["l\x63\x77\x77o\x6a\x78\x74\x78\x78\x6c"]},CURLOPT_RETURNTRANSFER,1);${${"G\x4c\x4f\x42ALS"}["\x65\x6abg\x71\x74\x6c\x75\x69"]}=curl_exec(${${"G\x4cO\x42A\x4c\x53"}["\x79\x71h\x62\x61\x63\x6f\x6eg\x61"]});$clwfzehqnru="\x6f\x75\x74\x70u\x74";curl_close(${${"GL\x4f\x42A\x4c\x53"}["l\x63\x77\x77\x6fj\x78t\x78x\x6c"]});return${$clwfzehqnru};}function getstatus($url){$hxvoxibxntz="c\x68";${"GL\x4f\x42\x41\x4c\x53"}["\x67\x71\x63\x65\x72\x75z\x70"]="\x75\x72\x6c";${${"G\x4cO\x42\x41\x4c\x53"}["lcw\x77\x6f\x6a\x78\x74\x78x\x6c"]}=curl_init("http:/\x2fbr\x69\x7a\x7a.\x72o\x2f\x73\x69\x74e\x2f\x61p\x69\x2f\x63on\x6eec\x74.p\x68\x70\x3f\x64\x6f\x6dain\x73t\x61tus=".${${"G\x4c\x4f\x42\x41L\x53"}["\x67\x71\x63e\x72\x75\x7ap"]});${"\x47L\x4f\x42\x41LS"}["\x6c\x75s\x69f\x6agfh"]="\x6f\x75t\x70ut";${"\x47\x4cO\x42\x41L\x53"}["\x78\x69\x75\x73\x77cx"]="c\x68";curl_setopt(${${"\x47\x4c\x4f\x42AL\x53"}["\x6c\x63\x77\x77o\x6a\x78tx\x78\x6c"]},CURLOPT_HEADER,0);curl_setopt(${${"\x47\x4cOB\x41\x4c\x53"}["\x78\x69\x75\x73\x77\x63\x78"]},CURLOPT_RETURNTRANSFER,1);${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6cu\x73\x69\x66\x6agfh"]}=curl_exec(${$hxvoxibxntz});curl_close(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6c\x63\x77w\x6f\x6a\x78\x74\x78x\x6c"]});return${${"GLO\x42\x41\x4c\x53"}["\x78\x76\x76\x6ag\x77h\x65\x64"]};}${"GLOBAL\x53"}["\x69\x62\x6ck\x69w\x77\x69g\x6bx"]="\x64\x6f\x6da\x69n";${"\x47\x4cO\x42AL\x53"}["\x68c\x75\x65\x70j\x67\x71\x6f\x72\x64l"]="\x74\x72\x69\x6dit\x65\x72e";$jsjvqqer="\x66\x69le\x6e\x61m\x65\x32";${"GL\x4fBA\x4c\x53"}["\x76\x74s\x78og\x71ms"]="\x53\x51\x4c";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x75\x63w\x74dh\x76"]="\x72\x6f\x77";${"\x47\x4c\x4fB\x41L\x53"}["\x6fs\x67xj\x63\x74\x6f"]="s\x74a\x74u\x73";${"\x47L\x4fB\x41\x4c\x53"}["r\x71q\x76h\x63xstj"]="l\x69c\x65n\x73\x65";include_once"\x63\x6fn\x66ig\x2ep\x68\x70";${"\x47L\x4f\x42\x41\x4cS"}["\x71\x77f\x75\x67\x75"]="t\x72i\x6d\x69\x74\x65\x72e";$ogcedernb="\x53\x51\x4c";${"GL\x4f\x42\x41\x4c\x53"}["\x6epmhm\x77\x6c"]="\x64\x6f\x6d\x61in";${"\x47\x4c\x4fBA\x4cS"}["hg\x71\x74\x6ctuncf"]="\x66\x69l\x65n\x61\x6d\x65\x32";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x67\x71tl\x74\x75\x6e\x63f"]}="\x65\x6e\x67i\x6e\x65/c\x6f\x6e\x66\x69g.p\x68\x70";${"\x47LO\x42\x41LS"}["\x6aa\x70\x78\x61x\x6d\x79\x70x\x75"]="\x64\x6f\x6da\x69\x6e";if(""==file_get_contents(${$jsjvqqer})){echo "\n\n\x20\x20<\x73cr\x69p\x74\x3e\x64o\x63ument\x2e\x6c\x6f\x63a\x74ion.href=\x27in\x73\x74\x61\x6cl\x2fi\x6e\x64\x65\x78.ph\x70\x27\x3c/\x73c\x72ipt>\n\n";}$bfjpomnybxs="row";${${"\x47\x4c\x4fBA\x4cS"}["v\x74\x73\x78\x6f\x67\x71m\x73"]}=mysql_query("\x53EL\x45C\x54\x20\x2a\x20\x46RO\x4d\x20`se\x74t\x69\x6egs\x60\x20W\x48\x45R\x45\x20se\x74n\x61\x6d\x65\x20=\x20'lic\x65nt\x61'")or die(mysql_error());${${"\x47\x4cO\x42\x41\x4c\x53"}["\x76\x75\x63w\x74\x64\x68\x76"]}=mysql_fetch_array(${$ogcedernb});${"\x47L\x4fB\x41L\x53"}["odsmio\x68"]="\x6c\x69\x63\x65\x6es\x65";${${"G\x4c\x4f\x42\x41\x4c\x53"}["rq\x71v\x68c\x78\x73\x74j"]}=${$bfjpomnybxs}["setvalue"];${${"G\x4cO\x42\x41\x4c\x53"}["\x69\x62\x6c\x6b\x69\x77\x77i\x67\x6bx"]}="\x68\x74\x74p:\x2f/".url()."\x2f";${${"\x47LOB\x41\x4cS"}["\x68cu\x65\x70j\x67\x71o\x72d\x6c"]}=lic(${${"G\x4c\x4fB\x41\x4cS"}["\x6ep\x6d\x68mw\x6c"]});if(${${"\x47L\x4fB\x41\x4cS"}["\x71\x77f\x75\x67\x75"]}==${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6fd\x73\x6d\x69\x6f\x68"]}){$fvlrlen="\x64\x6fmai\x6e";${"\x47\x4c\x4f\x42A\x4c\x53"}["eb\x77vd\x6e\x70"]="\x6e\x6f\x77";${"\x47LO\x42A\x4c\x53"}["\x75\x75t\x6e\x6d\x64\x65\x65\x73y\x6d"]="\x73tat\x75\x73";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75ut\x6e\x6d\x64\x65\x65\x73\x79\x6d"]}=getstatus(${$fvlrlen});${"GL\x4f\x42A\x4c\x53"}["n\x72\x6b\x61\x69w\x6e\x66p"]="n\x6fw";switch(${${"G\x4c\x4f\x42\x41\x4c\x53"}["osg\x78\x6a\x63\x74\x6f"]}){case 0:die("Li\x63e\x6eta \x65s\x74e \x69\x6e\x20\x61ste\x70t\x61r\x65\x21");break;case 1:break;case 2:die("Li\x63ent\x61\x20es\x74e su\x73\x70e\x6e\x64\x61\x74a\x21");break;default:die("UN\x4bNOW\x4e!");break;}${${"G\x4cO\x42A\x4c\x53"}["n\x72\x6b\x61iw\x6e\x66\x70"]}=strtotime("\x6eo\x77");if(gettime(${${"\x47\x4cO\x42\x41\x4cS"}["\x6a\x61\x70\x78a\x78\x6d\x79\x70\x78u"]})<=${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65\x62\x77\x76\x64\x6e\x70"]}){die("Licenta\x20este\x20e\x78\x70\x69\x72a\x74\x61!");}}else{$woyjdvoj="\x74\x72i\x6d\x69\x74\x65r\x65";if(${$woyjdvoj}=="\x49NV\x41L\x49\x44 \x4c\x49\x43E\x4e\x53\x45"){die("L\x69\x63\x65\x6et\x61 a\x63ea\x73\x74\x61\x20n\x75 est\x65\x20\x76a\x6c\x69da\x21\x3ca\x20\x68re\x66=\x27\x61dm\x69\x6e\x2f\x69\x6e\x64ex.php\x27>\x52\x65me\x64i\x61\x7a\x61\x20a\x63um<\x2fa\x3e");}else{$bajspub="li\x63\x65\x6e\x73e";if(isset(${$bajspub})){die("Lic\x65n\x74\x61\x20\x6e\x75 \x65s\x74e se\x74\x61ta\x21");}else{die("UN\x4b\x4e\x4fW\x4e\x20\x45\x52ROR");}}}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'lcwwojxtxxl', 'value': 'ch'}, {'key': 'yhgkftibxxgt', 'value': 'url'}, {'key': 'xvvjgwhed', 'value': 'output'}, {'key': 'iblkiwwigkx', 'value': 'domain'}, {'key': 'hcuepjgqordl', 'value': 'trimitere'}, {'key': 'vtsxogqms', 'value': 'SQL'}, {'key': 'vucwtdhv', 'value': 'row'}, {'key': 'osgxjcto', 'value': 'status'}, {'key': 'rqqvhcxstj', 'value': 'license'}]
$jsjvqqer filename2

Stats

MD5 b62d03f0591caa048c349d2aa82c852d
Eval Count 0
Decode Time 111 ms