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;
use MOSAML\LicenseLibrary\Utils\Mo_License_API_Utility;
if (defined("ABSPATH")) {
goto dR;
}
exit;
dR:
class Mo_License_API_Client
{
public static function fetch_license_info()
{
$qp = Mo_License_Constants::HOSTNAME . "/moas/rest/customer/license";
$KD = Mo_License_Dao::mo_get_option(Mo_License_Config::CUSTOMER_KEY_OPTION);
if ($KD) {
goto fm;
}
return false;
fm:
$es = Mo_License_API_Utility::get_current_time_in_millis($KD);
$VG = array("customerId" => $KD, "applicationName" => Mo_License_Config::APPLICATION);
$SX = Mo_License_API_Utility::get_api_headers($KD, $es["milliTime"], $es["hash"]);
$u5 = Mo_License_API_Utility::get_api_args($VG, $SX);
$uk = Mo_License_API_Utility::mo_wp_remote_call($qp, $u5);
return $uk;
}
}
?>
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;
use MOSAML\LicenseLibrary\Utils\Mo_License_API_Utility;
if (defined("\x41\x42\x53\120\x41\x54\x48")) {
goto dR;
}
exit;
dR:
class Mo_License_API_Client
{
public static function fetch_license_info()
{
$qp = Mo_License_Constants::HOSTNAME . "\x2f\155\157\x61\x73\57\x72\145\x73\x74\57\x63\x75\x73\164\157\x6d\x65\162\57\154\151\x63\145\x6e\x73\145";
$KD = Mo_License_Dao::mo_get_option(Mo_License_Config::CUSTOMER_KEY_OPTION);
if ($KD) {
goto fm;
}
return false;
fm:
$es = Mo_License_API_Utility::get_current_time_in_millis($KD);
$VG = array("\x63\165\163\x74\157\x6d\x65\x72\111\144" => $KD, "\141\160\160\x6c\x69\x63\141\164\x69\157\156\x4e\x61\155\x65" => Mo_License_Config::APPLICATION);
$SX = Mo_License_API_Utility::get_api_headers($KD, $es["\x6d\x69\x6c\x6c\x69\x54\151\x6d\x65"], $es["\x68\x61\x73\150"]);
$u5 = Mo_License_API_Utility::get_api_args($VG, $SX);
$uk = Mo_License_API_Utility::mo_wp_remote_call($qp, $u5);
return $uk;
}
}
Function Calls
| None |
Stats
| MD5 | 67b81a13843eba593f7b51cdcedf2e9d |
| Eval Count | 0 |
| Decode Time | 71 ms |