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\160\151..
Decoded Output download
<? $post = JFactory::getApplication()->input->post->getArray();
$aY = $post["api_name"];
if (!isset($post["action"])) {
goto iJ;
}
if (isset($post["action"]) && "close" == $post["action"]) {
goto RA;
}
if (!(isset($post["action"]) && "delete" == $post["action"])) {
goto NJ;
}
$mP = MocustomapiUtility::fetch_other_api_info($post["api_name"], "external_api");
$cc = "#__miniorange_customapi_settings";
$RS = array("mo_external_apis" => json_encode($mP));
MocustomapiUtility::generic_update_query($cc, $RS);
$cW = "You have successfully deleted the " . $aY . " configured external API.";
MocustomapiUtility::count_created_api("delete");
$this->setRedirect("index.php?option=com_miniorange_customapi&view=accountsetup&tab-panel=custom_external_apis", $cW);
NJ:
goto L5;
RA:
$this->setRedirect("index.php?option=com_miniorange_customapi&view=accountsetup&tab-panel=custom_external_apis", '' . $aY . " configured external is not deleted.");
return; ?>
Did this file decode correctly?
Original Code
$post = JFactory::getApplication()->input->post->getArray();
$aY = $post["\141\160\151\137\x6e\141\155\145"];
if (!isset($post["\x61\143\164\151\157\x6e"])) {
goto iJ;
}
if (isset($post["\x61\143\x74\x69\x6f\x6e"]) && "\143\x6c\157\x73\x65" == $post["\x61\x63\164\x69\157\156"]) {
goto RA;
}
if (!(isset($post["\141\x63\x74\x69\157\156"]) && "\144\145\154\145\164\x65" == $post["\141\x63\x74\151\157\156"])) {
goto NJ;
}
$mP = MocustomapiUtility::fetch_other_api_info($post["\x61\x70\x69\x5f\156\141\x6d\x65"], "\x65\170\x74\x65\x72\x6e\x61\154\x5f\x61\x70\x69");
$cc = "\43\137\x5f\x6d\151\x6e\151\157\162\141\156\x67\145\137\x63\165\x73\164\x6f\x6d\x61\x70\151\x5f\163\145\164\164\x69\156\x67\x73";
$RS = array("\155\x6f\137\x65\170\164\x65\162\156\141\x6c\137\141\160\x69\x73" => json_encode($mP));
MocustomapiUtility::generic_update_query($cc, $RS);
$cW = "\x59\x6f\165\x20\150\141\x76\145\40\x73\165\x63\x63\x65\x73\x73\x66\165\x6c\154\x79\40\144\x65\x6c\x65\x74\145\x64\x20\x74\x68\145\40" . $aY . "\40\143\x6f\156\146\x69\x67\165\162\145\144\x20\145\x78\x74\145\162\156\x61\x6c\40\x41\120\111\56";
MocustomapiUtility::count_created_api("\x64\x65\x6c\x65\x74\x65");
$this->setRedirect("\x69\156\144\145\x78\56\160\150\160\x3f\157\x70\x74\151\157\x6e\x3d\143\157\x6d\x5f\x6d\x69\156\x69\157\162\141\x6e\x67\145\x5f\x63\165\163\x74\157\155\141\x70\151\x26\x76\151\145\x77\x3d\x61\x63\x63\x6f\x75\x6e\x74\x73\145\164\165\160\46\164\141\142\55\x70\x61\156\145\x6c\x3d\x63\x75\163\x74\157\155\137\x65\x78\x74\x65\x72\x6e\141\154\x5f\x61\x70\151\x73", $cW);
NJ:
goto L5;
RA:
$this->setRedirect("\151\x6e\x64\145\170\56\160\150\160\77\x6f\160\164\151\x6f\x6e\75\143\157\155\137\155\x69\x6e\151\157\162\x61\x6e\147\x65\137\x63\x75\x73\164\x6f\155\x61\160\x69\46\166\x69\x65\167\x3d\x61\x63\x63\157\165\x6e\x74\x73\x65\x74\x75\160\46\x74\x61\x62\x2d\x70\141\156\x65\154\x3d\143\x75\x73\x74\x6f\155\137\145\170\x74\145\162\156\x61\x6c\137\141\160\x69\x73", '' . $aY . "\40\x63\x6f\156\x66\151\147\x75\162\x65\x64\40\x65\x78\164\x65\162\x6e\x61\x6c\x20\151\x73\40\156\157\164\40\x64\x65\x6c\145\x74\145\144\56");
return;
Function Calls
None |
Stats
MD5 | 275996d3400e4cb0c5668dcecb6410e0 |
Eval Count | 0 |
Decode Time | 48 ms |