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 aplVerifyEnvatoPurchase($LICENSE_CODE = null) { $notifications_array = array(..
Decoded Output download
<? function aplVerifyEnvatoPurchase($LICENSE_CODE = null)
{
$notifications_array = array();
$content_array = aplCustomPost(APL_ROOT_URL . "/apl_callbacks/verify_envato_purchase.php", "product_id=" . rawurlencode(APL_PRODUCT_ID) . "&license_code=" . rawurlencode($LICENSE_CODE) . "&connection_hash=" . rawurlencode(hash("sha256", "verify_envato_purchase")));
if (!empty($content_array)) {
goto oFgJ8;
}
$notifications_array["notification_case"] = "notification_no_connection";
$notifications_array["notification_text"] = APL_NOTIFICATION_NO_CONNECTION;
goto Mn1rm;
oFgJ8:
if (!($content_array["body"] != "<verify_envato_purchase>OK</verify_envato_purchase>")) {
goto wQVXW;
}
$notifications_array["notification_case"] = "notification_invalid_response";
$notifications_array["notification_text"] = APL_NOTIFICATION_INVALID_RESPONSE;
wQVXW:
Mn1rm:
return $notifications_array;
} ?>
Did this file decode correctly?
Original Code
function aplVerifyEnvatoPurchase($LICENSE_CODE = null)
{
$notifications_array = array();
$content_array = aplCustomPost(APL_ROOT_URL . "\x2f\141\x70\x6c\x5f\x63\141\x6c\154\x62\x61\x63\153\x73\57\166\x65\162\x69\146\171\x5f\x65\x6e\x76\141\x74\157\x5f\x70\165\162\x63\x68\141\163\x65\56\160\150\160", "\160\x72\157\x64\x75\x63\164\137\x69\x64\75" . rawurlencode(APL_PRODUCT_ID) . "\x26\x6c\x69\143\145\x6e\x73\x65\x5f\143\x6f\x64\x65\x3d" . rawurlencode($LICENSE_CODE) . "\x26\x63\x6f\x6e\156\x65\x63\x74\151\157\156\137\x68\141\163\x68\75" . rawurlencode(hash("\163\150\x61\62\x35\66", "\x76\x65\162\x69\146\x79\137\x65\156\x76\x61\164\x6f\137\x70\x75\x72\143\x68\x61\x73\145")));
if (!empty($content_array)) {
goto oFgJ8;
}
$notifications_array["\156\157\x74\x69\146\151\x63\x61\x74\151\x6f\x6e\x5f\143\141\x73\145"] = "\156\157\x74\151\146\x69\143\141\164\151\x6f\156\137\156\x6f\137\143\157\156\x6e\145\x63\164\151\x6f\156";
$notifications_array["\156\x6f\x74\x69\x66\x69\x63\x61\164\x69\157\156\x5f\x74\x65\x78\x74"] = APL_NOTIFICATION_NO_CONNECTION;
goto Mn1rm;
oFgJ8:
if (!($content_array["\x62\157\x64\171"] != "\74\166\x65\162\151\x66\x79\137\145\156\166\141\x74\x6f\137\160\x75\162\143\x68\x61\x73\x65\76\117\113\x3c\57\x76\x65\x72\x69\146\x79\x5f\x65\156\166\x61\x74\157\x5f\x70\x75\162\143\150\x61\x73\145\76")) {
goto wQVXW;
}
$notifications_array["\x6e\157\x74\151\146\x69\143\x61\x74\x69\157\156\137\143\x61\x73\145"] = "\x6e\x6f\164\151\146\x69\x63\x61\x74\151\x6f\x6e\137\x69\156\166\x61\x6c\151\144\x5f\x72\x65\163\x70\x6f\x6e\x73\145";
$notifications_array["\156\157\164\x69\x66\x69\143\x61\x74\151\157\156\137\x74\x65\170\164"] = APL_NOTIFICATION_INVALID_RESPONSE;
wQVXW:
Mn1rm:
return $notifications_array;
}
Function Calls
None |
Stats
MD5 | 24a5162b9d0cedaffddd1f33d20d734f |
Eval Count | 0 |
Decode Time | 52 ms |