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 function mo_saml_admin_notices() { $bm = get_option("\x6d\x6f\137\x73\141..

Decoded Output download

<?php 
 
 
function mo_saml_admin_notices() 
{ 
    $bm = get_option("mo_saml_tla"); 
    $Go = get_option("mo_saml_license_expiry_date"); 
    if (!((!mo_saml_is_customer_license_key_verified() and empty(get_option("mo_saml_tla"))) || !mo_saml_is_customer_registered() || !$bm || empty($Go))) { 
        goto nep; 
    } 
    return; 
    nep: 
    echo "<br/>"; 
    if (new DateTime() < new DateTime($Go)) { 
        goto C1r; 
    } 
    echo "<div class="notice notice-error mo_saml_trial_notice_banner"><img src="" . SAMLSPUtilities::mo_saml_get_plugin_dir_url() . "images/miniorange.png"/>&nbsp;&nbsp;\xd
\x9\x9<span class="mo_saml_trial_notice_text"><b>Your TRIAL license for miniOrange SAML 2.0 Single Sign On plugin has been expired on " . $Go . ".</b>\xd
            <br/>Please <b><a href="https://plugins.miniorange.com/wordpress-single-sign-on-sso#pricing" target="_blank">purchase the plugin</a></b> or contact us at <a href="mailto:[email protected]" class="text-primary"><b>[email protected]</b></a>."; 
    goto d46; 
    C1r: 
    echo "<div class="notice notice-warning mo_saml_trial_notice_banner"><img src="" . SAMLSPUtilities::mo_saml_get_plugin_dir_url() . "images/miniorange.png"/>&nbsp;&nbsp;\xd
	\x9<span class="mo_saml_trial_notice_text"><b>Your TRIAL license for miniOrange SAML 2.0 Single Sign On plugin has been activated and will be valid till " . $Go . ".</b>
	\x9<br/> If you need any help in setting up the SSO, please reach out to us at <a href="mailto:[email protected]" class="text-primary"><b>[email protected]</b></a>."; 
    d46: 
    echo "</span></div>"; 
} 
 ?>

Did this file decode correctly?

Original Code

<?php


function mo_saml_admin_notices()
{
    $bm = get_option("\x6d\x6f\137\x73\141\x6d\x6c\x5f\164\154\141");
    $Go = get_option("\155\x6f\137\x73\141\155\154\x5f\154\151\143\x65\156\x73\x65\x5f\145\170\160\x69\162\x79\x5f\x64\141\x74\x65");
    if (!((!mo_saml_is_customer_license_key_verified() and empty(get_option("\155\157\137\x73\141\155\154\137\x74\x6c\141"))) || !mo_saml_is_customer_registered() || !$bm || empty($Go))) {
        goto nep;
    }
    return;
    nep:
    echo "\x3c\142\x72\57\x3e";
    if (new DateTime() < new DateTime($Go)) {
        goto C1r;
    }
    echo "\x3c\x64\151\x76\x20\x63\154\x61\163\x73\x3d\42\156\x6f\164\x69\x63\145\40\156\x6f\164\x69\143\145\55\145\162\x72\x6f\x72\x20\155\157\137\163\141\x6d\x6c\x5f\164\x72\x69\x61\154\x5f\x6e\x6f\164\151\143\145\137\x62\141\x6e\x6e\x65\162\42\x3e\74\x69\155\147\x20\163\162\x63\x3d\x22" . SAMLSPUtilities::mo_saml_get_plugin_dir_url() . "\x69\155\141\147\x65\163\x2f\155\x69\156\x69\157\162\141\156\147\x65\x2e\160\x6e\x67\x22\x2f\x3e\46\x6e\x62\x73\x70\73\x26\x6e\x62\x73\160\x3b\xd\12\x9\x9\x3c\163\160\x61\x6e\40\143\x6c\x61\x73\x73\x3d\x22\155\157\x5f\x73\x61\155\x6c\x5f\x74\162\151\141\x6c\x5f\156\x6f\164\x69\143\145\137\164\145\x78\x74\x22\x3e\74\x62\x3e\131\x6f\x75\162\x20\x54\122\111\101\114\40\154\151\143\145\x6e\x73\145\40\146\157\162\x20\x6d\x69\x6e\x69\x4f\x72\x61\156\147\x65\40\x53\101\115\114\40\x32\56\x30\x20\123\x69\156\x67\154\x65\40\123\151\147\156\x20\117\x6e\40\x70\x6c\x75\147\151\156\x20\x68\141\163\40\142\145\x65\x6e\40\145\170\160\151\162\x65\x64\x20\157\x6e\40" . $Go . "\56\x3c\x2f\142\76\xd\12\x20\x20\x20\40\40\x20\40\40\x20\40\x20\x20\x3c\142\x72\x2f\76\x50\154\x65\x61\x73\x65\40\74\x62\x3e\x3c\141\x20\150\x72\x65\146\75\42\150\164\x74\160\163\72\57\57\x70\154\165\x67\x69\x6e\163\56\x6d\151\x6e\151\x6f\162\141\x6e\147\x65\x2e\143\x6f\x6d\x2f\167\x6f\x72\144\x70\x72\145\x73\163\55\163\x69\x6e\x67\x6c\x65\x2d\x73\151\147\156\x2d\x6f\156\55\163\163\157\43\x70\162\x69\143\x69\x6e\147\x22\40\x74\141\x72\x67\x65\164\75\x22\137\x62\x6c\141\x6e\x6b\x22\x3e\x70\x75\x72\143\150\141\163\145\x20\x74\x68\x65\x20\x70\154\x75\147\x69\x6e\x3c\x2f\141\76\74\x2f\x62\76\40\157\x72\40\x63\157\x6e\164\141\x63\x74\40\x75\x73\x20\x61\x74\40\x3c\x61\40\x68\162\x65\146\x3d\x22\155\141\151\x6c\x74\x6f\x3a\x73\x61\x6d\x6c\163\x75\x70\x70\157\x72\164\100\170\145\x63\x75\162\x69\x66\x79\56\x63\157\155\x22\40\x63\x6c\141\163\163\x3d\x22\x74\x65\x78\164\x2d\x70\162\151\155\x61\x72\171\x22\76\x3c\x62\76\163\141\x6d\154\163\165\160\x70\x6f\x72\164\x40\170\x65\143\x75\162\x69\146\171\56\x63\x6f\x6d\x3c\57\142\x3e\74\x2f\141\x3e\56";
    goto d46;
    C1r:
    echo "\x3c\144\151\166\40\143\154\x61\163\x73\x3d\42\156\x6f\x74\x69\x63\x65\40\x6e\157\x74\151\x63\145\x2d\167\x61\162\x6e\151\x6e\147\x20\x6d\157\137\163\x61\x6d\154\x5f\x74\162\x69\141\x6c\137\x6e\157\164\x69\143\x65\137\x62\x61\x6e\x6e\x65\162\x22\x3e\x3c\x69\x6d\147\x20\163\x72\x63\75\42" . SAMLSPUtilities::mo_saml_get_plugin_dir_url() . "\151\155\x61\x67\x65\x73\57\155\151\156\x69\x6f\162\141\x6e\x67\x65\x2e\x70\x6e\147\42\57\x3e\46\156\x62\x73\x70\73\x26\x6e\142\x73\x70\73\xd\12\11\x9\74\x73\x70\x61\156\40\x63\x6c\x61\163\x73\75\42\x6d\x6f\137\x73\x61\155\x6c\137\164\x72\151\x61\x6c\x5f\156\157\x74\151\x63\x65\137\x74\x65\x78\x74\x22\x3e\x3c\x62\x3e\x59\157\x75\162\x20\x54\x52\111\101\x4c\40\154\x69\143\145\x6e\x73\x65\x20\x66\x6f\162\40\x6d\151\156\151\117\x72\141\x6e\147\x65\40\123\101\x4d\x4c\40\62\x2e\x30\40\x53\x69\156\147\x6c\145\40\x53\x69\x67\x6e\x20\x4f\156\x20\160\154\x75\147\x69\x6e\x20\x68\x61\x73\40\x62\145\145\156\40\141\143\164\151\x76\141\x74\145\x64\x20\x61\x6e\144\40\x77\151\154\x6c\x20\x62\145\40\166\x61\154\x69\x64\40\164\x69\x6c\154\40" . $Go . "\56\x3c\57\x62\x3e\15\12\11\x9\x3c\x62\162\x2f\76\40\x49\146\40\x79\157\x75\x20\156\145\x65\144\x20\x61\x6e\x79\40\150\x65\154\160\40\151\156\x20\x73\145\x74\164\x69\156\147\x20\165\160\40\x74\x68\x65\40\123\123\x4f\54\40\160\x6c\x65\141\163\x65\40\162\x65\141\143\x68\x20\x6f\165\x74\40\x74\x6f\x20\165\163\x20\141\x74\40\74\141\40\150\x72\145\x66\75\42\155\x61\151\154\164\x6f\72\163\141\155\x6c\163\x75\x70\x70\x6f\162\x74\100\170\145\143\165\x72\151\x66\171\x2e\x63\x6f\155\42\40\x63\154\141\x73\x73\75\x22\x74\x65\x78\164\x2d\160\x72\151\x6d\x61\162\171\x22\x3e\x3c\142\x3e\163\141\155\x6c\x73\x75\x70\160\x6f\162\164\x40\x78\x65\143\165\x72\x69\x66\x79\x2e\143\x6f\x6d\74\57\x62\x3e\x3c\57\x61\x3e\56";
    d46:
    echo "\74\x2f\x73\x70\141\x6e\76\x3c\x2f\x64\151\166\x3e";
}

Function Calls

None

Variables

None

Stats

MD5 389b3bbe938945d7d7df624863773d3e
Eval Count 0
Decode Time 40 ms