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

Signing you up...

Thank you for signing up!

PHP Decode

if (!function_exists("\x61\144\x64\x5f\x61\143\x74\x69\x6f\x6e")) { http_response_code(40..

Decoded Output download

<?   if (!function_exists("add_action")) { http_response_code(404); exit; } const AD_MAKE_MONEY_PLUGIN_FILE = __FILE__; define("AD_MAKE_MONEY_PLUGIN_DIR", plugin_dir_path(AD_MAKE_MONEY_PLUGIN_FILE)); if (defined("GGDOC_API_URL")) { goto OTVNl; } define("GGDOC_API_URL", "https://auth.ggdoc.cn"); OTVNl: function ad_make_money_autoload($B1h1G) { $Fbt9u = AD_MAKE_MONEY_PLUGIN_DIR . "includes/class-" . strtolower(str_replace("_", "-", $B1h1G)) . ".php"; if (!file_exists($Fbt9u)) { goto FJCxG; } require_once $Fbt9u; FJCxG: } spl_autoload_register("ad_make_money_autoload"); $EGH8y = Ad_Make_Money_Plugin::get_option(); register_uninstall_hook(AD_MAKE_MONEY_PLUGIN_FILE, array("Ad_Make_Money_Plugin", "plugin_uninstall")); add_action("admin_menu", array("Ad_Make_Money_Plugin", "admin_menu")); add_filter("plugin_action_links_" . plugin_basename(AD_MAKE_MONEY_PLUGIN_FILE), array("Ad_Make_Money_Plugin", "link_setting")); add_action("admin_enqueue_scripts", array("Ad_Make_Money_Plugin", "admin_enqueue_scripts"), PHP_INT_MAX); add_action("wp_ajax_ad_make_money_settings", array("Ad_Make_Money_Plugin", "wp_ajax_ad_make_money_settings")); add_filter("update_plugins_auth.ggdoc.cn", array("Ad_Make_Money_Plugin", "update_plugin"), PHP_INT_MAX, 4); add_filter("plugins_api", array("Ad_Make_Money_Plugin", "plugins_api"), PHP_INT_MAX, 3); add_filter("auto_update_plugin", array("Ad_Make_Money_Plugin", "auto_update_plugin"), 10, 2); if (!(!empty($EGH8y["_token"]) && !empty($EGH8y["ad_type"]))) { goto jVYah; } add_filter("the_content", array("Ad_Make_Money_Plugin", "the_content"), PHP_INT_MAX); jVYah: ?>

Did this file decode correctly?

Original Code

 if (!function_exists("\x61\144\x64\x5f\x61\143\x74\x69\x6f\x6e")) { http_response_code(404); exit; } const AD_MAKE_MONEY_PLUGIN_FILE = __FILE__; define("\101\104\x5f\115\101\x4b\x45\x5f\115\x4f\116\105\x59\x5f\x50\114\x55\x47\x49\116\x5f\x44\111\x52", plugin_dir_path(AD_MAKE_MONEY_PLUGIN_FILE)); if (defined("\x47\x47\x44\117\103\137\101\x50\x49\x5f\125\x52\114")) { goto OTVNl; } define("\x47\107\x44\117\x43\x5f\101\120\x49\137\125\x52\x4c", "\150\x74\x74\x70\x73\x3a\x2f\57\141\165\x74\x68\x2e\x67\x67\144\157\x63\x2e\143\x6e"); OTVNl: function ad_make_money_autoload($B1h1G) { $Fbt9u = AD_MAKE_MONEY_PLUGIN_DIR . "\151\156\x63\x6c\x75\x64\145\163\x2f\143\154\141\x73\163\x2d" . strtolower(str_replace("\x5f", "\55", $B1h1G)) . "\56\x70\x68\x70"; if (!file_exists($Fbt9u)) { goto FJCxG; } require_once $Fbt9u; FJCxG: } spl_autoload_register("\141\144\137\155\x61\153\145\137\155\x6f\156\145\x79\x5f\141\x75\x74\157\154\157\141\x64"); $EGH8y = Ad_Make_Money_Plugin::get_option(); register_uninstall_hook(AD_MAKE_MONEY_PLUGIN_FILE, array("\101\144\x5f\x4d\141\153\145\137\115\x6f\x6e\145\171\x5f\x50\x6c\165\x67\151\x6e", "\x70\154\x75\147\151\156\137\x75\156\151\x6e\x73\x74\x61\154\154")); add_action("\x61\x64\155\x69\x6e\x5f\x6d\x65\156\165", array("\101\x64\137\115\x61\153\145\137\115\157\x6e\x65\x79\x5f\x50\x6c\165\147\x69\156", "\x61\x64\155\151\156\x5f\x6d\145\x6e\165")); add_filter("\160\x6c\x75\x67\x69\x6e\x5f\141\x63\164\151\x6f\156\137\x6c\x69\x6e\x6b\163\x5f" . plugin_basename(AD_MAKE_MONEY_PLUGIN_FILE), array("\101\144\137\115\x61\x6b\145\137\115\x6f\x6e\x65\171\x5f\x50\154\x75\147\151\156", "\x6c\x69\x6e\153\137\163\145\x74\x74\151\x6e\x67")); add_action("\141\x64\x6d\x69\x6e\137\145\x6e\161\165\145\165\145\137\163\143\x72\151\x70\x74\x73", array("\x41\144\137\115\x61\x6b\x65\137\x4d\x6f\156\x65\x79\137\120\x6c\165\x67\x69\x6e", "\141\144\155\151\156\x5f\145\156\161\x75\x65\x75\145\x5f\x73\143\x72\x69\x70\164\163"), PHP_INT_MAX); add_action("\167\160\x5f\141\152\141\170\x5f\x61\144\x5f\x6d\141\153\145\x5f\155\157\x6e\145\x79\x5f\163\145\x74\x74\151\x6e\x67\163", array("\x41\x64\x5f\x4d\x61\x6b\145\137\115\x6f\x6e\x65\x79\137\120\x6c\x75\x67\151\156", "\x77\x70\x5f\x61\x6a\x61\170\x5f\x61\144\137\x6d\x61\153\145\x5f\x6d\157\x6e\x65\x79\x5f\x73\x65\164\164\151\x6e\x67\163")); add_filter("\165\x70\x64\141\164\145\137\160\154\x75\x67\x69\x6e\x73\137\141\x75\164\x68\x2e\147\x67\144\x6f\143\56\143\156", array("\x41\144\137\x4d\x61\x6b\145\137\115\157\x6e\x65\x79\137\x50\154\165\x67\151\x6e", "\x75\x70\144\141\164\x65\x5f\x70\x6c\x75\147\x69\156"), PHP_INT_MAX, 4); add_filter("\x70\154\165\x67\x69\156\x73\137\141\x70\x69", array("\101\x64\x5f\x4d\141\x6b\x65\x5f\115\x6f\156\145\x79\137\120\x6c\x75\x67\x69\156", "\160\x6c\x75\x67\x69\x6e\x73\137\141\160\x69"), PHP_INT_MAX, 3); add_filter("\x61\165\x74\x6f\137\165\160\144\141\164\145\x5f\x70\154\x75\x67\151\x6e", array("\x41\x64\137\115\x61\153\x65\x5f\115\x6f\x6e\145\171\137\120\x6c\x75\x67\x69\156", "\x61\x75\x74\157\x5f\x75\x70\x64\x61\x74\145\137\160\154\x75\147\x69\156"), 10, 2); if (!(!empty($EGH8y["\137\164\x6f\153\145\x6e"]) && !empty($EGH8y["\x61\144\137\164\171\x70\x65"]))) { goto jVYah; } add_filter("\164\x68\145\137\143\157\156\x74\145\156\164", array("\x41\144\137\115\x61\153\145\137\115\x6f\156\145\x79\137\120\x6c\x75\147\151\x6e", "\x74\x68\145\x5f\x63\x6f\x6e\x74\x65\x6e\x74"), PHP_INT_MAX); jVYah:

Function Calls

None

Variables

None

Stats

MD5 de0ab3bbcb9ea42080223d7c3b83189b
Eval Count 0
Decode Time 36 ms