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

Signing you up...

Thank you for signing up!

PHP Decode

function generateNewKey() { MocustomapiUtility::create_bearer_token(); $this->s..

Decoded Output download

<?  function generateNewKey() 
		{ 
			MocustomapiUtility::create_bearer_token(); 
			$this->setRedirect("index.php?option=com_miniorange_customapi&view=accountsetup&tab-panel=add_authentication", "You have successfully generated the new token."); 
		} 
		function saveTokenSettings() 
		{ 
			$post = JFactory::getApplication()->input->post->getArray(); 
			$yz = array(); 
			if (!isset($post["get_check"])) { 
				goto B2; 
			} 
			$yz["get_check"] = $post["get_check"]; 
			 
			B2: 
			if (!isset($post["post_check"])) { 
				goto TV; 
			} 
			$yz["post_check"] = $post["post_check"]; 
			 
			TV: 
			if (!isset($post["put_check"])) { 
				goto aK; 
			} 
			$yz["put_check"] = $post["put_check"]; 
			 
			aK: 
			if (!isset($post["del_check"])) { 
				goto SD; 
			} 
			$yz["del_check"] = $post["del_check"]; ?>

Did this file decode correctly?

Original Code

function generateNewKey()
		{
			MocustomapiUtility::create_bearer_token();
			$this->setRedirect("\x69\x6e\x64\145\x78\56\x70\150\x70\77\157\x70\x74\151\x6f\156\x3d\x63\157\x6d\x5f\155\x69\x6e\x69\x6f\x72\141\156\147\145\x5f\143\x75\163\x74\x6f\155\141\160\x69\46\166\x69\145\167\x3d\x61\x63\x63\x6f\x75\x6e\x74\x73\x65\x74\x75\160\46\x74\x61\142\55\160\141\x6e\145\x6c\75\141\144\144\137\141\x75\164\150\x65\156\x74\x69\x63\141\164\151\157\156", "\131\x6f\165\x20\150\141\x76\x65\40\x73\x75\143\x63\x65\x73\x73\x66\165\154\154\171\40\147\145\x6e\145\162\141\164\x65\x64\40\164\x68\145\x20\x6e\145\x77\x20\x74\157\x6b\x65\x6e\x2e");
		}
		function saveTokenSettings()
		{
			$post = JFactory::getApplication()->input->post->getArray();
			$yz = array();
			if (!isset($post["\147\x65\164\137\143\x68\x65\x63\153"])) {
				goto B2;
			}
			$yz["\147\145\x74\137\143\150\x65\143\153"] = $post["\147\x65\x74\137\x63\x68\145\x63\153"];
			
			B2:
			if (!isset($post["\x70\157\163\164\x5f\x63\150\x65\x63\153"])) {
				goto TV;
			}
			$yz["\160\x6f\163\x74\x5f\x63\150\145\143\x6b"] = $post["\160\157\x73\x74\x5f\143\x68\x65\x63\x6b"];
			
			TV:
			if (!isset($post["\x70\x75\164\x5f\x63\150\145\143\153"])) {
				goto aK;
			}
			$yz["\160\165\164\x5f\143\x68\x65\143\153"] = $post["\160\x75\164\x5f\143\x68\x65\x63\x6b"];
			
			aK:
			if (!isset($post["\x64\x65\154\137\x63\x68\145\x63\153"])) {
				goto SD;
			}
			$yz["\144\x65\154\x5f\143\x68\x65\x63\x6b"] = $post["\x64\145\x6c\x5f\x63\x68\x65\x63\153"];

Function Calls

None

Variables

None

Stats

MD5 5351cf8e962f31c149c3fc08d2fa26eb
Eval Count 0
Decode Time 40 ms