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

Signing you up...

Thank you for signing up!

PHP Decode

protected function mo_api_save_settings() { $V4 = sanitize_text_field($_POST..

Decoded Output download

<?  protected function mo_api_save_settings() 
    { 
        $V4 = sanitize_text_field($_POST["option"]); 
        switch ($V4) { 
            case "mo_api_client_config_option": 
                $this->mo_api_client_config_settings(); 
                goto BP; 
            case "mo_api_config_test_connection": 
                $this->mo_api_config_save_test_configuration_email(); 
                goto BP; 
            case "mo_api_clear_attributes_option": 
                $this->mo_api_clear_attributes_option(); 
                goto BP; 
            case "mo_api_config_provisioning_settings": 
                $this->mo_api_config_provisioning_settings(); 
                goto BP; 
            case "mo_api_sync_now_option": 
                $this->mo_api_config_sync_now(); 
                goto BP; 
            case "mo_api_test_user_sync_option": 
                $this->mo_api_config_sync_test_user(); 
                goto BP; 
            case "mo_api_reset_now_option": 
                $this->mo_api_config_reset_now(); 
                goto BP; 
            case "mo_api_clear_users_option": 
                $this->mo_api_clear_users_now(); 
                goto BP; 
            case "mo_api_confirm_clear_users_option": 
                $this->mo_api_confirm_clear_users_option(); 
                goto BP; 
            case "mo_api_wp_to_ad_sync_config": 
                $this->mo_api_wp_to_ad_sync_config(); 
                goto BP; 
            case "mo_api_client_ad_sync_individual_user_option": 
                $this->mo_api_client_ad_sync_individual_user(); 
                goto BP; 
            case "mo_api_sync_all_to_ad_option": 
                $this->mo_api_sync_all_to_ad(); 
                goto BP; 
            case "mo_api_sync_all_to_ad_reset_option": 
                $this->mo_api_sync_all_to_ad_reset(); 
                goto BP; 
        } 
        aI: 
        BP: 
    } ?>

Did this file decode correctly?

Original Code

protected function mo_api_save_settings()
    {
        $V4 = sanitize_text_field($_POST["\x6f\160\x74\151\x6f\156"]);
        switch ($V4) {
            case "\155\157\137\x61\x70\x69\137\x63\154\x69\x65\x6e\164\137\143\x6f\156\146\151\147\137\157\160\164\151\x6f\x6e":
                $this->mo_api_client_config_settings();
                goto BP;
            case "\x6d\x6f\x5f\x61\160\x69\x5f\x63\157\156\146\151\147\137\164\x65\163\164\137\143\157\x6e\156\145\143\164\151\x6f\156":
                $this->mo_api_config_save_test_configuration_email();
                goto BP;
            case "\x6d\x6f\x5f\141\160\x69\x5f\143\154\x65\x61\162\x5f\141\164\x74\162\x69\x62\x75\x74\x65\x73\137\x6f\x70\x74\x69\157\156":
                $this->mo_api_clear_attributes_option();
                goto BP;
            case "\x6d\157\137\x61\160\151\137\x63\x6f\156\x66\x69\x67\137\160\162\157\x76\x69\163\151\x6f\x6e\x69\x6e\x67\137\163\145\164\164\151\156\147\163":
                $this->mo_api_config_provisioning_settings();
                goto BP;
            case "\155\157\137\141\160\151\x5f\x73\x79\x6e\x63\x5f\156\157\x77\137\x6f\x70\164\151\157\156":
                $this->mo_api_config_sync_now();
                goto BP;
            case "\155\157\x5f\x61\x70\151\137\164\x65\x73\164\137\165\x73\x65\162\137\163\x79\156\x63\137\157\160\x74\x69\x6f\156":
                $this->mo_api_config_sync_test_user();
                goto BP;
            case "\155\157\137\x61\x70\x69\137\x72\x65\x73\x65\x74\137\156\x6f\167\x5f\x6f\160\164\151\157\x6e":
                $this->mo_api_config_reset_now();
                goto BP;
            case "\155\157\x5f\x61\x70\x69\x5f\143\x6c\145\141\x72\x5f\x75\163\145\162\163\x5f\x6f\160\164\151\157\x6e":
                $this->mo_api_clear_users_now();
                goto BP;
            case "\x6d\157\137\141\160\x69\x5f\143\x6f\156\x66\x69\x72\x6d\137\143\x6c\145\141\x72\x5f\x75\163\145\162\163\x5f\157\160\164\x69\x6f\156":
                $this->mo_api_confirm_clear_users_option();
                goto BP;
            case "\155\157\137\x61\x70\151\137\167\x70\137\164\x6f\137\141\144\137\x73\x79\156\x63\x5f\143\157\156\146\x69\x67":
                $this->mo_api_wp_to_ad_sync_config();
                goto BP;
            case "\x6d\157\137\141\x70\151\x5f\143\154\151\x65\x6e\x74\x5f\141\x64\137\x73\x79\x6e\143\x5f\151\156\144\151\166\151\144\165\x61\x6c\137\x75\163\x65\x72\137\157\x70\x74\151\157\156":
                $this->mo_api_client_ad_sync_individual_user();
                goto BP;
            case "\x6d\x6f\137\x61\x70\x69\x5f\x73\171\x6e\143\x5f\141\154\x6c\x5f\164\157\x5f\x61\144\137\x6f\160\x74\151\157\x6e":
                $this->mo_api_sync_all_to_ad();
                goto BP;
            case "\155\157\x5f\141\160\x69\x5f\163\x79\x6e\143\137\141\154\154\x5f\164\x6f\x5f\x61\144\137\x72\x65\x73\145\x74\x5f\x6f\160\164\151\x6f\x6e":
                $this->mo_api_sync_all_to_ad_reset();
                goto BP;
        }
        aI:
        BP:
    }

Function Calls

None

Variables

None

Stats

MD5 b3c5708044cf960d8da69824aa87321e
Eval Count 0
Decode Time 47 ms