Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * Plugin Name: obfuscation-testing * Description: Let's make your work ea..
Decoded Output download
<?php
/**
* Plugin Name: obfuscation-testing
* Description: Let's make your work easier.
*/
goto E2ucV; JAlYT: register_deactivation_hook(__FILE__, "srx_plugin_deactivation"); goto Wi3NL; ggiFr: add_action("init", "srx_define_globle_variable"); goto DhWRz; YStWn: function srx_plugin_deactivation() { } goto n5ttC; DPoFz: register_activation_hook(__FILE__, "srx_plugin_activation"); goto JAlYT; E2ucV: if (!function_exists("get_plugin_data")) { require_once ABSPATH . "wp-admin/includes/plugin.php"; } goto DPoFz; ZMLbS: function srx_add_admin_menu() { add_menu_page("Obfuscation", "Obfuscation", "manage_options", "obfuscation", "obfuscation_settings_page"); } goto ZARTt; vNbpG: add_action("admin_menu", "srx_add_admin_menu"); goto ZMLbS; Wi3NL: register_uninstall_hook(__FILE__, "srx_plugin_uninstall"); goto lxuUB; ZARTt: function obfuscation_settings_page() { ?>
<h1>Form</h1><br>
<div id="resultDiv"></div>
<div style="width:50%; margin:0 auto; margin-top:30px;">
<form id="active" method="post">
<input type="hidden" name="save_m3_settings" value="save_m3_settings">
<div id="titlediv">
<div id="titlewrap">
<label class="" id="title-prompt-text" for="title"></label>
<input type="text" name="obf_name" size="30" id="title" placeholder="Enter name" required autofocus="on" class="active" value="<?php echo esc_attr(get_option("obf_name")); ?>
">
<button type="submit" style="float: right; margin-top: 10px; font-size: 15px;" class="button button-primary button-large">Submit</button>
</div>
</div>
</form>
</div>
<?php } goto YStWn; lxuUB: function srx_plugin_activation() { } goto vNbpG; n5ttC: function srx_plugin_uninstall() { } goto ggiFr; DhWRz: function srx_define_globle_variable() { define("obf_name", ''); if (isset($_POST["save_m3_settings"])) { update_option("obf_name", sanitize_text_field($_POST["obf_name"])); $page = "http://localhost/woo-ai-testing/wp-admin/admin.php?page=obfuscation"; wp_redirect($page); die; } } ?>
Did this file decode correctly?
Original Code
<?php
/**
* Plugin Name: obfuscation-testing
* Description: Let's make your work easier.
*/
goto E2ucV; JAlYT: register_deactivation_hook(__FILE__, "\163\162\170\137\160\x6c\165\147\151\156\x5f\144\145\141\x63\164\151\x76\x61\164\151\157\156"); goto Wi3NL; ggiFr: add_action("\x69\156\151\164", "\163\162\x78\x5f\x64\x65\146\151\156\145\137\x67\154\x6f\x62\x6c\x65\x5f\166\x61\x72\x69\x61\x62\154\x65"); goto DhWRz; YStWn: function srx_plugin_deactivation() { } goto n5ttC; DPoFz: register_activation_hook(__FILE__, "\x73\x72\170\137\160\154\x75\x67\x69\156\x5f\141\143\x74\x69\x76\x61\164\x69\x6f\x6e"); goto JAlYT; E2ucV: if (!function_exists("\x67\x65\164\x5f\160\x6c\x75\147\151\156\x5f\x64\x61\164\x61")) { require_once ABSPATH . "\x77\x70\x2d\141\x64\155\x69\156\57\151\156\x63\154\165\x64\145\x73\x2f\x70\x6c\165\x67\x69\x6e\x2e\x70\x68\x70"; } goto DPoFz; ZMLbS: function srx_add_admin_menu() { add_menu_page("\x4f\142\x66\165\x73\143\141\x74\x69\157\156", "\117\x62\146\165\163\143\141\164\x69\157\156", "\155\141\x6e\141\x67\145\x5f\157\160\164\x69\157\x6e\163", "\157\142\x66\165\x73\x63\x61\164\151\x6f\x6e", "\x6f\142\146\165\x73\143\x61\x74\x69\x6f\x6e\x5f\163\145\x74\x74\x69\x6e\147\x73\x5f\160\x61\147\x65"); } goto ZARTt; vNbpG: add_action("\x61\x64\155\151\156\x5f\x6d\145\x6e\165", "\x73\x72\170\137\141\x64\144\137\x61\x64\155\151\156\137\155\x65\x6e\165"); goto ZMLbS; Wi3NL: register_uninstall_hook(__FILE__, "\x73\x72\x78\137\160\154\165\147\x69\x6e\x5f\x75\x6e\x69\156\163\164\141\154\154"); goto lxuUB; ZARTt: function obfuscation_settings_page() { ?>
<h1>Form</h1><br>
<div id="resultDiv"></div>
<div style="width:50%; margin:0 auto; margin-top:30px;">
<form id="active" method="post">
<input type="hidden" name="save_m3_settings" value="save_m3_settings">
<div id="titlediv">
<div id="titlewrap">
<label class="" id="title-prompt-text" for="title"></label>
<input type="text" name="obf_name" size="30" id="title" placeholder="Enter name" required autofocus="on" class="active" value="<?php echo esc_attr(get_option("\x6f\142\x66\x5f\x6e\x61\x6d\145")); ?>
">
<button type="submit" style="float: right; margin-top: 10px; font-size: 15px;" class="button button-primary button-large">Submit</button>
</div>
</div>
</form>
</div>
<?php } goto YStWn; lxuUB: function srx_plugin_activation() { } goto vNbpG; n5ttC: function srx_plugin_uninstall() { } goto ggiFr; DhWRz: function srx_define_globle_variable() { define("\x6f\x62\x66\137\x6e\x61\x6d\x65", ''); if (isset($_POST["\163\141\166\145\137\x6d\x33\137\163\145\x74\164\151\156\147\163"])) { update_option("\x6f\142\x66\x5f\x6e\x61\x6d\145", sanitize_text_field($_POST["\x6f\x62\146\x5f\156\141\155\145"])); $page = "\x68\164\x74\160\x3a\x2f\x2f\x6c\x6f\143\x61\x6c\150\x6f\163\x74\x2f\x77\157\x6f\x2d\x61\x69\x2d\164\x65\x73\164\x69\156\147\57\x77\160\55\x61\x64\155\151\156\57\x61\x64\155\x69\x6e\56\x70\150\x70\77\160\x61\147\145\x3d\157\142\146\x75\163\143\141\x74\151\x6f\x6e"; wp_redirect($page); die; } }
Function Calls
None |
Stats
MD5 | be625d658cec48ea735f5a2631b3b451 |
Eval Count | 0 |
Decode Time | 53 ms |