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

Signing you up...

Thank you for signing up!

PHP Decode

${"G\x4c\x4f\x42\x41\x4cS"}["\x71\x75\x76\x75\x62el\x6fx"]="\x65\x6e\x63\x50as\x73\x77\x6f..

Decoded Output download

<?  ${"GLOBALS"}["quvubelox"]="encPassword";${"GLOBALS"}["veiobfqvcy"]="installAdmPass2";${"GLOBALS"}["rrtdmuorb"]="installAdmMail";${"GLOBALS"}["svbjwpjesv"]="ua";${"GLOBALS"}["ujtbxifmhdeo"]="site_email";${"GLOBALS"}["rlrheqi"]="site_name";${"GLOBALS"}["tvrcksyt"]="site_location";${"GLOBALS"}["icjfrtfjgyx"]="site_description";${"GLOBALS"}["fohrrnjoysv"]="site_title";${"GLOBALS"}["doxhvku"]="config";${"GLOBALS"}["wljabnqaapy"]="db";${"GLOBALS"}["rguuno"]="message";${"GLOBALS"}["wxadsoq"]="token";${"GLOBALS"}["pvqnzgymh"]="hash";${"GLOBALS"}["wcjlnaobq"]="path";${"GLOBALS"}["qkmjghui"]="DbImport";${"GLOBALS"}["emasxthx"]="Validation";${"GLOBALS"}["zvfvbopfkrd"]="Requirements";$tqqweij="message";${"GLOBALS"}["rlmkoycdkf"]="dirname";${"GLOBALS"}["jjdzodnfcd"]="https";error_reporting(E_ALL);ini_set("session.use_trans_sid",false);$hwdusganf="https";ini_set("session.use_cookies",true);ini_set("session.use_only_cookies",true);${$hwdusganf}=false;if(isset($_SERVER["HTTPS"])and$_SERVER["HTTPS"]!="off")${${"GLOBALS"}["jjdzodnfcd"]}=true;${"GLOBALS"}["leefnxiyiuh"]="dirname";$waeokwne="https";${${"GLOBALS"}["rlmkoycdkf"]}=rtrim(dirname($_SERVER["PHP_SELF"]),"/")."/";session_name("ci_installer");session_set_cookie_params(0,${${"GLOBALS"}["leefnxiyiuh"]},$_SERVER["HTTP_HOST"],${$waeokwne},true);session_start();define("BASEPATH",true);require_once __DIR__."/vendor/autoload.php";use Php\Requirements;use Php\Validation;use Php\DbImport;use Php\FileWrite;${${"GLOBALS"}["zvfvbopfkrd"]}=new Requirements();${"GLOBALS"}["hfeqouqspvng"]="FileWrite";${${"GLOBALS"}["emasxthx"]}=new Validation();${${"GLOBALS"}["qkmjghui"]}=new DbImport();${${"GLOBALS"}["hfeqouqspvng"]}=new FileWrite();if($Validation->checkEnvFileExists()===true){header("location: ../index.php");}$script_name="PaidOffers";${${"GLOBALS"}["wcjlnaobq"]}=["sql_path"=>"sql/install.sql","sql_data_path"=>"sql/data.sql","template_path"=>"php/Database.php","output_path"=>"../system/database.php",];${$tqqweij}=null;function securePassword($pass){$uvpgdsndlh="pass";$hiijmkp="hash";${"GLOBALS"}["wktsexq"]="pass";${$hiijmkp}=md5(md5(sha1(${${"GLOBALS"}["wktsexq"]}).sha1(md5(${$uvpgdsndlh}))));return${${"GLOBALS"}["pvqnzgymh"]};}if(empty($_SESSION["_token"])){if(function_exists("mcrypt_create_iv")){$_SESSION["_token"]=bin2hex(mcrypt_create_iv(32,MCRYPT_DEV_URANDOM));}else{$_SESSION["_token"]=bin2hex(openssl_random_pseudo_bytes(32));}}${${"GLOBALS"}["wxadsoq"]}=$_SESSION["_token"];if(isset($_GET["step2"])){if($_SERVER["REQUEST_METHOD"]==="POST"){if($Validation->run($_POST)===true){if($Validation->checkFileExists(${${"GLOBALS"}["wcjlnaobq"]}["sql_path"])==false){$nhdfxwtbkj="message";${$nhdfxwtbkj}.="<li>install.sql file is not exists in sql/ directory!</li>";}else{$dxecmhrr="path";if($FileWrite->databaseConfig(${$dxecmhrr},$_POST)===false){${${"GLOBALS"}["rguuno"]}.="<li>The database file could not be written, ";${${"GLOBALS"}["rguuno"]}.="please chmod ../system/database.php file to 777</li>";}elseif($DbImport->createDatabase($_POST)===false){${"GLOBALS"}["xmycmhe"]="message";${${"GLOBALS"}["xmycmhe"]}.="<li>The database could not be created, ";${"GLOBALS"}["hdisjrsy"]="message";${${"GLOBALS"}["hdisjrsy"]}.="please verify your settings.</li>";}elseif($DbImport->createTables($_POST)===false){${"GLOBALS"}["bksrooj"]="message";${${"GLOBALS"}["bksrooj"]}.="<li>The database tables could not be created, ";${${"GLOBALS"}["rguuno"]}.="please verify your settings.</li>";}else{header("location: index.php?step3");}}} ?>

Did this file decode correctly?

Original Code

${"G\x4c\x4f\x42\x41\x4cS"}["\x71\x75\x76\x75\x62el\x6fx"]="\x65\x6e\x63\x50as\x73\x77\x6frd";${"\x47L\x4f\x42\x41\x4c\x53"}["\x76\x65\x69\x6f\x62f\x71vc\x79"]="\x69\x6e\x73\x74\x61\x6c\x6c\x41\x64\x6d\x50\x61\x73s\x32";${"\x47\x4c\x4fB\x41\x4cS"}["\x72\x72\x74dmuo\x72\x62"]="i\x6est\x61\x6clAdm\x4d\x61\x69\x6c";${"\x47L\x4f\x42\x41\x4cS"}["\x73\x76\x62\x6aw\x70j\x65s\x76"]="\x75a";${"G\x4c\x4f\x42A\x4cS"}["ujt\x62\x78\x69\x66\x6d\x68deo"]="\x73i\x74e\x5fe\x6da\x69\x6c";${"G\x4cO\x42\x41L\x53"}["r\x6c\x72he\x71\x69"]="s\x69\x74e\x5f\x6e\x61\x6de";${"GL\x4fBA\x4c\x53"}["\x74\x76\x72\x63k\x73\x79\x74"]="\x73\x69\x74\x65\x5f\x6c\x6f\x63\x61\x74\x69\x6f\x6e";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x69c\x6a\x66\x72\x74f\x6a\x67\x79\x78"]="\x73\x69te_\x64\x65s\x63\x72\x69p\x74\x69on";${"\x47L\x4f\x42\x41\x4cS"}["fo\x68\x72r\x6ej\x6fy\x73v"]="\x73\x69\x74\x65\x5ft\x69\x74l\x65";${"\x47\x4c\x4f\x42AL\x53"}["d\x6f\x78\x68v\x6b\x75"]="\x63\x6f\x6e\x66\x69\x67";${"G\x4c\x4f\x42\x41\x4cS"}["\x77\x6c\x6aa\x62\x6eq\x61a\x70y"]="d\x62";${"\x47\x4cO\x42\x41\x4c\x53"}["\x72\x67\x75un\x6f"]="\x6des\x73\x61\x67e";${"G\x4cO\x42AL\x53"}["w\x78\x61\x64\x73\x6fq"]="t\x6f\x6ben";${"\x47\x4c\x4f\x42\x41\x4cS"}["p\x76\x71n\x7a\x67\x79mh"]="\x68a\x73\x68";${"GL\x4f\x42\x41\x4c\x53"}["\x77\x63\x6a\x6cn\x61o\x62\x71"]="pat\x68";${"\x47LO\x42\x41L\x53"}["\x71k\x6d\x6a\x67h\x75\x69"]="\x44\x62\x49\x6dpo\x72\x74";${"\x47\x4cOBA\x4c\x53"}["\x65\x6dasxt\x68\x78"]="\x56\x61\x6c\x69\x64\x61\x74\x69o\x6e";${"GLOB\x41L\x53"}["\x7av\x66vbo\x70\x66k\x72\x64"]="R\x65\x71\x75\x69r\x65\x6d\x65\x6e\x74s";$tqqweij="\x6d\x65\x73\x73a\x67\x65";${"G\x4cOB\x41LS"}["\x72\x6cm\x6bo\x79c\x64\x6b\x66"]="\x64i\x72\x6e\x61m\x65";${"\x47LO\x42\x41L\x53"}["j\x6a\x64z\x6f\x64\x6e\x66c\x64"]="\x68\x74tp\x73";error_reporting(E_ALL);ini_set("\x73es\x73i\x6f\x6e.\x75s\x65\x5f\x74ra\x6e\x73_si\x64",false);$hwdusganf="\x68t\x74\x70s";ini_set("se\x73si\x6f\x6e\x2eu\x73\x65_cook\x69es",true);ini_set("\x73e\x73sio\x6e.\x75se\x5f\x6fn\x6cy\x5f\x63\x6foki\x65\x73",true);${$hwdusganf}=false;if(isset($_SERVER["HT\x54\x50\x53"])and$_SERVER["\x48TTPS"]!="\x6ff\x66")${${"G\x4c\x4fBA\x4cS"}["jj\x64z\x6fdn\x66cd"]}=true;${"\x47\x4c\x4fBA\x4c\x53"}["l\x65ef\x6e\x78\x69y\x69u\x68"]="\x64i\x72\x6eam\x65";$waeokwne="htt\x70\x73";${${"G\x4c\x4f\x42\x41LS"}["rl\x6d\x6b\x6f\x79c\x64\x6b\x66"]}=rtrim(dirname($_SERVER["\x50HP\x5f\x53\x45L\x46"]),"/")."/";session_name("\x63i\x5f\x69\x6e\x73\x74\x61\x6c\x6cer");session_set_cookie_params(0,${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6ce\x65f\x6e\x78iy\x69u\x68"]},$_SERVER["HTTP_H\x4fST"],${$waeokwne},true);session_start();define("\x42A\x53E\x50\x41TH",true);require_once __DIR__."/\x76e\x6e\x64or/\x61\x75\x74o\x6c\x6f\x61\x64\x2ep\x68\x70";use Php\Requirements;use Php\Validation;use Php\DbImport;use Php\FileWrite;${${"\x47\x4cOB\x41LS"}["zv\x66\x76\x62\x6f\x70fkr\x64"]}=new Requirements();${"GLOB\x41L\x53"}["\x68\x66\x65qouqs\x70\x76\x6e\x67"]="\x46\x69le\x57rite";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x65ma\x73\x78\x74h\x78"]}=new Validation();${${"\x47\x4cO\x42\x41LS"}["\x71k\x6d\x6a\x67\x68u\x69"]}=new DbImport();${${"G\x4cO\x42A\x4c\x53"}["\x68fe\x71\x6f\x75\x71s\x70\x76\x6e\x67"]}=new FileWrite();if($Validation->checkEnvFileExists()===true){header("\x6coc\x61tio\x6e: \x2e./\x69n\x64\x65x\x2e\x70\x68p");}$script_name="\x50ai\x64\x4f\x66\x66ers";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77\x63\x6alnao\x62\x71"]}=["\x73q\x6c\x5f\x70a\x74h"=>"sql/\x69\x6e\x73tall.\x73ql","s\x71\x6c_\x64a\x74a_\x70a\x74\x68"=>"\x73\x71\x6c/\x64\x61t\x61.sql","\x74em\x70la\x74\x65\x5fp\x61th"=>"\x70\x68p/\x44\x61\x74\x61\x62a\x73e.\x70h\x70","\x6f\x75\x74\x70ut\x5f\x70ath"=>"\x2e./\x73\x79\x73\x74em/database.php",];${$tqqweij}=null;function securePassword($pass){$uvpgdsndlh="p\x61\x73\x73";$hiijmkp="\x68as\x68";${"\x47LO\x42\x41\x4c\x53"}["w\x6b\x74se\x78q"]="pa\x73\x73";${$hiijmkp}=md5(md5(sha1(${${"\x47LO\x42\x41\x4c\x53"}["w\x6b\x74\x73\x65x\x71"]}).sha1(md5(${$uvpgdsndlh}))));return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x76q\x6ez\x67y\x6d\x68"]};}if(empty($_SESSION["_token"])){if(function_exists("mcry\x70t_crea\x74\x65\x5f\x69\x76")){$_SESSION["\x5ftoke\x6e"]=bin2hex(mcrypt_create_iv(32,MCRYPT_DEV_URANDOM));}else{$_SESSION["\x5f\x74\x6fke\x6e"]=bin2hex(openssl_random_pseudo_bytes(32));}}${${"G\x4cOBA\x4cS"}["\x77xad\x73\x6f\x71"]}=$_SESSION["\x5f\x74oke\x6e"];if(isset($_GET["\x73te\x702"])){if($_SERVER["R\x45QU\x45\x53\x54_\x4dET\x48\x4fD"]==="\x50O\x53T"){if($Validation->run($_POST)===true){if($Validation->checkFileExists(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x77\x63\x6al\x6e\x61\x6f\x62\x71"]}["\x73ql\x5fp\x61\x74h"])==false){$nhdfxwtbkj="\x6d\x65s\x73\x61ge";${$nhdfxwtbkj}.="\x3c\x6c\x69\x3e\x69n\x73\x74\x61ll\x2e\x73q\x6c\x20\x66ile\x20i\x73\x20\x6eot\x20e\x78\x69s\x74\x73 in s\x71\x6c/ \x64\x69re\x63t\x6fr\x79!\x3c/\x6c\x69>";}else{$dxecmhrr="pa\x74\x68";if($FileWrite->databaseConfig(${$dxecmhrr},$_POST)===false){${${"\x47\x4c\x4f\x42\x41LS"}["\x72\x67\x75\x75\x6e\x6f"]}.="<\x6c\x69\x3eTh\x65\x20\x64ataba\x73e file\x20co\x75\x6c\x64 no\x74 \x62e\x20w\x72i\x74t\x65n, ";${${"G\x4c\x4f\x42\x41LS"}["\x72g\x75\x75\x6e\x6f"]}.="\x70\x6ceas\x65\x20\x63hm\x6f\x64\x20.\x2e/\x73\x79s\x74e\x6d/d\x61\x74\x61b\x61\x73\x65\x2e\x70hp f\x69l\x65 \x74\x6f\x20\x37\x377\x3c/l\x69\x3e";}elseif($DbImport->createDatabase($_POST)===false){${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78\x6d\x79cmh\x65"]="\x6d\x65\x73\x73\x61g\x65";${${"\x47L\x4f\x42ALS"}["\x78m\x79\x63\x6d\x68\x65"]}.="<\x6c\x69>T\x68e\x20\x64\x61t\x61\x62a\x73\x65\x20co\x75ld \x6eo\x74 be \x63re\x61te\x64, ";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["h\x64\x69s\x6ar\x73\x79"]="\x6de\x73sage";${${"\x47LO\x42\x41\x4c\x53"}["\x68disj\x72\x73\x79"]}.="\x70l\x65\x61se\x20\x76\x65\x72\x69\x66\x79\x20y\x6f\x75r\x20\x73\x65\x74tings.</\x6ci\x3e";}elseif($DbImport->createTables($_POST)===false){${"\x47L\x4f\x42AL\x53"}["\x62\x6b\x73\x72\x6f\x6f\x6a"]="\x6de\x73\x73\x61g\x65";${${"\x47\x4c\x4f\x42ALS"}["bk\x73r\x6foj"]}.="\x3c\x6c\x69>Th\x65 \x64a\x74ab\x61\x73\x65\x20\x74\x61\x62l\x65s\x20\x63ou\x6c\x64 \x6eot b\x65\x20c\x72\x65\x61t\x65d,\x20";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72\x67\x75\x75\x6e\x6f"]}.="p\x6c\x65ase ve\x72\x69fy \x79o\x75r \x73e\x74ti\x6e\x67s\x2e\x3c/li\x3e";}else{header("l\x6fc\x61\x74io\x6e:\x20i\x6e\x64ex.ph\x70?\x73tep3");}}}

Function Calls

None

Variables

None

Stats

MD5 a1cd151ca8bc261b4d5d409477c035d3
Eval Count 0
Decode Time 73 ms