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 /** * This file is a part of the miniorange-saml-20-single-sign-on plugin. * ..

Decoded Output download

<?php 
/** 
 * This file is a part of the miniorange-saml-20-single-sign-on plugin. 
 * 
 * @link https://plugins.miniorange.com/ 
 * @author miniOrange 
 * @package miniorange-saml-20-single-sign-on 
 */ 
 
 
namespace MOSAML\LicenseLibrary\Classes; 
 
use MOSAML\LicenseLibrary\Mo_License_Config; 
if (defined("ABSPATH")) { 
    goto GH; 
} 
exit; 
GH: 
class Mo_License_Constants 
{ 
    const VERSION = "1.0.5"; 
    const HOSTNAME = "https://login.xecurify.com"; 
    const EPOCH_DATE = "January 1, 1970"; 
    const LAST_CHECK_TIME_OPTION = Mo_License_Config::OPTION_PREFIX . "ln_check_t"; 
    const LICENSE_EXPIRY_DATE_OPTION = Mo_License_Config::OPTION_PREFIX . "led"; 
    const EXPIRY_NOTICE_CLOSE_OPTION = Mo_License_Config::OPTION_PREFIX . "exp_notice_close"; 
    const LICENSE_EXPIRED_OPTION = Mo_License_Config::OPTION_PREFIX . "license_expired"; 
    const DASHBOARD_WIDGET_ID = Mo_License_Config::OPTION_PREFIX . "license_details_widget"; 
    const DASHBOARD_WIDGET_REFRESH_ID = Mo_License_Config::OPTION_PREFIX . "refresh_expiry"; 
    const ADMIN_NOTICE_DISMISS_ID = Mo_License_Config::OPTION_PREFIX . "license_admin_notice_dismiss"; 
    const ADMIN_ERROR_MESSAGE = "The link you followed has expired. Or your plugin license is invalid."; 
    const EXPIRY_IN_30_TO_60_DAYS = 60; 
    const EXPIRY_IN_10_TO_30_DAYS = 30; 
    const EXPIRY_IN_10_DAYS = 10; 
    const GRACE_PERIOD_STARTED = 0; 
    const GRACE_PERIOD_EXPIRED = "GRACE_EXPIRED"; 
    const ENVIRONMENT_SPECIFIC_HOOKS = array("dashboard_widget" => array("network" => "wp_network_dashboard_setup", "standalone" => "wp_dashboard_setup"), "admin_notice" => array("network" => "network_admin_notices", "standalone" => "admin_notices")); 
    public static function get_constants() 
    { 
        try { 
            $xq = new \ReflectionClass(static::class); 
            return $xq->getConstants(); 
        } catch (\ReflectionException $XJ) { 
            return array(); 
        } 
    } 
} 
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 * This file is a part of the miniorange-saml-20-single-sign-on plugin.
 *
 * @link https://plugins.miniorange.com/
 * @author miniOrange
 * @package miniorange-saml-20-single-sign-on
 */


namespace MOSAML\LicenseLibrary\Classes;

use MOSAML\LicenseLibrary\Mo_License_Config;
if (defined("\x41\x42\123\x50\101\124\110")) {
    goto GH;
}
exit;
GH:
class Mo_License_Constants
{
    const VERSION = "\61\56\x30\56\65";
    const HOSTNAME = "\x68\x74\164\x70\x73\72\57\x2f\154\157\147\x69\156\x2e\170\x65\x63\x75\162\x69\x66\x79\x2e\x63\x6f\x6d";
    const EPOCH_DATE = "\x4a\141\156\165\141\x72\171\40\x31\x2c\40\61\71\67\x30";
    const LAST_CHECK_TIME_OPTION = Mo_License_Config::OPTION_PREFIX . "\x6c\156\137\x63\x68\145\143\x6b\137\164";
    const LICENSE_EXPIRY_DATE_OPTION = Mo_License_Config::OPTION_PREFIX . "\x6c\145\144";
    const EXPIRY_NOTICE_CLOSE_OPTION = Mo_License_Config::OPTION_PREFIX . "\x65\x78\x70\137\156\157\x74\151\143\x65\x5f\143\154\x6f\163\145";
    const LICENSE_EXPIRED_OPTION = Mo_License_Config::OPTION_PREFIX . "\x6c\151\x63\145\x6e\x73\145\x5f\x65\170\x70\151\162\145\x64";
    const DASHBOARD_WIDGET_ID = Mo_License_Config::OPTION_PREFIX . "\x6c\x69\143\x65\x6e\163\145\137\144\145\x74\x61\151\x6c\163\x5f\x77\x69\x64\147\145\164";
    const DASHBOARD_WIDGET_REFRESH_ID = Mo_License_Config::OPTION_PREFIX . "\x72\x65\x66\162\145\163\x68\137\145\170\x70\151\x72\x79";
    const ADMIN_NOTICE_DISMISS_ID = Mo_License_Config::OPTION_PREFIX . "\x6c\151\x63\145\156\163\x65\x5f\x61\x64\155\151\x6e\x5f\156\157\x74\x69\x63\x65\x5f\144\151\163\155\x69\x73\x73";
    const ADMIN_ERROR_MESSAGE = "\124\x68\145\40\x6c\151\x6e\x6b\x20\x79\157\x75\40\x66\x6f\154\154\157\167\145\144\40\x68\x61\163\40\145\x78\x70\x69\x72\x65\144\56\40\x4f\162\x20\x79\x6f\165\x72\40\160\x6c\x75\147\x69\x6e\40\x6c\151\143\145\156\163\145\x20\151\163\40\x69\x6e\166\141\x6c\151\x64\x2e";
    const EXPIRY_IN_30_TO_60_DAYS = 60;
    const EXPIRY_IN_10_TO_30_DAYS = 30;
    const EXPIRY_IN_10_DAYS = 10;
    const GRACE_PERIOD_STARTED = 0;
    const GRACE_PERIOD_EXPIRED = "\x47\x52\101\103\105\x5f\x45\130\120\111\x52\x45\x44";
    const ENVIRONMENT_SPECIFIC_HOOKS = array("\144\141\163\x68\142\x6f\141\x72\144\x5f\167\151\144\x67\x65\164" => array("\x6e\x65\164\x77\157\x72\x6b" => "\167\160\x5f\156\145\x74\167\x6f\162\153\x5f\144\x61\x73\150\x62\157\141\162\144\137\163\145\x74\165\x70", "\x73\164\141\156\x64\x61\x6c\x6f\x6e\145" => "\167\x70\x5f\x64\141\163\150\x62\157\x61\162\x64\137\x73\x65\x74\165\160"), "\x61\144\x6d\151\x6e\137\156\157\x74\x69\143\145" => array("\156\x65\164\x77\x6f\x72\153" => "\156\145\164\x77\x6f\x72\x6b\x5f\141\x64\x6d\x69\x6e\137\156\157\164\x69\x63\145\x73", "\x73\x74\x61\156\144\x61\x6c\157\x6e\x65" => "\x61\x64\155\x69\156\137\x6e\x6f\164\151\x63\x65\163"));
    public static function get_constants()
    {
        try {
            $xq = new \ReflectionClass(static::class);
            return $xq->getConstants();
        } catch (\ReflectionException $XJ) {
            return array();
        }
    }
}

Function Calls

None

Variables

None

Stats

MD5 d6ca0298e76e082cf86a395584787211
Eval Count 0
Decode Time 97 ms