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 namespace MoJWT\Base; use MoJWTSUBSCRIPTION\LicenseLibrary\Classes\Mo_Licens..
Decoded Output download
<?php
namespace MoJWT\Base;
use MoJWTSUBSCRIPTION\LicenseLibrary\Classes\Mo_License_Library;
class InstanceHelper
{
private $current_version = "FREE";
private $utils;
public function __construct()
{
if (class_exists("MoJWT\Premium\MJUtils")) {
goto Bm;
}
$this->utils = new \MoJWT\MJUtils();
goto wi;
Bm:
$this->utils = new \MoJWT\Premium\MJUtils();
wi:
$this->current_version = $this->utils->get_versi_str();
}
public function get_accounts_instance()
{
if (class_exists("MoJWT\Paid\Accounts")) {
goto iX;
}
return new \MoJWT\Accounts();
goto bJ;
iX:
return new \MoJWT\Paid\Accounts();
bJ:
}
public function get_license_library_instance()
{
if (!class_exists("MoJWT\Premium\MJUtils")) {
goto e_;
}
return new Mo_License_Library();
e_:
}
public function get_licensing_instance()
{
return new \MoJWT\Licensing();
}
public function get_trial_instance()
{
return new \MoJWT\Free\Trial();
}
public function get_all_method_instances()
{
$Q6 = get_declared_classes();
$Vq = array_filter($Q6, function ($eD) {
return stripos($eD, "MoJWT\Methods") !== false;
});
unset($Vq[array_search("MoJWT\Methods", $Vq, true)]);
return $Vq;
}
public function get_registered_method_views()
{
if (!class_exists("MoJWT\MethodViewHandler")) {
goto Wt;
}
$Q6 = get_declared_classes();
$HS = array_filter($Q6, function ($eD) {
return stripos($eD, "MoJWT\MethodViewHandler") !== false;
});
unset($HS[array_search("MoJWT\MethodViewHandler", $HS, true)]);
return $HS;
Wt:
}
public function get_settings_instance()
{
if (class_exists("MoJWT\Premium\PremiumSettings")) {
goto iZ;
}
if (class_exists("MoJWT\Free\FreeSettings")) {
goto kb;
}
wp_die("Please Change The version back to what it really was");
exit;
goto FR;
iZ:
return new \MoJWT\Premium\PremiumSettings();
goto FR;
kb:
return new \MoJWT\Free\FreeSettings();
FR:
}
public function jwt_flow_handler()
{
if (class_exists("MoJWT\JWTFlowHandler")) {
goto Gs;
}
wp_die("Please Change The version back to what it really was");
exit;
goto cc;
Gs:
return new \MoJWT\JWTFlowHandler();
cc:
}
public function jwt_login_handler($m2)
{
if (!class_exists("MoJWT\Premium\JWTLoginHandler")) {
goto dS;
}
return new \MoJWT\Premium\JWTLoginHandler($m2);
dS:
}
public function get_config_instance()
{
if (!class_exists("MoJWT\MethodViewHandler")) {
goto Sb;
}
return new \MoJWT\MethodViewHandler();
Sb:
}
public function get_utils_instance()
{
return $this->utils;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace MoJWT\Base;
use MoJWTSUBSCRIPTION\LicenseLibrary\Classes\Mo_License_Library;
class InstanceHelper
{
private $current_version = "\x46\x52\105\x45";
private $utils;
public function __construct()
{
if (class_exists("\x4d\x6f\112\127\x54\x5c\x50\162\145\x6d\x69\165\x6d\134\115\112\x55\x74\x69\154\x73")) {
goto Bm;
}
$this->utils = new \MoJWT\MJUtils();
goto wi;
Bm:
$this->utils = new \MoJWT\Premium\MJUtils();
wi:
$this->current_version = $this->utils->get_versi_str();
}
public function get_accounts_instance()
{
if (class_exists("\x4d\x6f\112\127\x54\134\120\141\x69\144\134\101\x63\143\157\x75\156\164\x73")) {
goto iX;
}
return new \MoJWT\Accounts();
goto bJ;
iX:
return new \MoJWT\Paid\Accounts();
bJ:
}
public function get_license_library_instance()
{
if (!class_exists("\x4d\157\x4a\x57\x54\134\120\162\145\x6d\151\165\x6d\134\115\112\x55\164\151\x6c\x73")) {
goto e_;
}
return new Mo_License_Library();
e_:
}
public function get_licensing_instance()
{
return new \MoJWT\Licensing();
}
public function get_trial_instance()
{
return new \MoJWT\Free\Trial();
}
public function get_all_method_instances()
{
$Q6 = get_declared_classes();
$Vq = array_filter($Q6, function ($eD) {
return stripos($eD, "\x4d\x6f\x4a\x57\124\x5c\x4d\145\164\x68\x6f\144\x73") !== false;
});
unset($Vq[array_search("\115\x6f\112\127\x54\134\115\145\x74\150\x6f\144\x73", $Vq, true)]);
return $Vq;
}
public function get_registered_method_views()
{
if (!class_exists("\115\157\112\127\x54\x5c\115\x65\x74\x68\x6f\144\x56\x69\145\x77\110\x61\156\144\x6c\x65\x72")) {
goto Wt;
}
$Q6 = get_declared_classes();
$HS = array_filter($Q6, function ($eD) {
return stripos($eD, "\115\x6f\112\x57\x54\x5c\x4d\145\x74\150\157\x64\x56\x69\145\167\x48\x61\x6e\x64\154\x65\162") !== false;
});
unset($HS[array_search("\x4d\x6f\x4a\127\124\134\x4d\x65\164\x68\x6f\144\126\x69\x65\167\110\141\156\x64\154\145\x72", $HS, true)]);
return $HS;
Wt:
}
public function get_settings_instance()
{
if (class_exists("\x4d\157\x4a\127\124\134\120\x72\x65\155\x69\165\x6d\x5c\120\162\145\155\x69\165\155\x53\x65\164\x74\151\x6e\147\163")) {
goto iZ;
}
if (class_exists("\115\157\x4a\x57\124\x5c\x46\x72\x65\145\x5c\106\162\x65\145\x53\x65\164\x74\x69\x6e\x67\x73")) {
goto kb;
}
wp_die("\120\x6c\145\141\x73\x65\x20\103\x68\x61\x6e\147\145\x20\124\150\x65\x20\166\145\x72\x73\x69\157\156\x20\142\141\143\x6b\x20\x74\157\x20\167\x68\141\x74\x20\x69\164\40\x72\x65\x61\154\x6c\171\40\167\x61\163");
exit;
goto FR;
iZ:
return new \MoJWT\Premium\PremiumSettings();
goto FR;
kb:
return new \MoJWT\Free\FreeSettings();
FR:
}
public function jwt_flow_handler()
{
if (class_exists("\115\x6f\112\127\124\134\112\127\x54\106\x6c\157\167\x48\141\156\144\154\x65\x72")) {
goto Gs;
}
wp_die("\x50\154\x65\141\x73\x65\x20\103\x68\x61\156\x67\x65\40\124\150\145\x20\x76\x65\162\163\151\157\x6e\40\x62\141\x63\153\x20\164\157\x20\x77\x68\141\164\x20\x69\164\x20\162\145\141\154\154\x79\x20\x77\141\x73");
exit;
goto cc;
Gs:
return new \MoJWT\JWTFlowHandler();
cc:
}
public function jwt_login_handler($m2)
{
if (!class_exists("\115\157\112\127\x54\x5c\120\x72\x65\x6d\151\165\155\134\112\x57\x54\x4c\157\x67\151\x6e\x48\x61\x6e\x64\x6c\145\x72")) {
goto dS;
}
return new \MoJWT\Premium\JWTLoginHandler($m2);
dS:
}
public function get_config_instance()
{
if (!class_exists("\x4d\157\112\x57\124\x5c\115\x65\164\150\157\144\x56\151\145\x77\110\141\x6e\x64\154\145\x72")) {
goto Sb;
}
return new \MoJWT\MethodViewHandler();
Sb:
}
public function get_utils_instance()
{
return $this->utils;
}
}
Function Calls
None |
Stats
MD5 | 5cef3eb11e24424c5f193867281fdeec |
Eval Count | 0 |
Decode Time | 79 ms |