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

Signing you up...

Thank you for signing up!

PHP Decode

$post = JFactory::getApplication()->input->post->getArray(); $aY = $post["\141\x70\151..

Decoded Output download

<?  $post = JFactory::getApplication()->input->post->getArray(); 
			$aY = $post["api_name"]; 
			if (!isset($post["action"])) { 
				goto JP; 
			} 
			if (isset($post["action"]) && "close" == $post["action"]) { 
				goto RU; 
			} 
			if (!(isset($post["action"]) && "delete" == $post["action"])) { 
				goto pP; 
			} 
			$mP = MocustomapiUtility::fetch_other_api_info($post["api_name"], "custom"); 
			$cc = "#__miniorange_customapi_settings"; 
			$RS = array("mo_custom_apis" => json_encode($mP)); 
			$cW = "You have successfully deleted the " . $aY . " custom API."; 
			MocustomapiUtility::generic_update_query($cc, $RS); 
			MocustomapiUtility::count_created_api("delete"); 
			$this->setRedirect("index.php?option=com_miniorange_customapi&view=accountsetup&tab-panel=show_custom_apis", $cW); 
			pP: 
			goto G4; 
			RU: 
			$this->setRedirect("index.php?option=com_miniorange_customapi&view=accountsetup&tab-panel=show_custom_apis", '' . $aY . " custom API is not deleted."); 
			return; ?>

Did this file decode correctly?

Original Code

$post = JFactory::getApplication()->input->post->getArray();
			$aY = $post["\141\x70\151\137\x6e\141\x6d\145"];
			if (!isset($post["\x61\143\x74\151\x6f\x6e"])) {
				goto JP;
			}
			if (isset($post["\x61\143\164\x69\x6f\156"]) && "\143\x6c\x6f\x73\x65" == $post["\141\143\x74\151\157\x6e"]) {
				goto RU;
			}
			if (!(isset($post["\x61\143\x74\151\x6f\156"]) && "\x64\x65\x6c\145\164\x65" == $post["\x61\x63\164\x69\x6f\x6e"])) {
				goto pP;
			}
			$mP = MocustomapiUtility::fetch_other_api_info($post["\141\x70\x69\137\x6e\x61\x6d\145"], "\x63\165\163\x74\157\x6d");
			$cc = "\43\137\137\155\151\156\x69\x6f\x72\x61\x6e\x67\145\x5f\143\x75\163\164\157\x6d\141\160\151\137\163\145\x74\164\151\x6e\147\163";
			$RS = array("\x6d\157\x5f\143\x75\x73\x74\x6f\155\137\x61\x70\x69\163" => json_encode($mP));
			$cW = "\x59\157\165\40\x68\x61\166\145\x20\163\x75\143\143\145\163\163\x66\165\154\x6c\x79\x20\x64\145\x6c\145\x74\145\144\x20\x74\x68\145\x20" . $aY . "\40\143\x75\163\x74\x6f\155\40\x41\120\x49\x2e";
			MocustomapiUtility::generic_update_query($cc, $RS);
			MocustomapiUtility::count_created_api("\144\145\154\x65\x74\145");
			$this->setRedirect("\x69\x6e\x64\x65\x78\56\x70\x68\x70\x3f\157\x70\164\x69\x6f\x6e\75\143\x6f\x6d\x5f\x6d\151\156\x69\x6f\x72\141\156\147\145\137\x63\x75\x73\x74\157\155\141\160\x69\46\166\151\145\x77\75\141\143\143\157\165\156\x74\163\x65\164\165\x70\x26\x74\141\x62\55\x70\x61\x6e\145\154\x3d\163\150\x6f\167\137\x63\x75\x73\x74\157\x6d\137\141\x70\x69\x73", $cW);
			pP:
			goto G4;
			RU:
			$this->setRedirect("\x69\156\x64\145\x78\56\160\x68\x70\x3f\x6f\160\x74\151\x6f\156\x3d\x63\157\155\137\x6d\x69\x6e\x69\157\162\141\x6e\147\x65\x5f\x63\x75\163\x74\x6f\155\141\160\151\46\166\x69\145\167\75\x61\x63\x63\x6f\x75\156\x74\163\145\164\165\160\46\x74\141\142\55\160\x61\156\145\x6c\75\x73\150\x6f\167\x5f\143\x75\x73\164\x6f\x6d\x5f\x61\160\151\x73", '' . $aY . "\40\x63\x75\x73\x74\x6f\x6d\x20\101\120\111\40\151\x73\x20\156\x6f\x74\40\x64\145\154\145\x74\145\x64\56");
			return;

Function Calls

None

Variables

None

Stats

MD5 fe4f61e7814770f6cbfdb0ac846676f9
Eval Count 0
Decode Time 55 ms