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 delete_option("\x6d\x6f\x5f\154\144\x61\160\x5f\x6c\x6f\x63\x61\x6c\137\x61\x64..
Decoded Output download
<?php
delete_option("mo_ldap_local_admin_email");
delete_option("mo_ldap_local_host_name");
delete_option("mo_ldap_local_default_config");
delete_option("mo_ldap_local_password");
delete_option("mo_ldap_local_new_registration");
delete_option("mo_ldap_local_admin_phone");
delete_option("mo_ldap_local_verify_customer");
delete_option("mo_ldap_local_admin_customer_key");
delete_option("mo_ldap_local_admin_api_key");
delete_option("mo_ldap_local_customer_token");
delete_option("mo_ldap_local_message");
delete_option("mo_ldap_local_registration_status");
delete_option("mo_ldap_local_enable_login");
delete_option("mo_ldap_local_enable_both_login");
delete_option("mo_ldap_local_redirect_to");
delete_option("mo_ldap_local_custom_redirect");
delete_option("mo_ldap_local_skip_redirectto_parameter");
delete_option("mo_ldap_local_register_user");
delete_option("mo_ldap_local_authorized_users_only");
delete_option("mo_ldap_local_anonymous_bind");
delete_option("mo_ldap_local_use_tls");
delete_option("mo_ldap_local_enable_log_requests");
delete_option("mo_ldap_local_server_url");
delete_option("mo_ldap_local_server_dn");
delete_option("mo_ldap_local_server_password");
delete_option("mo_ldap_local_search_base");
delete_option("mo_local_filter_check");
delete_option("mo_ldap_local_username_attribute");
delete_option("mo_ldap_local_search_filter");
delete_option("mo_ldap_local_enable_role_mapping");
delete_option("mo_ldap_local_keep_existing_user_roles");
delete_option("mo_ldap_local_role_mapping_count");
delete_option("mo_ldap_local_mapping_value_default");
delete_option("mo_ldap_local_mapping_memberof_attribute");
delete_option("mo_ldap_local_server_url_status");
delete_option("mo_ldap_local_service_account_status");
delete_option("mo_ldap_local_user_mapping_status");
delete_option("mo_ldap_local_username_status");
delete_option("mo_ldap_local_enable_attr_mapping");
delete_option("mo_ldap_local_enable_update_ldap");
delete_option("mo_ldap_local_email_attribute");
delete_option("mo_ldap_local_phone_attribute");
delete_option("mo_ldap_local_fname_attribute");
delete_option("mo_ldap_local_lname_attribute");
delete_option("mo_ldap_local_nickname_attribute");
delete_option("mo_ldap_local_display_name_attribute");
delete_option("mo_ldap_local_user_enabled_attribute");
delete_option("mo_ldap_local_license_key");
delete_option("mo_ldap_local_is_trial_active");
delete_option("mo_ldap_local_is_trial_key");
delete_option("mo_ldap_local_trial_used");
delete_option("mo_ldap_local_check_license");
delete_option("mo_ldap_local_enable_fallback_login");
delete_option("mo_ldap_export");
delete_option("site_ck_l");
$G2 = wp_load_alloptions();
foreach ($G2 as $Zh => $t0) {
if (strpos($Zh, "mo_ldap_local_custom_attribute_") !== false) {
goto Mc;
}
if (strpos($Zh, "mo_ldap_local_mapping_key_") !== false || strpos($Zh, "mo_ldap_local_mapping_value_") !== false) {
goto vG;
}
goto Jq;
Mc:
delete_option($Zh);
goto Jq;
vG:
delete_option($Zh);
Jq:
IX:
}
Xj:
if (get_option("mo_ldap_local_keep_user_report_log_on_uninstall") == 0) {
goto v0;
}
delete_option("mo_ldap_local_keep_user_report_log_on_uninstall");
delete_option("mo_ldap_local_user_report_log");
goto Ju;
v0:
global $wpdb;
$vg = $wpdb->prefix . "user_report";
error_log("deactivation: " . $wpdb->base_prefix);
$wpdb->query("DROP TABLE IF EXISTS {$vg}");
delete_option("user_logs_table_exists");
delete_option("mo_ldap_local_user_report_log");
delete_option("mo_ldap_local_keep_user_report_log_on_uninstall");
Ju:
?>
Did this file decode correctly?
Original Code
<?php
delete_option("\x6d\x6f\x5f\154\144\x61\160\x5f\x6c\x6f\x63\x61\x6c\137\x61\x64\155\151\156\x5f\x65\155\x61\151\154");
delete_option("\155\157\x5f\154\x64\x61\160\137\x6c\x6f\143\141\x6c\x5f\x68\x6f\163\164\x5f\x6e\x61\155\145");
delete_option("\x6d\x6f\x5f\154\144\141\x70\x5f\x6c\157\x63\141\154\137\144\x65\146\x61\165\154\x74\x5f\143\x6f\x6e\146\x69\x67");
delete_option("\155\x6f\137\x6c\x64\141\160\137\154\157\143\141\x6c\x5f\x70\141\x73\163\x77\x6f\162\x64");
delete_option("\x6d\157\137\x6c\x64\141\x70\x5f\x6c\x6f\x63\x61\154\137\x6e\x65\167\x5f\x72\x65\147\151\163\x74\162\x61\x74\x69\157\156");
delete_option("\x6d\157\137\154\x64\141\x70\x5f\x6c\x6f\x63\x61\x6c\x5f\141\x64\155\151\156\x5f\x70\150\157\x6e\x65");
delete_option("\x6d\157\x5f\x6c\144\141\x70\x5f\154\x6f\143\x61\x6c\137\166\x65\x72\x69\146\171\137\x63\165\x73\164\x6f\x6d\x65\x72");
delete_option("\155\157\137\x6c\x64\141\x70\137\x6c\157\x63\141\x6c\x5f\x61\144\155\151\156\x5f\143\x75\163\164\x6f\155\x65\162\137\x6b\x65\171");
delete_option("\155\x6f\x5f\x6c\x64\x61\160\x5f\154\x6f\143\141\154\x5f\x61\x64\155\x69\x6e\x5f\x61\x70\151\x5f\153\145\x79");
delete_option("\155\157\x5f\154\x64\141\x70\x5f\x6c\157\x63\x61\154\x5f\143\x75\163\x74\157\x6d\145\162\x5f\x74\157\x6b\x65\156");
delete_option("\155\x6f\x5f\x6c\144\x61\x70\137\x6c\x6f\143\141\154\137\x6d\145\163\163\x61\147\x65");
delete_option("\155\x6f\137\154\144\x61\x70\137\154\157\143\x61\154\137\162\145\147\x69\x73\x74\x72\141\x74\x69\x6f\156\x5f\x73\164\x61\x74\x75\x73");
delete_option("\155\157\137\154\144\141\160\137\154\x6f\x63\x61\154\137\145\156\x61\142\x6c\x65\137\x6c\x6f\x67\151\x6e");
delete_option("\155\x6f\137\154\144\141\160\x5f\x6c\157\x63\141\x6c\137\x65\x6e\x61\142\154\x65\137\142\x6f\164\150\137\x6c\157\x67\151\x6e");
delete_option("\x6d\157\137\154\144\141\160\x5f\x6c\x6f\143\x61\154\137\x72\145\144\151\162\145\143\164\137\164\157");
delete_option("\x6d\157\137\154\x64\x61\160\137\154\x6f\x63\141\x6c\x5f\143\165\163\164\157\x6d\137\162\145\x64\151\x72\x65\143\x74");
delete_option("\x6d\157\x5f\154\144\x61\x70\x5f\x6c\157\x63\x61\x6c\x5f\163\x6b\x69\x70\137\x72\145\144\151\x72\x65\x63\x74\164\157\x5f\160\141\162\141\x6d\145\x74\x65\162");
delete_option("\x6d\x6f\x5f\x6c\x64\x61\160\137\x6c\x6f\143\x61\154\x5f\x72\x65\x67\x69\x73\164\145\x72\x5f\165\163\x65\162");
delete_option("\x6d\x6f\x5f\x6c\144\x61\160\137\154\157\x63\x61\x6c\x5f\141\165\164\150\x6f\x72\151\172\145\144\x5f\x75\x73\145\x72\163\137\157\x6e\154\171");
delete_option("\155\157\x5f\154\x64\141\160\137\154\157\143\141\154\x5f\x61\156\x6f\156\x79\x6d\157\165\x73\137\x62\151\156\x64");
delete_option("\155\x6f\137\x6c\144\141\160\x5f\154\x6f\143\141\154\x5f\165\x73\x65\x5f\x74\154\163");
delete_option("\155\157\137\154\x64\x61\160\137\x6c\x6f\143\141\x6c\x5f\145\x6e\141\142\154\145\x5f\x6c\157\x67\137\x72\x65\161\x75\145\163\164\163");
delete_option("\155\x6f\137\x6c\x64\141\x70\137\x6c\x6f\x63\141\x6c\x5f\163\145\162\x76\145\x72\137\x75\162\x6c");
delete_option("\155\157\137\x6c\x64\x61\x70\x5f\154\157\x63\141\x6c\x5f\x73\x65\162\x76\x65\162\137\144\x6e");
delete_option("\x6d\157\x5f\x6c\x64\x61\x70\x5f\x6c\x6f\x63\141\x6c\x5f\163\x65\162\166\x65\x72\137\x70\x61\163\x73\x77\157\162\144");
delete_option("\155\x6f\x5f\x6c\144\141\x70\x5f\154\157\143\141\x6c\137\163\145\141\x72\x63\x68\137\142\x61\x73\145");
delete_option("\155\x6f\x5f\x6c\157\x63\x61\154\x5f\x66\151\x6c\164\145\162\137\143\150\x65\143\x6b");
delete_option("\155\157\x5f\154\x64\x61\160\x5f\x6c\157\x63\141\x6c\137\x75\x73\x65\x72\x6e\x61\x6d\x65\x5f\141\164\x74\x72\151\x62\x75\x74\x65");
delete_option("\x6d\x6f\137\x6c\x64\x61\160\x5f\154\x6f\x63\141\154\x5f\163\145\141\162\x63\150\137\146\151\154\164\145\x72");
delete_option("\155\x6f\137\x6c\144\x61\160\x5f\x6c\x6f\x63\x61\154\x5f\145\156\141\142\x6c\145\x5f\162\157\x6c\x65\x5f\x6d\141\x70\x70\151\156\147");
delete_option("\x6d\157\137\154\x64\141\160\x5f\x6c\157\x63\x61\154\x5f\x6b\145\145\x70\x5f\x65\170\151\163\x74\151\156\147\x5f\x75\x73\145\x72\137\162\157\x6c\x65\163");
delete_option("\155\157\x5f\x6c\144\x61\160\137\154\157\143\x61\x6c\x5f\x72\157\154\x65\137\x6d\141\160\160\x69\156\147\x5f\x63\x6f\165\156\164");
delete_option("\155\x6f\x5f\154\x64\x61\160\x5f\x6c\x6f\143\x61\154\137\155\x61\160\x70\x69\x6e\x67\137\x76\x61\x6c\165\145\x5f\144\145\146\141\x75\x6c\164");
delete_option("\x6d\157\x5f\x6c\144\x61\160\x5f\x6c\x6f\x63\141\x6c\137\x6d\x61\x70\160\x69\x6e\x67\137\155\x65\x6d\x62\145\162\157\146\137\x61\164\x74\x72\151\142\165\x74\145");
delete_option("\155\x6f\137\x6c\144\x61\160\137\154\x6f\x63\141\x6c\137\x73\145\x72\166\x65\162\x5f\165\x72\x6c\137\x73\164\x61\x74\x75\163");
delete_option("\155\157\x5f\154\144\141\160\x5f\154\x6f\x63\141\154\x5f\163\x65\x72\x76\x69\x63\x65\x5f\x61\143\x63\x6f\x75\156\x74\137\x73\164\x61\x74\165\x73");
delete_option("\x6d\x6f\137\x6c\144\x61\x70\137\x6c\x6f\x63\141\x6c\x5f\165\163\145\162\137\155\141\160\x70\x69\x6e\147\x5f\163\164\141\x74\x75\163");
delete_option("\155\157\137\154\144\x61\x70\137\154\157\143\141\x6c\x5f\165\163\x65\162\x6e\141\155\145\137\x73\164\141\x74\165\163");
delete_option("\155\x6f\137\x6c\144\x61\x70\137\x6c\157\x63\x61\x6c\x5f\x65\x6e\141\142\154\145\x5f\x61\x74\x74\162\x5f\155\141\x70\160\x69\156\x67");
delete_option("\155\157\x5f\154\144\x61\160\x5f\x6c\x6f\x63\141\x6c\x5f\x65\x6e\x61\x62\154\145\137\x75\160\144\x61\164\x65\137\154\x64\141\160");
delete_option("\155\x6f\x5f\154\x64\141\x70\137\x6c\157\x63\141\154\x5f\145\x6d\x61\x69\x6c\137\x61\x74\x74\162\x69\x62\x75\x74\x65");
delete_option("\x6d\x6f\x5f\154\x64\x61\160\x5f\x6c\157\143\141\x6c\137\160\150\157\x6e\145\137\x61\164\164\x72\151\142\165\x74\145");
delete_option("\155\157\x5f\x6c\144\x61\160\x5f\x6c\x6f\x63\x61\x6c\137\x66\x6e\141\x6d\145\x5f\x61\164\x74\162\151\142\x75\x74\145");
delete_option("\x6d\x6f\137\x6c\144\x61\x70\137\154\157\x63\141\154\x5f\154\x6e\x61\155\145\137\x61\164\164\x72\151\142\x75\x74\145");
delete_option("\155\157\x5f\154\144\141\160\x5f\x6c\x6f\143\141\154\x5f\156\x69\x63\x6b\156\x61\155\x65\137\141\x74\x74\162\x69\x62\165\164\145");
delete_option("\155\x6f\137\x6c\x64\x61\x70\137\154\x6f\x63\141\154\137\144\151\x73\160\x6c\x61\x79\137\x6e\x61\155\x65\x5f\141\164\x74\162\151\142\165\164\x65");
delete_option("\155\157\137\154\144\x61\x70\x5f\154\x6f\143\x61\x6c\x5f\165\x73\x65\162\137\145\x6e\141\142\154\x65\x64\x5f\x61\x74\164\x72\151\142\x75\164\145");
delete_option("\x6d\x6f\137\x6c\x64\x61\160\x5f\x6c\x6f\143\141\x6c\x5f\x6c\151\143\x65\156\163\145\x5f\153\145\171");
delete_option("\x6d\157\137\154\144\141\x70\x5f\x6c\157\143\141\x6c\137\x69\163\x5f\x74\162\151\x61\x6c\x5f\x61\x63\164\x69\x76\145");
delete_option("\155\157\x5f\154\x64\141\x70\x5f\x6c\x6f\143\x61\154\x5f\x69\x73\137\x74\x72\x69\x61\154\137\x6b\145\171");
delete_option("\155\157\x5f\154\144\141\x70\137\154\157\x63\141\154\137\x74\x72\151\141\154\x5f\x75\x73\145\144");
delete_option("\155\x6f\137\x6c\x64\x61\160\x5f\154\x6f\143\141\154\x5f\143\x68\x65\x63\153\137\x6c\x69\143\145\156\x73\x65");
delete_option("\x6d\x6f\x5f\x6c\144\141\160\137\154\157\x63\141\154\137\145\x6e\x61\142\x6c\145\137\146\x61\154\154\x62\141\143\x6b\x5f\154\x6f\x67\151\x6e");
delete_option("\x6d\x6f\137\x6c\144\141\x70\x5f\x65\x78\x70\157\162\x74");
delete_option("\163\151\x74\x65\x5f\143\153\137\154");
$G2 = wp_load_alloptions();
foreach ($G2 as $Zh => $t0) {
if (strpos($Zh, "\155\157\137\154\144\141\x70\x5f\154\x6f\x63\141\x6c\x5f\x63\165\x73\164\157\155\x5f\141\164\x74\x72\x69\x62\165\164\145\137") !== false) {
goto Mc;
}
if (strpos($Zh, "\x6d\157\x5f\x6c\144\x61\160\137\154\157\143\x61\x6c\137\x6d\141\160\160\x69\156\147\137\153\145\171\137") !== false || strpos($Zh, "\155\157\137\x6c\x64\x61\x70\137\154\157\143\x61\154\x5f\x6d\141\x70\160\x69\x6e\x67\x5f\166\x61\154\165\x65\x5f") !== false) {
goto vG;
}
goto Jq;
Mc:
delete_option($Zh);
goto Jq;
vG:
delete_option($Zh);
Jq:
IX:
}
Xj:
if (get_option("\155\157\x5f\x6c\x64\x61\160\137\154\157\143\x61\154\x5f\153\x65\x65\x70\137\x75\163\x65\162\137\x72\x65\160\x6f\x72\x74\x5f\154\157\147\137\x6f\x6e\x5f\x75\x6e\x69\156\163\x74\141\x6c\154") == 0) {
goto v0;
}
delete_option("\155\157\x5f\154\x64\x61\160\x5f\x6c\x6f\143\x61\x6c\137\x6b\x65\145\160\137\x75\x73\145\162\x5f\162\x65\160\157\x72\164\137\x6c\157\147\x5f\x6f\156\x5f\x75\x6e\x69\x6e\163\x74\141\154\x6c");
delete_option("\x6d\x6f\x5f\154\144\x61\160\x5f\154\157\143\x61\154\x5f\165\x73\x65\x72\x5f\x72\145\160\157\x72\164\x5f\154\x6f\x67");
goto Ju;
v0:
global $wpdb;
$vg = $wpdb->prefix . "\165\163\x65\162\x5f\x72\145\160\157\162\164";
error_log("\x64\x65\x61\x63\x74\x69\x76\141\164\151\157\156\72\x20" . $wpdb->base_prefix);
$wpdb->query("\x44\x52\117\x50\x20\124\x41\x42\x4c\x45\x20\111\106\40\105\130\111\123\x54\123\40{$vg}");
delete_option("\x75\x73\145\162\x5f\154\x6f\147\163\137\x74\141\x62\154\145\x5f\x65\x78\151\x73\164\163");
delete_option("\155\157\137\154\x64\141\x70\137\154\157\143\x61\x6c\x5f\165\x73\145\162\x5f\x72\x65\160\x6f\x72\x74\x5f\x6c\x6f\x67");
delete_option("\x6d\157\x5f\154\x64\141\160\x5f\154\x6f\x63\141\154\x5f\153\x65\x65\160\x5f\x75\x73\145\162\x5f\x72\145\x70\157\162\x74\x5f\x6c\157\147\x5f\x6f\x6e\137\165\156\151\x6e\163\164\x61\x6c\x6c");
Ju:
?>
Function Calls
None |
Stats
MD5 | 944efbc50b2214bdd23a161f02dc03e6 |
Eval Count | 0 |
Decode Time | 50 ms |