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 aplGetLicenseData($MYSQLI_LINK = null) { $settings_row = array(); if (..
Decoded Output download
<? function aplGetLicenseData($MYSQLI_LINK = null)
{
$settings_row = array();
if (!(APL_STORAGE == "DATABASE")) {
goto gmMM9;
}
$table_exist = @mysqli_query($MYSQLI_LINK, "SHOW TABLES LIKE '" . APL_DATABASE_TABLE . "'");
if (!@mysqli_fetch_assoc($table_exist)) {
goto uCin1;
}
$settings_results = @mysqli_query($MYSQLI_LINK, "SELECT * FROM " . APL_DATABASE_TABLE);
$settings_row = @mysqli_fetch_assoc($settings_results);
uCin1:
gmMM9:
if (!(APL_STORAGE == "FILE")) {
goto yEUxA;
}
$settings_row = aplParseLicenseFile();
yEUxA:
return $settings_row;
}
function aplCheckConnection()
{
$notifications_array = array();
$content_array = aplCustomPost(APL_ROOT_URL . "/apl_callbacks/connection_test.php", "product_id=" . rawurlencode(APL_PRODUCT_ID) . "&connection_hash=" . rawurlencode(hash("sha256", "connection_test")));
if (!empty($content_array)) {
goto gRz5c;
}
$notifications_array["notification_case"] = "notification_no_connection";
$notifications_array["notification_text"] = APL_NOTIFICATION_NO_CONNECTION;
goto PZ1Sb;
gRz5c:
if (!($content_array["body"] != "<connection_test>OK</connection_test>")) {
goto exAti;
}
$notifications_array["notification_case"] = "notification_invalid_response";
$notifications_array["notification_text"] = APL_NOTIFICATION_INVALID_RESPONSE;
exAti:
PZ1Sb:
return $notifications_array;
} ?>
Did this file decode correctly?
Original Code
function aplGetLicenseData($MYSQLI_LINK = null)
{
$settings_row = array();
if (!(APL_STORAGE == "\104\x41\x54\x41\x42\x41\123\105")) {
goto gmMM9;
}
$table_exist = @mysqli_query($MYSQLI_LINK, "\123\x48\117\127\40\x54\101\102\x4c\x45\x53\x20\114\x49\113\x45\x20\x27" . APL_DATABASE_TABLE . "\x27");
if (!@mysqli_fetch_assoc($table_exist)) {
goto uCin1;
}
$settings_results = @mysqli_query($MYSQLI_LINK, "\123\x45\x4c\105\x43\124\x20\52\x20\x46\122\117\115\x20" . APL_DATABASE_TABLE);
$settings_row = @mysqli_fetch_assoc($settings_results);
uCin1:
gmMM9:
if (!(APL_STORAGE == "\106\111\114\105")) {
goto yEUxA;
}
$settings_row = aplParseLicenseFile();
yEUxA:
return $settings_row;
}
function aplCheckConnection()
{
$notifications_array = array();
$content_array = aplCustomPost(APL_ROOT_URL . "\57\x61\x70\x6c\x5f\x63\141\154\154\142\x61\x63\153\163\x2f\143\157\x6e\156\x65\143\x74\151\x6f\x6e\137\164\x65\163\164\56\x70\x68\x70", "\160\162\157\x64\165\143\x74\x5f\x69\144\x3d" . rawurlencode(APL_PRODUCT_ID) . "\46\143\157\x6e\x6e\x65\x63\x74\151\157\156\x5f\150\141\x73\150\x3d" . rawurlencode(hash("\163\x68\141\x32\65\66", "\143\157\156\x6e\x65\x63\164\151\157\156\x5f\x74\x65\x73\164")));
if (!empty($content_array)) {
goto gRz5c;
}
$notifications_array["\156\157\164\151\146\151\143\x61\164\x69\x6f\156\x5f\143\x61\163\145"] = "\156\x6f\164\151\146\x69\143\x61\x74\x69\x6f\156\137\156\x6f\x5f\x63\157\x6e\x6e\145\143\164\151\x6f\x6e";
$notifications_array["\156\x6f\x74\x69\146\151\143\x61\x74\x69\x6f\156\137\x74\x65\x78\164"] = APL_NOTIFICATION_NO_CONNECTION;
goto PZ1Sb;
gRz5c:
if (!($content_array["\x62\x6f\x64\171"] != "\74\143\157\156\x6e\145\x63\x74\151\157\156\137\164\145\163\164\76\117\x4b\x3c\57\x63\157\156\156\145\x63\164\x69\x6f\156\x5f\164\x65\163\x74\76")) {
goto exAti;
}
$notifications_array["\156\157\x74\x69\146\151\143\x61\x74\151\157\x6e\x5f\143\141\163\145"] = "\156\157\164\x69\146\x69\143\x61\x74\x69\x6f\x6e\137\x69\156\166\141\154\151\x64\137\162\145\x73\160\x6f\x6e\163\x65";
$notifications_array["\156\x6f\164\x69\146\x69\143\141\164\x69\157\156\137\164\x65\170\164"] = APL_NOTIFICATION_INVALID_RESPONSE;
exAti:
PZ1Sb:
return $notifications_array;
}
Function Calls
None |
Stats
MD5 | a1a901fed942712671891206a18f4602 |
Eval Count | 0 |
Decode Time | 50 ms |