Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
switch ($hJ) { case "\x49\116\126\x41\114\x49\x44\137\x46\117\x52\x4d\x41\x54..
Decoded Output download
<? switch ($hJ) {
case "INVALID_FORMAT":
$tx = array("title" => "invalid_format", "error_description" => "Required arguments are missing or does not passed in the correct format.");
goto oc;
case "INVALID_FORMAT_POST":
$tx = array("title" => "invalid_format", "error_description" => "Please pass the data in body format");
goto oc;
case "INVALID_FORMAT_GET":
$tx = array("title" => "invalid_format", "error_description" => "Please pass the data in query parameter format.");
goto oc;
case "INVALID_FORMAT_PUT":
$tx = array("title" => "invalid_format", "error_description" => "Required arguments are missing or does not passed in the correct format.");
goto oc;
case "INVALID_FORMAT_DELETE":
$tx = array("title" => "invalid_format", "error_description" => "Required arguments are missing or does not passed in the correct format.");
goto oc;
case "RESOURCE_NOT_FOUND":
$tx = array("title" => "Resource not found", "code" => "404");
goto oc;
case "INVALID_DATA_FORMAT":
$tx = array("title" => "Invalid data format", "code" => "400", "error_description" => "Sorry, You have passed wrong values");
goto oc;
case "TOKEN_ERROR":
$tx = array("title" => "Forbidden", "code" => "401", "error_description" => "Please provide the token.");
goto oc;
case "INVALID_TOKEN":
$tx = array("title" => "INVALID_TOKEN", "code" => "401", "error_description" => "Sorry, you are using invalid token.");
goto oc;
case "ACTIVATE_PLUGIN":
$tx = array("title" => "Activate the plugin", "error_description" => "Please first login in the plugin and actiavate the plugin using license key.");
goto oc;
case "INVALID_BODY_FORMAT":
$tx = array("title" => "Invalid data format", "code" => "400", "error_description" => "Sorry, You have passed the body data in the wrong format.");
goto oc;
case "INVALID_FORMAT_CUSTOM_PARAMS":
$tx = array("title" => "Invalid data format", "error_description" => "You are passing custom parameters without enabling the custom query parameters checkbox while creating API.");
goto oc;
case "EMPTY_CUSTOM_PARAMS":
$tx = array("title" => "Invalid data format", "error_description" => "You haven't passed the query parameters required for the API.");
goto oc;
case "DEL_RECORD_NOT_EXIST":
$tx = array("title" => "Record doesn't exist", "error_description" => "The record you want to delete doesn't exist in the table");
goto oc;
case "UPDATE_RECORD_NOT_EXIST":
$tx = array("title" => "Record doesn't exist", "error_description" => "The record you want to update doesn't exist in the table");
goto oc;
} ?>
Did this file decode correctly?
Original Code
switch ($hJ) {
case "\x49\116\126\x41\114\x49\x44\137\x46\117\x52\x4d\x41\x54":
$tx = array("\164\x69\164\154\x65" => "\x69\156\166\141\154\x69\144\137\146\x6f\162\155\141\x74", "\145\x72\162\157\x72\x5f\144\x65\x73\143\x72\x69\160\164\151\157\156" => "\122\145\x71\x75\151\162\x65\x64\40\x61\162\147\165\155\x65\x6e\164\163\40\141\162\145\x20\155\151\163\163\151\x6e\147\x20\x6f\162\x20\144\x6f\145\163\x20\156\157\x74\x20\x70\x61\x73\163\x65\144\40\151\156\x20\x74\150\145\x20\143\157\162\x72\145\143\164\x20\x66\x6f\x72\x6d\x61\x74\x2e");
goto oc;
case "\x49\x4e\x56\x41\114\111\x44\137\106\x4f\122\x4d\x41\124\137\120\x4f\123\124":
$tx = array("\164\151\x74\154\x65" => "\151\156\x76\141\x6c\x69\144\137\146\x6f\162\x6d\x61\x74", "\145\162\x72\157\162\137\x64\145\x73\143\162\151\160\x74\x69\157\x6e" => "\120\154\x65\141\163\x65\x20\160\x61\163\x73\40\164\x68\145\x20\x64\141\164\141\40\151\156\x20\x62\x6f\144\171\x20\x66\x6f\x72\x6d\141\164");
goto oc;
case "\111\x4e\126\101\114\111\x44\x5f\x46\117\122\x4d\101\124\137\107\x45\x54":
$tx = array("\164\151\164\x6c\145" => "\x69\156\x76\141\x6c\151\144\137\146\157\162\x6d\x61\164", "\145\162\x72\157\162\137\x64\145\x73\143\x72\x69\x70\164\151\157\156" => "\x50\154\x65\x61\x73\145\40\160\141\163\x73\40\x74\x68\x65\x20\x64\141\x74\141\40\x69\156\x20\x71\165\x65\162\x79\x20\160\x61\x72\141\155\x65\164\x65\x72\x20\x66\157\x72\x6d\x61\x74\56");
goto oc;
case "\x49\116\126\101\x4c\x49\104\137\106\117\122\x4d\101\x54\x5f\120\125\x54":
$tx = array("\164\x69\164\x6c\145" => "\151\x6e\166\x61\x6c\151\144\137\146\x6f\x72\x6d\141\x74", "\145\162\162\x6f\162\137\144\145\x73\x63\x72\151\x70\164\x69\x6f\x6e" => "\122\145\x71\x75\x69\162\x65\x64\40\141\162\x67\x75\x6d\x65\x6e\x74\163\x20\141\162\145\x20\x6d\151\x73\163\x69\156\147\x20\157\x72\40\x64\157\145\x73\40\x6e\x6f\x74\40\x70\x61\163\x73\x65\144\40\x69\156\40\164\150\x65\40\x63\x6f\162\162\x65\143\x74\x20\x66\157\162\155\141\x74\x2e");
goto oc;
case "\x49\x4e\126\101\x4c\x49\104\137\x46\x4f\122\115\101\x54\137\x44\x45\x4c\x45\124\105":
$tx = array("\164\x69\x74\x6c\x65" => "\x69\156\166\x61\154\151\144\137\x66\x6f\x72\155\x61\x74", "\145\162\162\157\x72\137\144\145\163\x63\162\151\160\164\x69\x6f\156" => "\x52\145\161\x75\x69\162\x65\144\40\x61\162\x67\165\155\x65\x6e\x74\163\x20\x61\x72\x65\x20\155\x69\163\163\x69\x6e\x67\x20\157\x72\x20\x64\157\x65\x73\40\x6e\x6f\x74\x20\x70\x61\x73\x73\x65\x64\x20\x69\156\x20\164\x68\145\40\143\157\162\x72\145\x63\x74\x20\x66\157\x72\x6d\x61\x74\56");
goto oc;
case "\122\x45\123\x4f\125\122\103\105\137\x4e\x4f\x54\137\x46\117\x55\116\x44":
$tx = array("\164\x69\164\x6c\145" => "\122\145\163\157\165\162\143\145\x20\x6e\x6f\x74\40\x66\157\x75\x6e\x64", "\x63\x6f\144\x65" => "\x34\x30\64");
goto oc;
case "\111\116\126\x41\x4c\x49\x44\x5f\104\101\124\x41\137\106\117\122\x4d\101\124":
$tx = array("\164\151\x74\154\145" => "\111\x6e\166\x61\154\x69\x64\x20\x64\141\164\141\40\146\x6f\162\155\x61\x74", "\143\157\144\x65" => "\x34\x30\60", "\145\x72\162\x6f\x72\x5f\144\145\163\x63\162\x69\160\x74\151\157\156" => "\x53\x6f\x72\162\171\x2c\x20\131\157\165\x20\150\141\x76\x65\x20\160\x61\x73\163\x65\x64\40\167\x72\157\x6e\147\x20\166\x61\x6c\165\145\163");
goto oc;
case "\x54\x4f\113\x45\116\x5f\105\x52\x52\x4f\122":
$tx = array("\x74\x69\164\154\145" => "\x46\x6f\x72\142\151\144\144\x65\156", "\x63\157\x64\145" => "\64\60\x31", "\x65\x72\x72\157\162\137\144\145\x73\143\x72\x69\x70\164\151\157\156" => "\120\x6c\x65\x61\x73\145\x20\x70\x72\x6f\x76\151\144\x65\40\164\150\145\40\164\157\x6b\145\x6e\56");
goto oc;
case "\x49\116\126\101\x4c\111\x44\x5f\x54\x4f\x4b\105\x4e":
$tx = array("\x74\151\164\x6c\x65" => "\x49\116\x56\101\x4c\111\104\137\124\x4f\x4b\x45\x4e", "\x63\157\144\145" => "\x34\x30\x31", "\x65\x72\x72\x6f\162\x5f\144\145\163\143\162\x69\x70\164\151\157\x6e" => "\x53\x6f\x72\162\x79\x2c\40\x79\157\165\x20\141\x72\145\x20\165\163\x69\156\x67\40\x69\156\x76\141\x6c\x69\144\x20\x74\157\x6b\145\x6e\x2e");
goto oc;
case "\x41\x43\124\111\126\101\x54\x45\137\120\x4c\125\x47\111\x4e":
$tx = array("\164\151\x74\154\145" => "\x41\x63\x74\151\166\x61\x74\x65\x20\164\150\145\40\x70\154\165\x67\151\156", "\145\162\x72\x6f\x72\x5f\x64\x65\163\143\162\x69\x70\x74\151\x6f\x6e" => "\120\x6c\x65\x61\x73\145\40\x66\x69\x72\163\x74\40\154\x6f\147\151\156\x20\151\156\40\164\x68\x65\x20\160\x6c\165\147\151\156\40\141\156\144\40\141\x63\x74\x69\141\166\141\164\145\x20\x74\x68\145\40\160\x6c\x75\147\151\156\40\165\163\151\156\147\40\x6c\151\x63\x65\x6e\163\x65\x20\153\145\x79\56");
goto oc;
case "\111\x4e\x56\101\114\111\x44\x5f\102\x4f\104\x59\x5f\x46\117\x52\x4d\x41\x54":
$tx = array("\164\151\164\154\145" => "\x49\x6e\x76\x61\154\x69\x64\40\144\x61\164\x61\40\x66\157\x72\x6d\x61\164", "\143\x6f\144\x65" => "\x34\60\60", "\x65\x72\162\x6f\162\x5f\144\x65\163\143\x72\x69\x70\164\151\x6f\156" => "\x53\157\162\x72\171\54\x20\131\157\x75\x20\150\141\166\145\x20\x70\x61\163\163\145\x64\x20\164\150\145\40\142\157\x64\171\40\x64\x61\x74\141\x20\x69\156\x20\164\x68\x65\40\167\x72\157\x6e\147\40\x66\157\x72\x6d\x61\164\56");
goto oc;
case "\111\x4e\x56\x41\x4c\x49\104\137\x46\x4f\x52\115\x41\124\137\x43\x55\x53\x54\117\115\137\120\x41\122\101\x4d\x53":
$tx = array("\x74\151\x74\154\145" => "\x49\x6e\166\141\x6c\151\144\40\x64\x61\x74\141\x20\x66\157\x72\x6d\141\x74", "\x65\x72\x72\x6f\162\x5f\x64\145\163\x63\x72\x69\x70\x74\x69\157\x6e" => "\x59\157\x75\x20\141\x72\145\x20\160\x61\163\x73\x69\156\147\x20\143\x75\x73\164\157\x6d\40\160\x61\162\x61\155\x65\x74\145\x72\163\x20\x77\151\x74\150\x6f\x75\164\x20\145\156\141\x62\154\151\156\x67\x20\164\150\145\40\143\165\x73\164\x6f\155\40\x71\x75\x65\x72\171\40\x70\141\x72\x61\x6d\x65\x74\145\162\x73\x20\143\x68\145\143\x6b\142\157\170\x20\167\x68\x69\x6c\x65\40\x63\162\145\141\164\151\x6e\147\x20\x41\120\x49\x2e");
goto oc;
case "\105\115\x50\x54\131\x5f\103\x55\123\x54\x4f\x4d\x5f\x50\x41\x52\x41\115\x53":
$tx = array("\x74\151\x74\x6c\145" => "\111\156\166\x61\x6c\151\x64\40\x64\x61\x74\141\x20\146\157\x72\155\141\164", "\x65\162\162\157\162\137\144\145\163\x63\162\x69\x70\164\151\157\156" => "\131\x6f\165\x20\150\141\x76\x65\156\x27\164\40\x70\141\x73\x73\x65\x64\x20\164\150\x65\x20\x71\x75\145\x72\171\x20\160\141\162\141\155\x65\x74\145\162\163\40\x72\145\x71\x75\151\162\x65\x64\x20\146\157\x72\40\164\x68\145\x20\x41\x50\111\x2e");
goto oc;
case "\x44\105\x4c\137\122\x45\103\117\x52\x44\x5f\x4e\x4f\124\137\x45\x58\111\123\124":
$tx = array("\164\x69\164\154\145" => "\122\145\x63\x6f\x72\144\40\x64\157\x65\163\156\x27\x74\x20\x65\x78\151\163\x74", "\x65\162\x72\x6f\x72\x5f\144\x65\163\143\x72\151\x70\x74\x69\x6f\x6e" => "\x54\x68\x65\x20\162\x65\143\x6f\x72\144\40\x79\157\x75\40\x77\141\x6e\164\x20\164\x6f\x20\x64\x65\x6c\x65\164\x65\40\144\x6f\145\163\156\x27\x74\x20\x65\170\x69\163\x74\40\151\156\x20\164\x68\x65\40\x74\x61\142\154\x65");
goto oc;
case "\125\120\104\x41\x54\105\x5f\x52\105\x43\x4f\122\x44\x5f\116\x4f\124\137\x45\130\111\x53\124":
$tx = array("\x74\x69\164\154\x65" => "\122\145\143\x6f\162\144\40\144\x6f\145\x73\x6e\47\x74\40\145\x78\151\x73\164", "\145\162\162\157\x72\x5f\x64\145\163\x63\x72\151\160\x74\x69\157\156" => "\124\150\x65\x20\x72\145\x63\157\x72\144\40\x79\157\165\x20\167\x61\x6e\164\40\x74\x6f\x20\x75\x70\x64\x61\x74\x65\x20\144\157\x65\163\x6e\47\x74\x20\x65\170\151\163\164\40\151\156\x20\x74\x68\x65\40\164\141\142\154\145");
goto oc;
}
Function Calls
None |
Stats
MD5 | c9885743e0088e08299fa0dbd49b2d16 |
Eval Count | 0 |
Decode Time | 57 ms |