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 namespace Php;${"GLOBALS"}["puwwkigi"]="extension";${"GLOBALS"}["nlzsvc"]="pass_stat..

Decoded Output download

<?php namespace Php;${"GLOBALS"}["puwwkigi"]="extension";${"GLOBALS"}["nlzsvc"]="pass_status";${"GLOBALS"}["wceebxztk"]="fail";${"GLOBALS"}["exwuiluk"]="fail_status";${"GLOBALS"}["rauikfrvhc"]="pass";${"GLOBALS"}["hyprgjttnppq"]="i";${"GLOBALS"}["woitokapb"]="writeable";${"GLOBALS"}["xmwmbviid"]="file";${"GLOBALS"}["eerpnkerlw"]="directories";${"GLOBALS"}["iwxjbzu"]="writeable_error";${"GLOBALS"}["sbrqjbbyleqo"]="writeable_success";${"GLOBALS"}["eotukqddel"]="not_writeable";class Requirements{public function directoriesAndPermission(){${"GLOBALS"}["nirgnlwo"]="dir";$vvrihbhfxok="directories";$mltdyjir="writeable";${${"GLOBALS"}["nirgnlwo"]}="./sql";${$vvrihbhfxok}=null;${${"GLOBALS"}["eotukqddel"]}=null;${$mltdyjir}=null;${${"GLOBALS"}["sbrqjbbyleqo"]}=null;${${"GLOBALS"}["iwxjbzu"]}=null;${${"GLOBALS"}["eerpnkerlw"]}=["../system/database.php"];echo"<table class='table table-bordered table-striped'>";echo"<tr>";echo"<th>Directory & Permissions</th>";echo"<th class='cwidth'>Status</th>";echo"</tr>";if(file_exists("sql/install.sql")){$fvnjdmuy="directories";${"GLOBALS"}["ylllktm"]="not_writeable";ob_start();$gtnvlaqoay="file";foreach(${$fvnjdmuy} as${$gtnvlaqoay}){$owqbatbtpdf="file";$strbngcj="file";if(file_exists(${${"GLOBALS"}["xmwmbviid"]})&&is_writable(${$strbngcj})&&is_file(${$owqbatbtpdf})){${${"GLOBALS"}["woitokapb"]}[]="$file is writeable";${${"GLOBALS"}["sbrqjbbyleqo"]}[]="<span class="label label-success\">Success</span>";}else{${"GLOBALS"}["kkviqcm"]="writeable_error";${"GLOBALS"}["xgzmeizk"]="not_writeable";${${"GLOBALS"}["xgzmeizk"]}[]="$file is not writeable";${${"GLOBALS"}["kkviqcm"]}[]="<span class="label label-danger\">Error</span>";}}@ob_clean();if(isset(${${"GLOBALS"}["ylllktm"]})){echo"<tr>";echo"<td colspan='2'><div class='alert alert-danger'>Your server does not meet the following requirements.</div></td>";$dbffjppy="not_writeable";$uakcan="i";${"GLOBALS"}["actndhmoiehg"]="i";echo"</tr>";for(${${"GLOBALS"}["actndhmoiehg"]}=0;${${"GLOBALS"}["hyprgjttnppq"]}<sizeof(${$dbffjppy});${$uakcan}++){${"GLOBALS"}["pudlcwc"]="not_writeable";$xxgwhbntwz="i";${"GLOBALS"}["lnmqqhuel"]="writeable_error";echo"<tr>";echo"<th>".${${"GLOBALS"}["pudlcwc"]}[${$xxgwhbntwz}]."</th>";${"GLOBALS"}["ngdrdkiwr"]="i";echo"<th>".${${"GLOBALS"}["lnmqqhuel"]}[${${"GLOBALS"}["ngdrdkiwr"]}]."</th>";echo"</tr>";}$dkzzpdnirbg="writeable";if(sizeof(${$dkzzpdnirbg})>0){echo"<tr>";echo"<td colspan='2'><div class='alert alert-success'>The following requirements were successfully met.</div></td>";${"GLOBALS"}["dieldizvs"]="writeable";echo"</tr>";for(${${"GLOBALS"}["hyprgjttnppq"]}=0;${${"GLOBALS"}["hyprgjttnppq"]}<sizeof(${${"GLOBALS"}["dieldizvs"]});${${"GLOBALS"}["hyprgjttnppq"]}++){${"GLOBALS"}["bofbqyc"]="writeable";$ffldxfdd="writeable_success";echo"<tr>";echo"<th>".${${"GLOBALS"}["bofbqyc"]}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"<th>".${$ffldxfdd}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"</tr>";}}}else{if(sizeof(${${"GLOBALS"}["woitokapb"]})>0){$pghnqeofz="writeable";${"GLOBALS"}["fuyhurgkt"]="i";echo"<tr>";echo"<td colspan='2'><div class='alert alert-success'><strong>Congratulations!</strong> Your server meets the requirements for install application.</div></td>";$hcwsnck="i";echo"</tr>";for(${${"GLOBALS"}["hyprgjttnppq"]}=0;${${"GLOBALS"}["fuyhurgkt"]}<sizeof(${$pghnqeofz});${$hcwsnck}++){${"GLOBALS"}["icmskxi"]="writeable";${"GLOBALS"}["ooyfrrjfp"]="writeable_success";echo"<tr>";${"GLOBALS"}["emjflces"]="i";echo"<th>".${${"GLOBALS"}["icmskxi"]}[${${"GLOBALS"}["emjflces"]}]."</th>";echo"<th>".${${"GLOBALS"}["ooyfrrjfp"]}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"</tr>";}}}}else{echo"<td colspan='2'><div class='alert alert-danger'><strong>install.sql</strong> file is not available in ./sql/ direcotry</div></td>";}echo"</table>";}public function server(){$this->extensionCheck(["mysqli","curl","gd"]);}public function extensionCheck($extensions=null){$ufugbgjh="fail";$jdcceh="extensions";${"GLOBALS"}["gilobmmjns"]="pass_status";${$ufugbgjh}=null;${${"GLOBALS"}["rauikfrvhc"]}=null;${${"GLOBALS"}["exwuiluk"]}=null;${${"GLOBALS"}["gilobmmjns"]}=null;if(version_compare(phpversion(),"5.5","<")){${"GLOBALS"}["ozzhejy"]="fail_status";${${"GLOBALS"}["wceebxztk"]}[]="You need<strong> PHP 5.5</strong> (or greater;<strong>Current Version:".phpversion().")</strong>";${${"GLOBALS"}["ozzhejy"]}[]="<span class="label label-danger">Error</span>";}else{$jibqdtiys="pass";${$jibqdtiys}[]="You have<strong> PHP 5.5</strong> (or greater; <strong>Current Version:".phpversion().")</strong>";${${"GLOBALS"}["nlzsvc"]}[]="<span class="label label-success\">Success</span>";}if(!ini_get("safe_mode")){${"GLOBALS"}["mygayvf"]="info";ob_start();phpinfo(INFO_MODULES);${${"GLOBALS"}["mygayvf"]}=ob_get_contents();$bgvmtzmr="match";${"GLOBALS"}["wphxrbluj"]="match";$qbcrmd="info";$ecojjiwkg="info";ob_end_clean();${$qbcrmd}=stristr(${$ecojjiwkg},"Client API version");$seukbjt="info";preg_match("/[1-9].[0-9].[1-9][0-9]/",${$seukbjt},${$bgvmtzmr});if(version_compare(${${"GLOBALS"}["wphxrbluj"]}[0],"4.1","<")){$hgkfqkuic="match";${"GLOBALS"}["uokrywo"]="fail";${${"GLOBALS"}["uokrywo"]}[]="You need<strong> MySQL 4.1</strong> (or greater; <strong>Current Version:.".${$hgkfqkuic}[0].")</strong>";${${"GLOBALS"}["exwuiluk"]}[]="<span class="label label-danger">Error</span>";}else{$qhsrcibfene="match";$roakozd="pass";${$roakozd}[]="You have<strong> MySQL 4.1</strong> (or greater; <strong>Current Version:".${$qhsrcibfene}[0].")</strong>";${${"GLOBALS"}["nlzsvc"]}[]="<span class="label label-success">Success</span>";}}else{${${"GLOBALS"}["rauikfrvhc"]}[]="Safe Mode is <strong>on</strong>";${${"GLOBALS"}["nlzsvc"]}[]="<span class=\"label label-success\">Success</span>";}foreach(${$jdcceh} as${${"GLOBALS"}["puwwkigi"]}){${"GLOBALS"}["sohseld"]="extension";if(!extension_loaded(${${"GLOBALS"}["sohseld"]})){$rholvgiwr="fail";${$rholvgiwr}[]=" You are missing the <strong>".${${"GLOBALS"}["puwwkigi"]}."</strong> extension";${${"GLOBALS"}["exwuiluk"]}[]="<span class=\"label label-danger\">Error</span>";}else{$epxkuncgexwa="extension";${"GLOBALS"}["lbvvla"]="pass";${${"GLOBALS"}["lbvvla"]}[]="You have the <strong>".${$epxkuncgexwa}."</strong> extension";$qugyinvsp="pass_status";${$qugyinvsp}[]="<span class=\"label label-success\">Success</span>";}}echo"<table class='table table-bordered table-striped'>";echo"<tr>";echo"<th>Server Requirements</th>";echo"<th class='cwidth'>Status</th>";echo"</tr>";if(isset(${${"GLOBALS"}["wceebxztk"]})){echo"<tr>";echo"<td colspan='2'><div class='alert alert-danger'><strong>Your server does not meet the following requirements.</strong></div></td>";echo"</tr>";for(${${"GLOBALS"}["hyprgjttnppq"]}=0;${${"GLOBALS"}["hyprgjttnppq"]}<sizeof(${${"GLOBALS"}["wceebxztk"]});${${"GLOBALS"}["hyprgjttnppq"]}++){echo"<tr>";$zrnbyqivtrfk="fail";echo"<th>".${$zrnbyqivtrfk}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"<th>".${${"GLOBALS"}["exwuiluk"]}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"</tr>";}if(sizeof(${${"GLOBALS"}["rauikfrvhc"]})>0){$vjjbszpvyxl="i";echo"<tr>";echo"<td colspan='2'><div class='alert alert-success'>The following requirements were successfully met:</div></td>";${"GLOBALS"}["ccclhoq"]="pass";echo"</tr>";for(${${"GLOBALS"}["hyprgjttnppq"]}=0;${$vjjbszpvyxl}<sizeof(${${"GLOBALS"}["ccclhoq"]});${${"GLOBALS"}["hyprgjttnppq"]}++){$uiinygjcdefy="pass_status";echo"<tr>";echo"<th>".${${"GLOBALS"}["rauikfrvhc"]}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"<th>".${$uiinygjcdefy}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"</tr>";}}}else{echo"<tr>";$nzbhuqfdndm="i";echo"<td colspan='2'><div class='alert alert-success'><strong>Congratulations!</strong> Your server meets the requirements to install this script.</td>";$fvecgjxowmkp="i";echo"</tr>";${"GLOBALS"}["wknnngm"]="i";for(${$fvecgjxowmkp}=0;${$nzbhuqfdndm}<sizeof(${${"GLOBALS"}["rauikfrvhc"]});${${"GLOBALS"}["wknnngm"]}++){echo"<tr>";echo"<th>".${${"GLOBALS"}["rauikfrvhc"]}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"<th>".${${"GLOBALS"}["nlzsvc"]}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"</tr>";}}echo"</table>";}}  
?>

Did this file decode correctly?

Original Code

<?php namespace Php;${"GLOBALS"}["puwwkigi"]="extension";${"GLOBALS"}["nlzsvc"]="pass_status";${"GLOBALS"}["wceebxztk"]="fail";${"GLOBALS"}["exwuiluk"]="fail_status";${"GLOBALS"}["rauikfrvhc"]="pass";${"GLOBALS"}["hyprgjttnppq"]="i";${"GLOBALS"}["woitokapb"]="writeable";${"GLOBALS"}["xmwmbviid"]="file";${"GLOBALS"}["eerpnkerlw"]="directories";${"GLOBALS"}["iwxjbzu"]="writeable_error";${"GLOBALS"}["sbrqjbbyleqo"]="writeable_success";${"GLOBALS"}["eotukqddel"]="not_writeable";class Requirements{public function directoriesAndPermission(){${"GLOBALS"}["nirgnlwo"]="dir";$vvrihbhfxok="directories";$mltdyjir="writeable";${${"GLOBALS"}["nirgnlwo"]}="./sql";${$vvrihbhfxok}=null;${${"GLOBALS"}["eotukqddel"]}=null;${$mltdyjir}=null;${${"GLOBALS"}["sbrqjbbyleqo"]}=null;${${"GLOBALS"}["iwxjbzu"]}=null;${${"GLOBALS"}["eerpnkerlw"]}=["../system/database.php"];echo"<table class='table table-bordered table-striped'>";echo"<tr>";echo"<th>Directory & Permissions</th>";echo"<th class='cwidth'>Status</th>";echo"</tr>";if(file_exists("sql/install.sql")){$fvnjdmuy="directories";${"GLOBALS"}["ylllktm"]="not_writeable";ob_start();$gtnvlaqoay="file";foreach(${$fvnjdmuy} as${$gtnvlaqoay}){$owqbatbtpdf="file";$strbngcj="file";if(file_exists(${${"GLOBALS"}["xmwmbviid"]})&&is_writable(${$strbngcj})&&is_file(${$owqbatbtpdf})){${${"GLOBALS"}["woitokapb"]}[]="$file is writeable";${${"GLOBALS"}["sbrqjbbyleqo"]}[]="<span class="label label-success\">Success</span>";}else{${"GLOBALS"}["kkviqcm"]="writeable_error";${"GLOBALS"}["xgzmeizk"]="not_writeable";${${"GLOBALS"}["xgzmeizk"]}[]="$file is not writeable";${${"GLOBALS"}["kkviqcm"]}[]="<span class="label label-danger\">Error</span>";}}@ob_clean();if(isset(${${"GLOBALS"}["ylllktm"]})){echo"<tr>";echo"<td colspan='2'><div class='alert alert-danger'>Your server does not meet the following requirements.</div></td>";$dbffjppy="not_writeable";$uakcan="i";${"GLOBALS"}["actndhmoiehg"]="i";echo"</tr>";for(${${"GLOBALS"}["actndhmoiehg"]}=0;${${"GLOBALS"}["hyprgjttnppq"]}<sizeof(${$dbffjppy});${$uakcan}++){${"GLOBALS"}["pudlcwc"]="not_writeable";$xxgwhbntwz="i";${"GLOBALS"}["lnmqqhuel"]="writeable_error";echo"<tr>";echo"<th>".${${"GLOBALS"}["pudlcwc"]}[${$xxgwhbntwz}]."</th>";${"GLOBALS"}["ngdrdkiwr"]="i";echo"<th>".${${"GLOBALS"}["lnmqqhuel"]}[${${"GLOBALS"}["ngdrdkiwr"]}]."</th>";echo"</tr>";}$dkzzpdnirbg="writeable";if(sizeof(${$dkzzpdnirbg})>0){echo"<tr>";echo"<td colspan='2'><div class='alert alert-success'>The following requirements were successfully met.</div></td>";${"GLOBALS"}["dieldizvs"]="writeable";echo"</tr>";for(${${"GLOBALS"}["hyprgjttnppq"]}=0;${${"GLOBALS"}["hyprgjttnppq"]}<sizeof(${${"GLOBALS"}["dieldizvs"]});${${"GLOBALS"}["hyprgjttnppq"]}++){${"GLOBALS"}["bofbqyc"]="writeable";$ffldxfdd="writeable_success";echo"<tr>";echo"<th>".${${"GLOBALS"}["bofbqyc"]}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"<th>".${$ffldxfdd}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"</tr>";}}}else{if(sizeof(${${"GLOBALS"}["woitokapb"]})>0){$pghnqeofz="writeable";${"GLOBALS"}["fuyhurgkt"]="i";echo"<tr>";echo"<td colspan='2'><div class='alert alert-success'><strong>Congratulations!</strong> Your server meets the requirements for install application.</div></td>";$hcwsnck="i";echo"</tr>";for(${${"GLOBALS"}["hyprgjttnppq"]}=0;${${"GLOBALS"}["fuyhurgkt"]}<sizeof(${$pghnqeofz});${$hcwsnck}++){${"GLOBALS"}["icmskxi"]="writeable";${"GLOBALS"}["ooyfrrjfp"]="writeable_success";echo"<tr>";${"GLOBALS"}["emjflces"]="i";echo"<th>".${${"GLOBALS"}["icmskxi"]}[${${"GLOBALS"}["emjflces"]}]."</th>";echo"<th>".${${"GLOBALS"}["ooyfrrjfp"]}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"</tr>";}}}}else{echo"<td colspan='2'><div class='alert alert-danger'><strong>install.sql</strong> file is not available in ./sql/ direcotry</div></td>";}echo"</table>";}public function server(){$this->extensionCheck(["mysqli","curl","gd"]);}public function extensionCheck($extensions=null){$ufugbgjh="fail";$jdcceh="extensions";${"GLOBALS"}["gilobmmjns"]="pass_status";${$ufugbgjh}=null;${${"GLOBALS"}["rauikfrvhc"]}=null;${${"GLOBALS"}["exwuiluk"]}=null;${${"GLOBALS"}["gilobmmjns"]}=null;if(version_compare(phpversion(),"5.5","<")){${"GLOBALS"}["ozzhejy"]="fail_status";${${"GLOBALS"}["wceebxztk"]}[]="You need<strong> PHP 5.5</strong> (or greater;<strong>Current Version:".phpversion().")</strong>";${${"GLOBALS"}["ozzhejy"]}[]="<span class="label label-danger">Error</span>";}else{$jibqdtiys="pass";${$jibqdtiys}[]="You have<strong> PHP 5.5</strong> (or greater; <strong>Current Version:".phpversion().")</strong>";${${"GLOBALS"}["nlzsvc"]}[]="<span class="label label-success\">Success</span>";}if(!ini_get("safe_mode")){${"GLOBALS"}["mygayvf"]="info";ob_start();phpinfo(INFO_MODULES);${${"GLOBALS"}["mygayvf"]}=ob_get_contents();$bgvmtzmr="match";${"GLOBALS"}["wphxrbluj"]="match";$qbcrmd="info";$ecojjiwkg="info";ob_end_clean();${$qbcrmd}=stristr(${$ecojjiwkg},"Client API version");$seukbjt="info";preg_match("/[1-9].[0-9].[1-9][0-9]/",${$seukbjt},${$bgvmtzmr});if(version_compare(${${"GLOBALS"}["wphxrbluj"]}[0],"4.1","<")){$hgkfqkuic="match";${"GLOBALS"}["uokrywo"]="fail";${${"GLOBALS"}["uokrywo"]}[]="You need<strong> MySQL 4.1</strong> (or greater; <strong>Current Version:.".${$hgkfqkuic}[0].")</strong>";${${"GLOBALS"}["exwuiluk"]}[]="<span class="label label-danger">Error</span>";}else{$qhsrcibfene="match";$roakozd="pass";${$roakozd}[]="You have<strong> MySQL 4.1</strong> (or greater; <strong>Current Version:".${$qhsrcibfene}[0].")</strong>";${${"GLOBALS"}["nlzsvc"]}[]="<span class="label label-success">Success</span>";}}else{${${"GLOBALS"}["rauikfrvhc"]}[]="Safe Mode is <strong>on</strong>";${${"GLOBALS"}["nlzsvc"]}[]="<span class=\"label label-success\">Success</span>";}foreach(${$jdcceh} as${${"GLOBALS"}["puwwkigi"]}){${"GLOBALS"}["sohseld"]="extension";if(!extension_loaded(${${"GLOBALS"}["sohseld"]})){$rholvgiwr="fail";${$rholvgiwr}[]=" You are missing the <strong>".${${"GLOBALS"}["puwwkigi"]}."</strong> extension";${${"GLOBALS"}["exwuiluk"]}[]="<span class=\"label label-danger\">Error</span>";}else{$epxkuncgexwa="extension";${"GLOBALS"}["lbvvla"]="pass";${${"GLOBALS"}["lbvvla"]}[]="You have the <strong>".${$epxkuncgexwa}."</strong> extension";$qugyinvsp="pass_status";${$qugyinvsp}[]="<span class=\"label label-success\">Success</span>";}}echo"<table class='table table-bordered table-striped'>";echo"<tr>";echo"<th>Server Requirements</th>";echo"<th class='cwidth'>Status</th>";echo"</tr>";if(isset(${${"GLOBALS"}["wceebxztk"]})){echo"<tr>";echo"<td colspan='2'><div class='alert alert-danger'><strong>Your server does not meet the following requirements.</strong></div></td>";echo"</tr>";for(${${"GLOBALS"}["hyprgjttnppq"]}=0;${${"GLOBALS"}["hyprgjttnppq"]}<sizeof(${${"GLOBALS"}["wceebxztk"]});${${"GLOBALS"}["hyprgjttnppq"]}++){echo"<tr>";$zrnbyqivtrfk="fail";echo"<th>".${$zrnbyqivtrfk}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"<th>".${${"GLOBALS"}["exwuiluk"]}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"</tr>";}if(sizeof(${${"GLOBALS"}["rauikfrvhc"]})>0){$vjjbszpvyxl="i";echo"<tr>";echo"<td colspan='2'><div class='alert alert-success'>The following requirements were successfully met:</div></td>";${"GLOBALS"}["ccclhoq"]="pass";echo"</tr>";for(${${"GLOBALS"}["hyprgjttnppq"]}=0;${$vjjbszpvyxl}<sizeof(${${"GLOBALS"}["ccclhoq"]});${${"GLOBALS"}["hyprgjttnppq"]}++){$uiinygjcdefy="pass_status";echo"<tr>";echo"<th>".${${"GLOBALS"}["rauikfrvhc"]}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"<th>".${$uiinygjcdefy}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"</tr>";}}}else{echo"<tr>";$nzbhuqfdndm="i";echo"<td colspan='2'><div class='alert alert-success'><strong>Congratulations!</strong> Your server meets the requirements to install this script.</td>";$fvecgjxowmkp="i";echo"</tr>";${"GLOBALS"}["wknnngm"]="i";for(${$fvecgjxowmkp}=0;${$nzbhuqfdndm}<sizeof(${${"GLOBALS"}["rauikfrvhc"]});${${"GLOBALS"}["wknnngm"]}++){echo"<tr>";echo"<th>".${${"GLOBALS"}["rauikfrvhc"]}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"<th>".${${"GLOBALS"}["nlzsvc"]}[${${"GLOBALS"}["hyprgjttnppq"]}]."</th>";echo"</tr>";}}echo"</table>";}} 
?>

Function Calls

None

Variables

None

Stats

MD5 8e937d9476cc54da6864a41c28119710
Eval Count 0
Decode Time 56 ms