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 class Mo2f_ajax_dashboard { function __construct() { add_ac..

Decoded Output download

<?php 
 
 
class Mo2f_ajax_dashboard 
{ 
    function __construct() 
    { 
        add_action("admin_init", array($this, "mo2f_switch_functions")); 
    } 
    public function mo2f_switch_functions() 
    { 
        if (!(isset($_POST) && isset($_POST["option"]))) { 
            goto Sw; 
        } 
        $SQ = get_site_option("mo2f_tab_count", 0); 
        if ($SQ == 5) { 
            goto QW; 
        } 
        if ($SQ == 0) { 
            goto lZ; 
        } 
        goto jk; 
        QW: 
        update_site_option("mo_2f_switch_all", 1); 
        goto jk; 
        lZ: 
        update_site_option("mo_2f_switch_all", 0); 
        jk: 
        $Sv = isset($_POST["switch_val"]) ? sanitize_text_field($_POST["switch_val"]) : null; 
        switch (sanitize_text_field($_POST["option"])) { 
            case "tab_all_switch": 
                $this->mo2f_handle_all_enable($Sv); 
                goto Yr; 
            case "tab_2fa_switch": 
                $this->mo2f_handle_2fa_enable($Sv); 
                goto Yr; 
            case "tab_waf_switch": 
                $this->mo2f_handle_waf_enable($Sv); 
                goto Yr; 
            case "tab_login_switch": 
                $this->mo2f_handle_login_enable($Sv); 
                goto Yr; 
            case "tab_backup_switch": 
                $this->mo2f_handle_backup_enable($Sv); 
                goto Yr; 
            case "tab_malware_switch": 
                $this->mo2f_handle_malware_enable($Sv); 
                goto Yr; 
            case "tab_block_switch": 
                $this->mo2f_handle_block_enable($Sv); 
                goto Yr; 
        } 
        OI: 
        Yr: 
        Sw: 
    } 
    public function mo2f_handle_all_enable($Mz) 
    { 
        $this->mo2f_handle_waf_enable($Mz); 
        $this->mo2f_handle_login_enable($Mz); 
        $this->mo2f_handle_backup_enable($Mz); 
        $this->mo2f_handle_malware_enable($Mz); 
        $this->mo2f_handle_block_enable($Mz); 
        if ($Mz) { 
            goto ec; 
        } 
        update_site_option("mo_2f_switch_all", 0); 
        update_site_option("mo2f_tab_count", 0); 
        do_action("wpns_show_message", MoWpnsMessages::mo2fa_wpns_showMessage("ALL_DISABLED"), "ERROR"); 
        goto FO; 
        ec: 
        update_site_option("mo_2f_switch_all", 1); 
        update_site_option("mo2f_tab_count", 5); 
        do_action("wpns_show_message", MoWpnsMessages::mo2fa_wpns_showMessage("ALL_ENABLED"), "SUCCESS"); 
        FO: 
    } 
    public function mo2f_handle_2fa_enable($Mz) 
    { 
        global $xr; 
        $user = wp_get_current_user(); 
        $AF = $user->user_ID; 
        if ($Mz) { 
            goto AO; 
        } 
        $xr->update_user_deails($AF, array("mo_2factor_user_registration_status", 0)); 
        if (!sanitize_text_field($_POST["tab_2fa_switch"])) { 
            goto Je; 
        } 
        do_action("wpns_show_message", MoWpnsMessages::mo2fa_wpns_showMessage("TWO_FACTOR_DISABLE"), "ERROR"); 
        Je: 
        goto Ns; 
        AO: 
        $xr->update_user_deails($AF, array("mo_2factor_user_registration_status", "MO_2_FACTOR_PLUGIN_SETTINGS")); 
        if (!sanitize_text_field($_POST["tab_2fa_switch"])) { 
            goto gz; 
        } 
        do_action("wpns_show_message", MoWpnsMessages::mo2fa_wpns_showMessage("TWO_FACTOR_ENABLE"), "SUCCESS"); 
        gz: 
        Ns: 
    } 
    public function mo2f_handle_waf_enable($Mz) 
    { 
        if ($Mz) { 
            goto ES; 
        } 
        update_site_option("mo_2f_switch_waf", 0); 
        update_site_option("mo2f_tab_count", get_site_option("mo2f_tab_count") - 1); 
        update_site_option("WAFEnabled", 0); 
        update_site_option("WAF", "wafDisable"); 
        update_site_option("Rate_limiting", 0); 
        $Ak = dirname(dirname(dirname(dirname(dirname(__FILE__))))); 
        $l9 = $Ak . DIRECTORY_SEPARATOR . ".htaccess"; 
        $ih = $Ak . DIRECTORY_SEPARATOR . "mo-check.php"; 
        $ih = str_replace("\", "/", $ih); 
        $j2 = file_get_contents($l9); 
        $E7 = PHP_EOL . "# BEGIN miniOrange WAF" . PHP_EOL; 
        $E7 .= "php_value auto_prepend_file " . $ih . PHP_EOL; 
        $E7 .= "# END miniOrange WAF" . PHP_EOL; 
        $j2 = str_replace($E7, '', $j2); 
        file_put_contents($l9, $j2); 
        if (!(sanitize_text_field($_POST["option"]) == "tab_waf_switch")) { 
            goto Aa; 
        } 
        do_action("wpns_show_message", MoWpnsMessages::mo2fa_wpns_showMessage("WAF_DISABLE"), "ERROR"); 
        Aa: 
        goto Vg; 
        ES: 
        update_site_option("mo_2f_switch_waf", 1); 
        update_site_option("mo2f_tab_count", get_site_option("mo2f_tab_count") + 1); 
        if (!isset($_POST["option"])) { 
            goto ug; 
        } 
        if (!(sanitize_text_field($_POST["option"]) == "tab_waf_switch")) { 
            goto H0; 
        } 
        do_action("wpns_show_message", MoWpnsMessages::mo2fa_wpns_showMessage("WAF_ENABLE"), "SUCCESS"); 
        H0: 
        ug: 
        Vg: 
    } 
    public function mo2f_handle_login_enable($Mz) 
    { 
        if ($Mz) { 
            goto Vb; 
        } 
        update_site_option("mo_2f_switch_loginspam", 0); 
        update_site_option("mo2f_tab_count", get_site_option("mo2f_tab_count") - 1); 
        update_site_option("mo2f_enable_brute_force", false); 
        update_site_option("mo_wpns_activate_recaptcha", false); 
        update_site_option("mo_wpns_activate_recaptcha_for_login", false); 
        update_site_option("mo_wpns_activate_recaptcha_for_woocommerce_login", false); 
        update_site_option("mo_wpns_activate_recaptcha_for_registration", false); 
        update_site_option("mo_wpns_activate_recaptcha_for_woocommerce_registration", false); 
        update_site_option("mo2f_enforce_strong_passswords", 0); 
        update_site_option("mo_wpns_enable_fake_domain_blocking", false); 
        update_site_option("mo_wpns_enable_advanced_user_verification", false); 
        update_site_option("mo_wpns_enable_social_integration", false); 
        update_site_option("mo2f_protect_wp_config", 0); 
        update_site_option("mo2f_prevent_directory_browsing", 0); 
        update_site_option("mo2f_disable_file_editing", 0); 
        update_site_option("mo_wpns_enable_comment_spam_blocking", false); 
        update_site_option("mo_wpns_enable_comment_recaptcha", false); 
        update_site_option("mo2f_htaccess_file", 0); 
        if (!(sanitize_text_field($_POST["option"]) == "tab_login_switch")) { 
            goto rT; 
        } 
        do_action("wpns_show_message", MoWpnsMessages::mo2fa_wpns_showMessage("LOGIN_DISABLE"), "ERROR"); 
        rT: 
        goto qC; 
        Vb: 
        update_site_option("mo_2f_switch_loginspam", 1); 
        update_site_option("mo2f_tab_count", get_site_option("mo2f_tab_count") + 1); 
        if (!isset($_POST["option"])) { 
            goto k6; 
        } 
        if (!(sanitize_text_field($_POST["option"]) == "tab_login_switch")) { 
            goto nL; 
        } 
        do_action("wpns_show_message", MoWpnsMessages::mo2fa_wpns_showMessage("LOGIN_ENABLE"), "SUCCESS"); 
        nL: 
        k6: 
        qC: 
    } 
    public function mo2f_handle_backup_enable($Mz) 
    { 
        if ($Mz) { 
            goto hb; 
        } 
        update_site_option("mo_2f_switch_backup", 0); 
        update_site_option("mo2f_tab_count", get_site_option("mo2f_tab_count") - 1); 
        $Sq = new MoBackupSite(); 
        $Sq->bl_deactivate(); 
        update_site_option("mo2f_enable_cron_backup", 0); 
        $Sq->file_backup_deactivate(); 
        update_site_option("mo2f_enable_cron_file_backup", 0); 
        if (!(sanitize_text_field($_POST["option"]) == "tab_backup_switch")) { 
            goto N_; 
        } 
        do_action("wpns_show_message", MoWpnsMessages::mo2fa_wpns_showMessage("BACKUP_DISABLE"), "ERROR"); 
        N_: 
        goto Kb; 
        hb: 
        update_site_option("mo_2f_switch_backup", 1); 
        update_site_option("mo2f_tab_count", get_site_option("mo2f_tab_count") + 1); 
        if (!isset($_POST["option"])) { 
            goto SX; 
        } 
        if (!(sanitize_text_field($_POST["option"]) == "tab_backup_switch")) { 
            goto ut; 
        } 
        do_action("wpns_show_message", MoWpnsMessages::mo2fa_wpns_showMessage("BACKUP_ENABLE"), "SUCCESS"); 
        ut: 
        SX: 
        Kb: 
    } 
    public function mo2f_handle_malware_enable($Mz) 
    { 
        if ($Mz) { 
            goto Mu; 
        } 
        update_site_option("mo_2f_switch_malware", 0); 
        update_site_option("mo2f_tab_count", get_site_option("mo2f_tab_count") - 1); 
        if (!(sanitize_text_field($_POST["option"]) == "tab_malware_switch")) { 
            goto Th; 
        } 
        do_action("wpns_show_message", MoWpnsMessages::mo2fa_wpns_showMessage("MALWARE_DISABLE"), "ERROR"); 
        Th: 
        goto Rg; 
        Mu: 
        update_site_option("mo_2f_switch_malware", 1); 
        update_site_option("mo2f_tab_count", get_site_option("mo2f_tab_count") + 1); 
        if (!isset($_POST["option"])) { 
            goto Ve; 
        } 
        if (!(sanitize_text_field($_POST["option"]) == "tab_malware_switch")) { 
            goto lW; 
        } 
        do_action("wpns_show_message", MoWpnsMessages::mo2fa_wpns_showMessage("MALWARE_ENABLE"), "SUCCESS"); 
        lW: 
        Ve: 
        Rg: 
    } 
    public function mo2f_handle_block_enable($Mz) 
    { 
        if ($Mz) { 
            goto FU; 
        } 
        update_site_option("mo_2f_switch_adv_block", 0); 
        update_site_option("mo2f_tab_count", get_site_option("mo2f_tab_count") - 1); 
        update_site_option("mo_wpns_iprange_count", 0); 
        update_site_option("mo_wpns_enable_htaccess_blocking", 0); 
        update_site_option("mo_wpns_enable_user_agent_blocking", 0); 
        update_site_option("mo_wpns_referrers", false); 
        update_site_option("mo_wpns_countrycodes", false); 
        if (!(sanitize_text_field($_POST["option"]) == "tab_block_switch")) { 
            goto jm; 
        } 
        do_action("wpns_show_message", MoWpnsMessages::mo2fa_wpns_showMessage("ADV_BLOCK_DISABLE"), "ERROR"); 
        jm: 
        goto Oy; 
        FU: 
        update_site_option("mo_2f_switch_adv_block", 1); 
        update_site_option("mo2f_tab_count", get_site_option("mo2f_tab_count") + 1); 
        if (!isset($_POST["option"])) { 
            goto KF; 
        } 
        if (!(sanitize_text_field($_POST["option"]) == "tab_block_switch")) { 
            goto nu; 
        } 
        do_action("wpns_show_message", MoWpnsMessages::mo2fa_wpns_showMessage("ADV_BLOCK_ENABLE"), "SUCCESS"); 
        nu: 
        KF: 
        Oy: 
    } 
} 
new Mo2f_ajax_dashboard(); 
 ?>

Did this file decode correctly?

Original Code

<?php


class Mo2f_ajax_dashboard
{
    function __construct()
    {
        add_action("\x61\x64\x6d\151\x6e\x5f\x69\x6e\151\164", array($this, "\x6d\157\x32\146\137\x73\x77\151\x74\x63\150\137\x66\x75\156\x63\164\151\x6f\156\x73"));
    }
    public function mo2f_switch_functions()
    {
        if (!(isset($_POST) && isset($_POST["\157\160\x74\x69\x6f\156"]))) {
            goto Sw;
        }
        $SQ = get_site_option("\155\x6f\x32\x66\x5f\164\x61\142\137\x63\x6f\x75\x6e\164", 0);
        if ($SQ == 5) {
            goto QW;
        }
        if ($SQ == 0) {
            goto lZ;
        }
        goto jk;
        QW:
        update_site_option("\155\x6f\137\62\x66\x5f\163\x77\x69\x74\x63\150\137\141\x6c\154", 1);
        goto jk;
        lZ:
        update_site_option("\x6d\x6f\137\x32\x66\x5f\x73\x77\151\164\143\x68\137\x61\x6c\x6c", 0);
        jk:
        $Sv = isset($_POST["\163\x77\x69\x74\x63\150\x5f\x76\x61\154"]) ? sanitize_text_field($_POST["\x73\x77\x69\x74\x63\x68\137\166\141\154"]) : null;
        switch (sanitize_text_field($_POST["\x6f\160\x74\151\x6f\x6e"])) {
            case "\x74\x61\142\137\x61\x6c\154\137\x73\x77\x69\164\143\x68":
                $this->mo2f_handle_all_enable($Sv);
                goto Yr;
            case "\x74\141\x62\x5f\x32\x66\141\137\x73\167\x69\x74\x63\150":
                $this->mo2f_handle_2fa_enable($Sv);
                goto Yr;
            case "\164\x61\142\x5f\167\x61\146\x5f\x73\x77\x69\164\143\150":
                $this->mo2f_handle_waf_enable($Sv);
                goto Yr;
            case "\x74\x61\x62\x5f\x6c\157\147\x69\x6e\x5f\x73\167\151\164\x63\x68":
                $this->mo2f_handle_login_enable($Sv);
                goto Yr;
            case "\x74\x61\x62\x5f\142\141\143\153\x75\160\137\163\x77\x69\164\x63\150":
                $this->mo2f_handle_backup_enable($Sv);
                goto Yr;
            case "\164\141\x62\x5f\155\141\154\167\141\x72\x65\x5f\x73\167\x69\x74\143\150":
                $this->mo2f_handle_malware_enable($Sv);
                goto Yr;
            case "\x74\141\x62\x5f\142\154\x6f\143\153\x5f\x73\x77\151\x74\143\150":
                $this->mo2f_handle_block_enable($Sv);
                goto Yr;
        }
        OI:
        Yr:
        Sw:
    }
    public function mo2f_handle_all_enable($Mz)
    {
        $this->mo2f_handle_waf_enable($Mz);
        $this->mo2f_handle_login_enable($Mz);
        $this->mo2f_handle_backup_enable($Mz);
        $this->mo2f_handle_malware_enable($Mz);
        $this->mo2f_handle_block_enable($Mz);
        if ($Mz) {
            goto ec;
        }
        update_site_option("\155\157\137\x32\x66\x5f\163\167\x69\164\x63\x68\x5f\x61\x6c\154", 0);
        update_site_option("\155\x6f\62\146\137\x74\x61\142\137\x63\x6f\165\156\164", 0);
        do_action("\x77\x70\x6e\x73\137\163\150\x6f\x77\x5f\155\x65\x73\163\141\147\x65", MoWpnsMessages::mo2fa_wpns_showMessage("\101\x4c\114\137\104\111\x53\101\x42\x4c\105\x44"), "\105\x52\x52\117\122");
        goto FO;
        ec:
        update_site_option("\x6d\x6f\137\x32\146\137\x73\167\151\164\143\x68\137\x61\154\x6c", 1);
        update_site_option("\x6d\x6f\x32\146\137\164\x61\x62\137\x63\157\165\156\x74", 5);
        do_action("\x77\x70\x6e\x73\137\x73\x68\157\x77\137\155\x65\x73\x73\141\x67\145", MoWpnsMessages::mo2fa_wpns_showMessage("\101\114\114\137\x45\x4e\101\102\x4c\x45\104"), "\123\125\x43\103\x45\123\x53");
        FO:
    }
    public function mo2f_handle_2fa_enable($Mz)
    {
        global $xr;
        $user = wp_get_current_user();
        $AF = $user->user_ID;
        if ($Mz) {
            goto AO;
        }
        $xr->update_user_deails($AF, array("\x6d\157\137\x32\146\x61\143\x74\157\x72\x5f\165\163\x65\x72\x5f\162\x65\147\x69\x73\x74\162\141\164\151\157\156\137\163\x74\x61\x74\x75\163", 0));
        if (!sanitize_text_field($_POST["\164\141\142\137\x32\x66\x61\x5f\163\167\x69\x74\x63\150"])) {
            goto Je;
        }
        do_action("\167\160\x6e\163\x5f\x73\150\157\167\x5f\x6d\x65\x73\x73\141\x67\145", MoWpnsMessages::mo2fa_wpns_showMessage("\x54\127\117\137\x46\101\103\124\117\122\137\104\x49\123\x41\102\x4c\105"), "\105\122\122\x4f\x52");
        Je:
        goto Ns;
        AO:
        $xr->update_user_deails($AF, array("\155\x6f\137\x32\146\x61\143\x74\157\x72\x5f\x75\163\145\x72\137\x72\145\147\x69\163\x74\x72\x61\x74\151\157\156\x5f\x73\164\x61\x74\165\x73", "\115\117\137\x32\x5f\106\x41\103\x54\117\122\x5f\120\x4c\x55\107\111\x4e\137\123\x45\x54\x54\x49\x4e\107\x53"));
        if (!sanitize_text_field($_POST["\x74\141\142\x5f\62\x66\141\137\x73\x77\151\164\143\x68"])) {
            goto gz;
        }
        do_action("\167\x70\x6e\163\137\163\x68\x6f\167\x5f\x6d\145\163\x73\x61\147\145", MoWpnsMessages::mo2fa_wpns_showMessage("\x54\127\117\x5f\x46\x41\103\x54\117\x52\137\x45\x4e\x41\102\x4c\105"), "\x53\x55\103\103\105\x53\x53");
        gz:
        Ns:
    }
    public function mo2f_handle_waf_enable($Mz)
    {
        if ($Mz) {
            goto ES;
        }
        update_site_option("\155\157\137\62\146\x5f\x73\x77\x69\164\x63\150\x5f\167\x61\x66", 0);
        update_site_option("\x6d\x6f\x32\x66\137\164\x61\142\x5f\x63\x6f\x75\x6e\x74", get_site_option("\x6d\x6f\x32\146\137\x74\141\142\137\x63\x6f\x75\x6e\164") - 1);
        update_site_option("\127\101\x46\x45\x6e\141\x62\x6c\x65\x64", 0);
        update_site_option("\x57\x41\x46", "\167\141\x66\x44\151\x73\141\142\154\145");
        update_site_option("\x52\141\164\145\x5f\x6c\x69\155\151\x74\151\x6e\x67", 0);
        $Ak = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
        $l9 = $Ak . DIRECTORY_SEPARATOR . "\56\150\164\x61\143\x63\x65\163\163";
        $ih = $Ak . DIRECTORY_SEPARATOR . "\x6d\x6f\x2d\x63\x68\x65\143\x6b\x2e\x70\x68\160";
        $ih = str_replace("\134", "\x2f", $ih);
        $j2 = file_get_contents($l9);
        $E7 = PHP_EOL . "\43\x20\x42\105\107\x49\116\40\155\151\156\x69\x4f\x72\141\156\147\x65\x20\x57\x41\x46" . PHP_EOL;
        $E7 .= "\160\x68\x70\x5f\x76\141\x6c\165\145\x20\x61\x75\164\157\x5f\160\162\145\160\x65\156\144\x5f\146\x69\154\x65\40" . $ih . PHP_EOL;
        $E7 .= "\43\x20\x45\x4e\104\x20\155\x69\x6e\151\x4f\x72\x61\156\147\x65\x20\x57\x41\106" . PHP_EOL;
        $j2 = str_replace($E7, '', $j2);
        file_put_contents($l9, $j2);
        if (!(sanitize_text_field($_POST["\157\160\x74\x69\157\x6e"]) == "\x74\141\x62\137\167\x61\x66\137\x73\167\151\164\x63\150")) {
            goto Aa;
        }
        do_action("\x77\160\x6e\163\137\x73\x68\157\x77\x5f\155\x65\163\163\141\x67\x65", MoWpnsMessages::mo2fa_wpns_showMessage("\127\x41\x46\137\104\111\x53\x41\102\114\x45"), "\105\x52\122\117\x52");
        Aa:
        goto Vg;
        ES:
        update_site_option("\x6d\157\137\62\x66\137\163\167\x69\164\143\150\x5f\167\141\x66", 1);
        update_site_option("\155\157\62\146\137\x74\141\142\137\x63\x6f\165\156\164", get_site_option("\x6d\x6f\x32\146\x5f\x74\x61\142\137\x63\x6f\x75\x6e\164") + 1);
        if (!isset($_POST["\x6f\x70\x74\151\x6f\156"])) {
            goto ug;
        }
        if (!(sanitize_text_field($_POST["\157\x70\x74\151\157\156"]) == "\164\x61\142\x5f\167\141\x66\x5f\163\x77\x69\x74\143\150")) {
            goto H0;
        }
        do_action("\167\x70\156\163\137\x73\x68\157\x77\x5f\x6d\x65\163\163\x61\147\145", MoWpnsMessages::mo2fa_wpns_showMessage("\127\101\x46\x5f\x45\x4e\101\x42\x4c\105"), "\123\x55\103\103\x45\123\123");
        H0:
        ug:
        Vg:
    }
    public function mo2f_handle_login_enable($Mz)
    {
        if ($Mz) {
            goto Vb;
        }
        update_site_option("\x6d\157\x5f\62\x66\x5f\x73\x77\151\164\x63\x68\x5f\154\x6f\x67\x69\156\163\160\x61\155", 0);
        update_site_option("\155\157\62\x66\x5f\164\x61\x62\x5f\143\157\165\156\164", get_site_option("\155\x6f\62\146\137\x74\141\x62\x5f\x63\x6f\x75\156\164") - 1);
        update_site_option("\155\157\62\146\x5f\x65\156\141\x62\154\145\x5f\x62\162\165\x74\x65\137\x66\x6f\x72\143\145", false);
        update_site_option("\x6d\x6f\x5f\x77\x70\156\163\137\x61\x63\164\151\x76\141\x74\x65\137\162\x65\x63\x61\x70\164\143\150\x61", false);
        update_site_option("\x6d\x6f\137\x77\x70\x6e\163\137\141\143\x74\x69\166\141\164\145\137\162\x65\143\x61\x70\164\x63\150\x61\137\146\x6f\x72\137\x6c\x6f\147\x69\x6e", false);
        update_site_option("\155\157\137\x77\x70\156\x73\x5f\x61\143\164\x69\166\x61\164\145\137\162\145\143\141\160\x74\143\150\141\137\x66\157\162\x5f\167\157\157\x63\157\x6d\x6d\145\162\x63\x65\x5f\154\157\147\x69\x6e", false);
        update_site_option("\155\157\137\x77\160\x6e\163\137\141\143\x74\151\166\x61\164\x65\x5f\162\145\x63\141\160\164\x63\x68\x61\137\146\157\x72\x5f\162\145\x67\x69\x73\164\x72\x61\164\x69\x6f\156", false);
        update_site_option("\155\x6f\137\167\160\x6e\x73\137\141\x63\164\151\x76\141\x74\145\x5f\x72\x65\x63\x61\x70\x74\143\150\141\x5f\x66\x6f\x72\x5f\167\x6f\x6f\x63\157\155\x6d\145\x72\143\145\137\x72\x65\x67\151\163\x74\162\141\x74\x69\157\156", false);
        update_site_option("\x6d\x6f\62\x66\137\x65\x6e\x66\157\162\x63\x65\x5f\x73\164\162\x6f\x6e\147\137\160\141\163\163\163\167\157\162\144\163", 0);
        update_site_option("\155\x6f\137\167\160\x6e\163\137\145\156\141\142\x6c\145\x5f\146\x61\153\x65\x5f\144\157\x6d\141\151\x6e\x5f\x62\154\157\143\x6b\151\156\147", false);
        update_site_option("\155\157\137\167\x70\156\163\137\145\156\x61\142\154\x65\x5f\141\x64\166\141\x6e\x63\x65\x64\137\x75\163\x65\162\x5f\166\x65\162\x69\x66\151\x63\x61\x74\x69\x6f\156", false);
        update_site_option("\155\157\137\x77\x70\x6e\163\137\x65\156\141\x62\154\145\137\x73\157\x63\x69\x61\x6c\x5f\x69\156\x74\145\147\x72\x61\164\151\157\x6e", false);
        update_site_option("\155\x6f\x32\x66\137\160\162\157\164\145\x63\x74\x5f\x77\160\x5f\143\157\156\x66\x69\147", 0);
        update_site_option("\155\x6f\x32\x66\x5f\x70\x72\145\x76\x65\156\164\137\x64\x69\162\145\143\164\x6f\x72\171\x5f\142\x72\x6f\x77\x73\x69\x6e\147", 0);
        update_site_option("\x6d\x6f\62\x66\137\144\x69\163\141\x62\154\145\137\x66\x69\154\145\137\x65\144\x69\x74\x69\x6e\147", 0);
        update_site_option("\155\x6f\x5f\167\x70\x6e\163\137\x65\156\141\142\x6c\x65\x5f\x63\x6f\x6d\155\145\156\164\x5f\163\x70\x61\x6d\x5f\x62\x6c\x6f\143\153\x69\x6e\x67", false);
        update_site_option("\155\157\x5f\x77\x70\156\163\x5f\145\x6e\x61\142\154\145\137\x63\157\155\x6d\145\156\x74\137\x72\x65\x63\141\x70\164\x63\150\x61", false);
        update_site_option("\x6d\x6f\x32\x66\x5f\150\164\x61\143\x63\x65\x73\x73\137\146\151\x6c\145", 0);
        if (!(sanitize_text_field($_POST["\x6f\160\x74\151\157\x6e"]) == "\x74\x61\x62\x5f\154\x6f\147\x69\x6e\137\x73\x77\151\164\x63\x68")) {
            goto rT;
        }
        do_action("\167\160\x6e\x73\x5f\163\150\157\167\x5f\x6d\145\x73\x73\141\x67\145", MoWpnsMessages::mo2fa_wpns_showMessage("\114\117\107\x49\x4e\137\x44\x49\123\101\102\114\105"), "\105\x52\x52\x4f\122");
        rT:
        goto qC;
        Vb:
        update_site_option("\x6d\x6f\137\62\x66\x5f\x73\x77\x69\164\143\x68\137\x6c\157\147\151\x6e\x73\160\x61\155", 1);
        update_site_option("\x6d\157\x32\x66\x5f\x74\141\142\137\x63\157\165\156\164", get_site_option("\x6d\x6f\62\x66\x5f\x74\x61\142\x5f\x63\157\165\156\x74") + 1);
        if (!isset($_POST["\x6f\160\x74\151\x6f\156"])) {
            goto k6;
        }
        if (!(sanitize_text_field($_POST["\x6f\160\164\x69\157\x6e"]) == "\164\141\142\137\x6c\x6f\x67\x69\x6e\137\163\167\x69\164\x63\150")) {
            goto nL;
        }
        do_action("\x77\160\156\x73\137\163\x68\157\167\137\x6d\145\x73\163\x61\x67\x65", MoWpnsMessages::mo2fa_wpns_showMessage("\114\x4f\107\111\116\137\x45\116\x41\x42\114\105"), "\123\x55\103\x43\x45\123\x53");
        nL:
        k6:
        qC:
    }
    public function mo2f_handle_backup_enable($Mz)
    {
        if ($Mz) {
            goto hb;
        }
        update_site_option("\155\157\137\x32\x66\137\x73\167\x69\x74\x63\150\137\x62\x61\x63\x6b\165\x70", 0);
        update_site_option("\155\x6f\62\x66\137\164\x61\142\x5f\x63\157\x75\x6e\164", get_site_option("\155\x6f\62\146\137\x74\x61\142\x5f\x63\157\x75\156\x74") - 1);
        $Sq = new MoBackupSite();
        $Sq->bl_deactivate();
        update_site_option("\x6d\157\62\x66\x5f\145\x6e\x61\x62\154\145\x5f\143\x72\x6f\x6e\137\x62\141\x63\x6b\165\x70", 0);
        $Sq->file_backup_deactivate();
        update_site_option("\x6d\157\x32\146\x5f\145\156\141\142\154\x65\137\143\x72\x6f\x6e\x5f\x66\x69\x6c\x65\137\142\x61\x63\x6b\x75\x70", 0);
        if (!(sanitize_text_field($_POST["\157\160\164\x69\157\x6e"]) == "\x74\x61\142\x5f\142\141\143\153\165\x70\x5f\x73\167\151\164\143\x68")) {
            goto N_;
        }
        do_action("\167\x70\x6e\163\137\163\150\x6f\x77\x5f\x6d\145\x73\x73\x61\x67\145", MoWpnsMessages::mo2fa_wpns_showMessage("\102\x41\x43\113\125\x50\x5f\104\111\123\101\102\x4c\x45"), "\x45\122\x52\117\x52");
        N_:
        goto Kb;
        hb:
        update_site_option("\x6d\x6f\x5f\62\x66\x5f\163\x77\x69\x74\143\150\137\142\141\143\153\165\160", 1);
        update_site_option("\155\x6f\62\146\x5f\164\x61\142\137\x63\157\165\x6e\x74", get_site_option("\x6d\x6f\x32\x66\137\164\141\142\137\143\157\165\x6e\164") + 1);
        if (!isset($_POST["\157\160\164\151\157\x6e"])) {
            goto SX;
        }
        if (!(sanitize_text_field($_POST["\x6f\x70\164\x69\x6f\156"]) == "\164\x61\142\137\142\141\143\153\165\x70\x5f\163\167\x69\164\143\150")) {
            goto ut;
        }
        do_action("\167\x70\156\x73\137\163\x68\157\x77\137\155\x65\163\163\141\147\x65", MoWpnsMessages::mo2fa_wpns_showMessage("\102\x41\x43\x4b\125\120\137\105\116\x41\x42\x4c\105"), "\123\125\x43\x43\x45\123\x53");
        ut:
        SX:
        Kb:
    }
    public function mo2f_handle_malware_enable($Mz)
    {
        if ($Mz) {
            goto Mu;
        }
        update_site_option("\155\x6f\137\x32\146\x5f\x73\x77\x69\x74\143\150\x5f\155\141\154\x77\x61\x72\145", 0);
        update_site_option("\x6d\x6f\62\x66\x5f\164\x61\x62\x5f\143\x6f\x75\x6e\164", get_site_option("\155\x6f\62\146\x5f\x74\x61\x62\x5f\x63\x6f\165\x6e\164") - 1);
        if (!(sanitize_text_field($_POST["\x6f\160\x74\151\x6f\156"]) == "\164\141\x62\137\155\141\154\167\x61\162\145\x5f\x73\167\x69\x74\x63\x68")) {
            goto Th;
        }
        do_action("\167\160\156\x73\137\163\150\157\167\x5f\155\x65\163\x73\141\147\x65", MoWpnsMessages::mo2fa_wpns_showMessage("\x4d\101\114\127\101\x52\105\x5f\x44\111\123\x41\102\x4c\105"), "\105\122\x52\117\122");
        Th:
        goto Rg;
        Mu:
        update_site_option("\x6d\x6f\137\x32\146\x5f\x73\167\x69\x74\x63\x68\x5f\155\x61\x6c\x77\141\x72\145", 1);
        update_site_option("\x6d\x6f\62\x66\137\164\x61\142\137\143\157\165\156\x74", get_site_option("\x6d\157\x32\x66\137\x74\x61\x62\x5f\143\x6f\165\x6e\164") + 1);
        if (!isset($_POST["\157\x70\164\151\157\156"])) {
            goto Ve;
        }
        if (!(sanitize_text_field($_POST["\157\160\164\151\157\x6e"]) == "\164\x61\x62\x5f\x6d\x61\x6c\x77\141\162\145\137\x73\167\151\x74\143\150")) {
            goto lW;
        }
        do_action("\167\x70\x6e\163\x5f\163\x68\157\x77\x5f\x6d\145\x73\x73\x61\x67\x65", MoWpnsMessages::mo2fa_wpns_showMessage("\115\x41\x4c\x57\101\x52\x45\137\105\x4e\x41\102\x4c\x45"), "\123\125\x43\x43\x45\123\x53");
        lW:
        Ve:
        Rg:
    }
    public function mo2f_handle_block_enable($Mz)
    {
        if ($Mz) {
            goto FU;
        }
        update_site_option("\155\157\137\x32\x66\x5f\163\167\151\x74\x63\150\137\141\144\166\137\x62\x6c\x6f\x63\x6b", 0);
        update_site_option("\x6d\x6f\62\x66\137\x74\x61\x62\137\x63\157\165\156\x74", get_site_option("\x6d\x6f\62\146\137\164\141\142\x5f\x63\157\x75\156\x74") - 1);
        update_site_option("\x6d\157\137\x77\160\156\163\x5f\x69\160\x72\x61\156\x67\x65\137\x63\157\x75\156\164", 0);
        update_site_option("\155\x6f\x5f\x77\x70\156\163\137\x65\x6e\141\142\x6c\145\x5f\150\x74\141\x63\143\x65\x73\163\x5f\x62\154\x6f\x63\x6b\151\156\x67", 0);
        update_site_option("\x6d\157\137\167\160\156\163\137\145\x6e\x61\142\x6c\x65\137\165\163\145\x72\137\x61\147\x65\156\164\137\x62\154\x6f\x63\x6b\151\156\147", 0);
        update_site_option("\155\x6f\x5f\167\160\156\x73\137\162\x65\x66\x65\x72\162\145\x72\x73", false);
        update_site_option("\155\157\137\167\x70\x6e\163\x5f\x63\157\x75\x6e\164\x72\171\x63\157\144\x65\163", false);
        if (!(sanitize_text_field($_POST["\x6f\160\x74\151\x6f\x6e"]) == "\x74\x61\x62\x5f\x62\154\157\143\153\137\163\167\x69\x74\x63\x68")) {
            goto jm;
        }
        do_action("\x77\160\156\x73\x5f\x73\x68\x6f\x77\137\155\145\163\163\141\147\x65", MoWpnsMessages::mo2fa_wpns_showMessage("\x41\104\x56\x5f\x42\114\x4f\x43\x4b\137\x44\111\x53\101\x42\114\x45"), "\x45\122\x52\117\122");
        jm:
        goto Oy;
        FU:
        update_site_option("\155\157\137\x32\146\x5f\x73\x77\x69\164\143\x68\137\x61\x64\x76\137\x62\x6c\x6f\x63\x6b", 1);
        update_site_option("\x6d\157\62\x66\x5f\x74\x61\142\x5f\143\157\x75\156\164", get_site_option("\155\x6f\62\146\x5f\164\x61\x62\137\x63\x6f\x75\x6e\164") + 1);
        if (!isset($_POST["\x6f\x70\164\151\x6f\x6e"])) {
            goto KF;
        }
        if (!(sanitize_text_field($_POST["\x6f\160\164\x69\x6f\x6e"]) == "\x74\x61\142\x5f\142\154\x6f\143\153\137\163\x77\151\164\x63\150")) {
            goto nu;
        }
        do_action("\167\160\x6e\163\x5f\x73\150\x6f\x77\x5f\155\145\163\x73\x61\147\x65", MoWpnsMessages::mo2fa_wpns_showMessage("\x41\x44\x56\x5f\102\x4c\117\103\x4b\137\105\116\101\x42\x4c\x45"), "\x53\x55\103\x43\x45\x53\123");
        nu:
        KF:
        Oy:
    }
}
new Mo2f_ajax_dashboard();

Function Calls

None

Variables

None

Stats

MD5 4f0a7016f671598ff9171ddc75d4dcad
Eval Count 0
Decode Time 65 ms