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

Signing you up...

Thank you for signing up!

PHP Decode

public function validate() { ${"G\x4c\x4fB\x41L\x53"}["\x63t\x78s\x6f\x6c\x77\x62\x73"]..

Decoded Output download

<?  public function validate() { 
		${"GLOBALS"}["ctxsolwbs"]="purchase_valid";${"GLOBALS"}["zdgusniz"]="purchase_code";$siogdmntd="purchase_code";$cxnuajdphog="purchase_code";${$cxnuajdphog}=get_site_option("scrapes_code");${${"GLOBALS"}["ctxsolwbs"]}=get_site_option("scrapes_valid");if(${${"GLOBALS"}["ctxsolwbs"]}==1&&strlen(${${"GLOBALS"}["zdgusniz"]})==36&&preg_match("/[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}/",${$siogdmntd})){return true;}else{return false;} ?>

Did this file decode correctly?

Original Code

public function validate() {
		${"G\x4c\x4fB\x41L\x53"}["\x63t\x78s\x6f\x6c\x77\x62\x73"]="\x70\x75\x72\x63h\x61\x73e\x5fva\x6ci\x64";${"GL\x4fB\x41LS"}["\x7adg\x75s\x6eiz"]="\x70u\x72c\x68a\x73e_\x63\x6f\x64\x65";$siogdmntd="\x70\x75rc\x68\x61\x73\x65\x5f\x63\x6fd\x65";$cxnuajdphog="\x70urchas\x65\x5f\x63o\x64e";${$cxnuajdphog}=get_site_option("sc\x72\x61\x70es_\x63\x6f\x64e");${${"GL\x4f\x42\x41L\x53"}["c\x74\x78\x73\x6f\x6c\x77bs"]}=get_site_option("scr\x61\x70\x65\x73\x5f\x76\x61l\x69\x64");if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["c\x74x\x73\x6f\x6cw\x62\x73"]}==1&&strlen(${${"G\x4c\x4f\x42\x41\x4cS"}["zdgu\x73niz"]})==36&&preg_match("/[a-\x7a\x41-Z\x30-\x39]{\x38}-[\x61-\x7a\x41-Z\x30-\x39]{\x34}-[\x61-\x7aA-Z\x30-9]{\x34}-[a-zA-\x5a0-9]{4}-[\x61-zA-Z0-9]{12}/",${$siogdmntd})){return true;}else{return false;}

Function Calls

None

Variables

None

Stats

MD5 9cd9bf097f27d1648c0ff12bbb94e636
Eval Count 0
Decode Time 73 ms