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["\x61\x70\151..

Decoded Output download

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

Did this file decode correctly?

Original Code

$post = JFactory::getApplication()->input->post->getArray();
			$aY = $post["\x61\x70\151\x5f\156\x61\x6d\x65"];
			if (!isset($post["\141\143\164\x69\x6f\x6e"])) {
				goto mP;
			}
			if (isset($post["\141\x63\164\x69\157\x6e"]) && "\x63\154\157\x73\145" == $post["\x61\x63\164\151\x6f\x6e"]) {
				goto p9;
			}
			if (!(isset($post["\141\x63\164\151\x6f\x6e"]) && "\x64\145\x6c\145\x74\145" == $post["\x61\x63\x74\151\157\x6e"])) {
				goto vO;
			}
			$mP = MocustomapiUtility::fetch_other_api_info($post["\141\x70\151\x5f\x6e\x61\155\145"], "\x73\x71\x6c");
			$cc = "\x23\x5f\137\x6d\x69\156\151\157\x72\141\156\x67\145\137\x63\165\x73\x74\x6f\x6d\x61\x70\151\137\163\x65\164\x74\151\156\147\163";
			$RS = array("\155\157\x5f\x63\x75\x73\x74\x6f\x6d\x5f\163\x71\x6c\x5f\x61\160\x69\163" => json_encode($mP));
			MocustomapiUtility::generic_update_query($cc, $RS);
			$cW = "\131\x6f\165\40\150\x61\166\145\x20\163\x75\143\x63\145\x73\x73\x66\x75\154\x6c\x79\x20\144\145\154\x65\164\145\x64\x20\164\150\x65\x20" . $aY . "\40\x53\x51\x4c\40\101\x50\111\x2e";
			MocustomapiUtility::count_created_api("\144\x65\154\x65\164\145");
			$this->setRedirect("\151\156\144\x65\170\x2e\x70\150\160\x3f\x6f\x70\x74\151\x6f\x6e\75\x63\x6f\155\137\x6d\x69\x6e\x69\157\162\141\x6e\x67\x65\x5f\143\165\163\164\157\x6d\x61\160\x69\x26\166\x69\x65\167\x3d\141\143\143\x6f\165\x6e\x74\163\x65\x74\x75\160\46\164\141\142\x2d\160\x61\156\x65\x6c\75\x63\162\x65\141\164\145\x5f\x73\161\x6c\137\x61\x70\x69\163", $cW);
			
			vO:
			goto rC;
			
			p9:
			$this->setRedirect("\151\x6e\x64\x65\170\x2e\x70\150\x70\77\x6f\160\164\151\157\x6e\x3d\x63\157\155\137\155\151\x6e\151\x6f\x72\x61\x6e\147\145\137\x63\x75\x73\164\157\155\141\160\151\46\x76\151\145\167\75\x61\x63\x63\157\x75\156\164\x73\x65\164\x75\x70\46\x74\x61\x62\x2d\x70\x61\156\x65\x6c\75\x63\162\145\x61\x74\x65\137\163\x71\154\137\141\x70\151\x73", '' . $aY . "\x20\x53\x51\114\40\101\x50\x49\x20\151\x73\x20\x6e\157\164\40\144\145\x6c\145\164\145\144\56");
			return;

Function Calls

None

Variables

None

Stats

MD5 3afc65d3e167f633febd1ae1c060cd83
Eval Count 0
Decode Time 48 ms