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 moApiIntegrator\Controller; use moApiIntegrator\API\CustomerMOAZOS..
Decoded Output download
<?php
namespace moApiIntegrator\Controller;
use moApiIntegrator\API\CustomerMOAZOS;
use moApiIntegrator\Wrapper\statusCodes;
use moApiIntegrator\Wrapper\wpWrapper;
class accountSetup extends adminController
{
private static $user;
public static function getController()
{
if (isset(self::$user)) {
goto sS;
}
self::$user = new accountSetup();
sS:
return self::$user;
}
protected function mo_api_save_settings()
{
$V4 = sanitize_text_field($_POST["option"]);
switch ($V4) {
case "mo_api_account_setup_option":
$this->mo_api_account_setup();
goto VH;
case "mo_api_verify_license_option":
$this->mo_api_verify_license();
goto VH;
case "mo_api_go_back_from_license_page_option":
$this->mo_api_go_back_from_license_page();
goto VH;
case "mo_api_remove_account_option":
$this->mo_api_remove_account();
goto VH;
}
ZP:
VH:
}
private function mo_saml_is_extension_installed($qw)
{
if (in_array($qw, get_loaded_extensions())) {
goto e8;
}
return 0;
goto MS;
e8:
return 1;
MS:
}
private function mo_api_account_setup()
{
check_admin_referer("mo_api_account_setup_option");
if ($this->mo_saml_is_extension_installed("curl")) {
goto bq;
}
wpWrapper::mo_api__show_error_notice("ERROR: PHP cURL extension is not installed or disabled. Login failed.");
return;
bq:
$nE = '';
$MD = '';
if (empty($_POST["account_email"]) || empty($_POST["account_pwd"])) {
goto mM;
}
if (wpWrapper::mo_api__checkPasswordPattern(strip_tags($_POST["account_pwd"]))) {
goto fZ;
}
$nE = sanitize_email($_POST["account_email"]);
$MD = stripslashes(strip_tags($_POST["account_pwd"]));
goto Kt;
fZ:
wpWrapper::mo_api__show_error_notice("Minimum 6 characters should be present. Maximum 15 characters should be present. Only following symbols (!@#.$%^&*-_) should be present.");
return;
Kt:
goto oi;
mM:
wpWrapper::mo_api__show_error_notice("All the fields are required. Please enter valid entries.");
return;
oi:
update_option("mo_saml_admin_email", $nE);
update_option("mo_saml_admin_password", $MD);
$TG = new CustomerMOAZOS();
$VN = $TG->mo_azos_get_customer_key();
if ($VN) {
goto kY;
}
return;
kY:
$AZ = json_decode($VN, true);
if (json_last_error() == JSON_ERROR_NONE) {
goto EC;
}
wpWrapper::mo_api__show_error_notice("Invalid username or password. Please try again.");
goto Qq;
EC:
update_option("mo_saml_admin_customer_key", $AZ["id"]);
update_option("mo_saml_admin_api_key", $AZ["apiKey"]);
update_option("mo_azos_customer_token", $AZ["token"]);
if (empty($AZ["phone"])) {
goto cG;
}
update_option("mo_saml_admin_phone", $AZ["phone"]);
cG:
update_option("mo_saml_admin_password", '');
update_option("mo_azos_registration_status", "Existing User");
delete_option("mo_azos_verify_customer");
if (get_option("azos_lk")) {
goto Qa;
}
wpWrapper::mo_api__show_success_notice("Customer retrieved successfully");
goto uT;
Qa:
$rv = get_option("mo_azos_customer_token");
$l6 = wpWrapper::mo_api_decrypt_data(get_option("azos_lk"), $rv);
$VN = $TG->mo_azos_vl($l6, false);
if ($VN) {
goto n0;
}
return;
n0:
$VN = json_decode($VN, true);
update_option("mo_azos_vl_check_t", time());
if (strcasecmp($VN["status"], "SUCCESS") == 0) {
goto Qu;
}
delete_option("azos_lk");
wpWrapper::mo_api__show_error_notice("License key for this instance is incorrect. Make sure you have not tampered with it at all. Please enter a valid license key.");
goto e1;
Qu:
$iw = plugin_dir_path(__FILE__);
$T_ = home_url();
$T_ = trim($T_, "/");
if (preg_match("#^http(s)?://#", $T_)) {
goto SP;
}
$T_ = "http://" . $T_;
SP:
$hZ = parse_url($T_);
$OY = preg_replace("/^www\./", '', $hZ["host"]);
$Ie = wp_upload_dir();
$b1 = $OY . "-" . $Ie["basedir"];
$Tp = hash_hmac("sha256", $b1, "4DHfjgfjasndfsajfHGJ");
$p2 = wpWrapper::djkasjdksa();
$Ox = round(strlen($p2) / rand(2, 20));
$p2 = substr_replace($p2, $Tp, $Ox, 0);
$Gg = base64_decode($p2);
if (is_writable($iw . "license")) {
goto eu;
}
$p2 = str_rot13($p2);
$df = base64_decode("bGNkamthc2pka3NhY2w=");
update_option($df, $p2);
goto lz;
eu:
file_put_contents($iw . "license", $Gg);
lz:
update_option("lcwrtlfsaml", true);
wpWrapper::mo_api__show_success_notice("Customer retrieved successfully");
e1:
uT:
Qq:
update_option("mo_saml_admin_password", '');
}
private function mo_api_verify_license()
{
check_admin_referer("mo_api_verify_license_option");
if (!empty($_POST["mo_api_licence_key"])) {
goto ws;
}
wpWrapper::mo_api__show_error_notice("All the fields are required. Please enter valid license key.");
return;
ws:
$l6 = htmlspecialchars(trim($_POST["mo_api_licence_key"]));
$TG = new CustomerMOAZOS();
$VN = $TG->mo_azos_check_customer_ln();
if ($VN) {
goto Rz;
}
return;
Rz:
$VN = json_decode($VN, true);
if (strcasecmp($VN["status"], "SUCCESS") == 0) {
goto W5;
}
$rv = get_option("mo_azos_customer_token");
update_option("site_ck_l", wpWrapper::mo_api_encrypt_data("false", $rv));
wpWrapper::mo_api__show_error_notice("You have not upgraded yet.");
goto kw;
W5:
$kh = 0;
if (!array_key_exists("noOfUsers", $VN)) {
goto ii;
}
$kh = $VN["noOfUsers"];
ii:
$VN = $TG->mo_azos_vl($l6, false);
if ($VN) {
goto U2;
}
return;
U2:
$VN = json_decode($VN, true);
update_option("mo_azos_vl_check_t", time());
if (is_array($VN) and strcasecmp($VN["status"], "SUCCESS") == 0) {
goto be;
}
if (is_array($VN) and strcasecmp($VN["status"], "FAILED") == 0) {
goto cp;
}
wpWrapper::mo_api__show_error_notice("An error occurred while processing your request. Please Try again.");
goto TF;
cp:
if (strcasecmp($VN["message"], "Code has Expired") == 0) {
goto Ut;
}
wpWrapper::mo_api__show_error_notice("You have entered an invalid license key. Please enter a valid license key.");
goto bn;
Ut:
wpWrapper::mo_api__show_error_notice("License key you have entered has already been used. Please enter a key which has not been used before on any other instance or if you have exausted all your keys then contact us at [email protected] to buy more");
bn:
TF:
goto fU;
be:
$rv = get_option("mo_azos_customer_token");
update_option("azos_lk", wpWrapper::mo_api_encrypt_data($l6, $rv));
update_option("site_ck_l", wpWrapper::mo_api_encrypt_data("true", $rv));
wpWrapper::mo_api_set_option("mo_azos_users_count", wpWrapper::mo_api_encrypt_data($kh, $rv));
update_option("t_site_status", wpWrapper::mo_api_encrypt_data("false", $rv));
$iw = plugin_dir_path(__FILE__);
$T_ = home_url();
$T_ = trim($T_, "/");
if (preg_match("#^http(s)?://#", $T_)) {
goto dG;
}
$T_ = "http://" . $T_;
dG:
$hZ = parse_url($T_);
$OY = preg_replace("/^www\./", '', $hZ["host"]);
$Ie = wp_upload_dir();
$b1 = $OY . "-" . $Ie["basedir"];
$Tp = hash_hmac("sha256", $b1, "4DHfjgfjasndfsajfHGJ");
$p2 = wpWrapper::djkasjdksa();
$Ox = round(strlen($p2) / rand(2, 20));
$p2 = substr_replace($p2, $Tp, $Ox, 0);
$Gg = base64_decode($p2);
if (is_writable($iw . "license")) {
goto Gh;
}
$p2 = str_rot13($p2);
$df = base64_decode("bGNkamthc2pka3NhY2w=");
update_option($df, $p2);
goto u1;
Gh:
file_put_contents($iw . "license", $Gg);
u1:
update_option("lcwrtlfsaml", true);
$Nk = add_query_arg(array("tab" => "general"), $_SERVER["REQUEST_URI"]);
wpWrapper::mo_api__show_success_notice("Your license is verified. You can now setup the plugin.");
fU:
kw:
}
private function mo_api_go_back_from_license_page()
{
check_admin_referer("mo_api_go_back_from_license_page_option");
wpWrapper::mo_api_deactivate();
add_option("mo_azos_registration_status", "removed_account");
}
private function mo_api_remove_account()
{
check_admin_referer("mo_api_remove_account_option");
wpWrapper::mo_api_deactivate();
add_option("mo_azos_registration_status", "removed_account");
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace moApiIntegrator\Controller;
use moApiIntegrator\API\CustomerMOAZOS;
use moApiIntegrator\Wrapper\statusCodes;
use moApiIntegrator\Wrapper\wpWrapper;
class accountSetup extends adminController
{
private static $user;
public static function getController()
{
if (isset(self::$user)) {
goto sS;
}
self::$user = new accountSetup();
sS:
return self::$user;
}
protected function mo_api_save_settings()
{
$V4 = sanitize_text_field($_POST["\157\x70\164\x69\x6f\x6e"]);
switch ($V4) {
case "\x6d\x6f\137\x61\160\x69\137\x61\143\x63\157\165\x6e\x74\x5f\x73\145\164\x75\x70\x5f\x6f\160\164\x69\157\156":
$this->mo_api_account_setup();
goto VH;
case "\x6d\157\x5f\x61\160\151\137\166\x65\x72\151\146\171\137\154\151\143\145\156\x73\145\x5f\157\160\x74\151\x6f\x6e":
$this->mo_api_verify_license();
goto VH;
case "\155\157\137\141\160\151\x5f\x67\x6f\x5f\x62\141\x63\153\137\146\162\x6f\x6d\x5f\154\x69\143\145\156\x73\145\137\160\x61\147\x65\137\x6f\160\x74\151\x6f\x6e":
$this->mo_api_go_back_from_license_page();
goto VH;
case "\155\157\137\x61\160\x69\x5f\x72\145\x6d\x6f\166\x65\x5f\x61\x63\x63\157\x75\156\164\137\157\x70\x74\151\x6f\156":
$this->mo_api_remove_account();
goto VH;
}
ZP:
VH:
}
private function mo_saml_is_extension_installed($qw)
{
if (in_array($qw, get_loaded_extensions())) {
goto e8;
}
return 0;
goto MS;
e8:
return 1;
MS:
}
private function mo_api_account_setup()
{
check_admin_referer("\155\157\137\141\x70\x69\x5f\141\143\x63\157\x75\156\164\137\x73\145\x74\165\160\x5f\157\160\x74\x69\157\x6e");
if ($this->mo_saml_is_extension_installed("\x63\x75\x72\154")) {
goto bq;
}
wpWrapper::mo_api__show_error_notice("\105\x52\122\x4f\x52\x3a\40\x50\110\x50\40\x63\x55\122\x4c\x20\145\x78\x74\x65\x6e\x73\151\x6f\156\x20\151\x73\40\x6e\157\164\40\151\x6e\163\164\141\x6c\154\x65\144\40\x6f\x72\40\144\151\x73\141\x62\x6c\145\144\x2e\x20\114\x6f\x67\x69\x6e\x20\x66\x61\x69\x6c\x65\144\56");
return;
bq:
$nE = '';
$MD = '';
if (empty($_POST["\x61\x63\x63\157\165\x6e\x74\x5f\x65\155\141\x69\x6c"]) || empty($_POST["\141\143\143\157\x75\156\164\137\x70\x77\x64"])) {
goto mM;
}
if (wpWrapper::mo_api__checkPasswordPattern(strip_tags($_POST["\141\143\x63\157\165\x6e\x74\x5f\x70\x77\144"]))) {
goto fZ;
}
$nE = sanitize_email($_POST["\x61\x63\143\x6f\x75\x6e\164\x5f\145\x6d\141\151\x6c"]);
$MD = stripslashes(strip_tags($_POST["\x61\x63\x63\x6f\165\x6e\164\x5f\x70\x77\x64"]));
goto Kt;
fZ:
wpWrapper::mo_api__show_error_notice("\115\x69\x6e\x69\155\x75\155\40\66\x20\x63\150\141\162\x61\x63\x74\x65\162\x73\40\163\150\x6f\165\x6c\x64\x20\x62\145\x20\x70\x72\x65\163\145\x6e\164\x2e\40\115\141\170\x69\155\x75\155\40\x31\65\40\x63\150\x61\x72\x61\143\x74\145\162\163\x20\x73\150\x6f\x75\154\x64\40\x62\x65\40\160\x72\145\x73\x65\156\x74\x2e\40\117\x6e\154\171\40\146\x6f\x6c\x6c\157\x77\x69\x6e\147\40\x73\x79\x6d\142\x6f\x6c\x73\40\x28\x21\100\x23\x2e\x24\x25\136\x26\52\x2d\x5f\51\40\x73\150\x6f\x75\x6c\x64\x20\142\x65\40\160\162\x65\x73\145\156\164\56");
return;
Kt:
goto oi;
mM:
wpWrapper::mo_api__show_error_notice("\101\x6c\154\40\x74\x68\x65\x20\x66\151\145\154\x64\x73\x20\x61\x72\x65\40\x72\x65\x71\x75\x69\162\145\x64\56\x20\120\154\145\x61\163\145\40\x65\x6e\x74\145\x72\x20\x76\x61\154\151\144\40\x65\x6e\x74\162\151\x65\163\x2e");
return;
oi:
update_option("\155\x6f\x5f\x73\x61\x6d\154\137\x61\x64\155\151\156\x5f\x65\x6d\141\151\x6c", $nE);
update_option("\x6d\x6f\x5f\x73\x61\x6d\154\137\141\x64\x6d\151\x6e\x5f\x70\141\163\x73\x77\157\162\144", $MD);
$TG = new CustomerMOAZOS();
$VN = $TG->mo_azos_get_customer_key();
if ($VN) {
goto kY;
}
return;
kY:
$AZ = json_decode($VN, true);
if (json_last_error() == JSON_ERROR_NONE) {
goto EC;
}
wpWrapper::mo_api__show_error_notice("\x49\156\x76\x61\154\151\x64\40\165\163\x65\x72\156\141\155\x65\40\157\162\x20\160\141\x73\163\x77\157\x72\144\56\40\120\154\x65\x61\x73\145\x20\x74\x72\x79\x20\141\x67\141\x69\156\56");
goto Qq;
EC:
update_option("\155\x6f\137\163\141\x6d\x6c\137\141\x64\155\151\x6e\137\143\x75\x73\164\x6f\x6d\145\162\x5f\153\x65\171", $AZ["\x69\144"]);
update_option("\155\x6f\x5f\163\141\155\154\x5f\141\144\x6d\x69\156\137\x61\160\151\137\x6b\x65\x79", $AZ["\x61\160\x69\113\145\171"]);
update_option("\x6d\157\x5f\x61\x7a\157\163\137\x63\x75\163\164\x6f\155\145\x72\x5f\x74\x6f\153\145\156", $AZ["\x74\157\x6b\x65\x6e"]);
if (empty($AZ["\160\150\x6f\x6e\x65"])) {
goto cG;
}
update_option("\155\157\137\x73\141\155\x6c\137\x61\x64\x6d\151\x6e\x5f\160\x68\157\x6e\145", $AZ["\x70\150\x6f\x6e\x65"]);
cG:
update_option("\x6d\157\x5f\x73\141\155\154\137\x61\x64\155\151\156\137\160\x61\x73\x73\x77\x6f\162\x64", '');
update_option("\x6d\x6f\137\x61\x7a\x6f\x73\137\x72\x65\x67\x69\x73\x74\162\141\164\x69\157\156\137\x73\x74\141\x74\x75\x73", "\x45\x78\151\163\164\x69\156\147\x20\125\163\x65\162");
delete_option("\155\x6f\137\x61\172\157\x73\137\166\x65\x72\x69\146\171\137\143\x75\x73\164\157\155\x65\x72");
if (get_option("\141\x7a\157\163\x5f\154\153")) {
goto Qa;
}
wpWrapper::mo_api__show_success_notice("\x43\x75\163\164\x6f\155\145\x72\40\x72\145\164\162\151\x65\x76\x65\144\40\x73\165\x63\x63\x65\163\163\146\165\x6c\154\171");
goto uT;
Qa:
$rv = get_option("\x6d\x6f\137\141\x7a\157\163\x5f\143\x75\163\164\x6f\x6d\x65\162\137\x74\157\x6b\145\156");
$l6 = wpWrapper::mo_api_decrypt_data(get_option("\141\172\x6f\x73\x5f\154\153"), $rv);
$VN = $TG->mo_azos_vl($l6, false);
if ($VN) {
goto n0;
}
return;
n0:
$VN = json_decode($VN, true);
update_option("\155\157\137\141\172\x6f\x73\137\x76\154\x5f\143\x68\x65\x63\x6b\x5f\x74", time());
if (strcasecmp($VN["\163\x74\141\164\165\163"], "\123\125\103\103\105\123\x53") == 0) {
goto Qu;
}
delete_option("\141\172\157\x73\x5f\x6c\x6b");
wpWrapper::mo_api__show_error_notice("\114\x69\x63\x65\x6e\x73\x65\x20\x6b\x65\171\x20\146\157\x72\x20\164\150\x69\x73\40\151\x6e\163\164\141\156\143\x65\40\151\x73\40\x69\x6e\143\x6f\x72\162\145\143\164\56\x20\115\x61\x6b\145\x20\163\x75\x72\145\x20\x79\157\x75\x20\x68\141\x76\145\40\156\157\x74\40\x74\x61\155\160\145\162\x65\x64\40\x77\151\x74\150\40\151\x74\40\x61\x74\40\x61\154\x6c\56\x20\x50\154\145\x61\163\145\40\x65\x6e\164\145\162\x20\x61\x20\166\x61\154\151\144\40\154\151\x63\x65\156\x73\145\40\153\x65\x79\x2e");
goto e1;
Qu:
$iw = plugin_dir_path(__FILE__);
$T_ = home_url();
$T_ = trim($T_, "\x2f");
if (preg_match("\x23\x5e\150\x74\x74\x70\x28\163\51\77\x3a\57\x2f\43", $T_)) {
goto SP;
}
$T_ = "\x68\164\164\160\72\x2f\x2f" . $T_;
SP:
$hZ = parse_url($T_);
$OY = preg_replace("\x2f\x5e\167\x77\167\x5c\56\x2f", '', $hZ["\x68\157\163\x74"]);
$Ie = wp_upload_dir();
$b1 = $OY . "\x2d" . $Ie["\x62\141\163\145\144\x69\162"];
$Tp = hash_hmac("\163\150\141\x32\65\x36", $b1, "\x34\x44\x48\x66\152\x67\146\x6a\141\163\156\x64\x66\x73\141\152\x66\110\107\x4a");
$p2 = wpWrapper::djkasjdksa();
$Ox = round(strlen($p2) / rand(2, 20));
$p2 = substr_replace($p2, $Tp, $Ox, 0);
$Gg = base64_decode($p2);
if (is_writable($iw . "\154\x69\x63\145\x6e\163\x65")) {
goto eu;
}
$p2 = str_rot13($p2);
$df = base64_decode("\x62\x47\116\x6b\x61\155\x74\x68\143\x32\160\x6b\x61\x33\116\x68\x59\x32\x77\x3d");
update_option($df, $p2);
goto lz;
eu:
file_put_contents($iw . "\x6c\151\143\145\156\163\145", $Gg);
lz:
update_option("\154\x63\x77\x72\164\154\x66\x73\x61\x6d\x6c", true);
wpWrapper::mo_api__show_success_notice("\103\165\163\x74\157\155\145\x72\x20\x72\x65\164\x72\151\145\166\x65\x64\x20\163\x75\143\143\145\163\163\x66\165\x6c\154\x79");
e1:
uT:
Qq:
update_option("\x6d\157\137\x73\141\155\x6c\137\x61\144\155\151\x6e\x5f\x70\x61\x73\163\x77\x6f\162\144", '');
}
private function mo_api_verify_license()
{
check_admin_referer("\x6d\x6f\137\x61\160\x69\137\x76\x65\x72\151\x66\171\x5f\x6c\x69\143\145\156\x73\x65\137\157\160\x74\x69\x6f\156");
if (!empty($_POST["\155\x6f\x5f\x61\x70\151\x5f\x6c\x69\x63\x65\x6e\143\x65\x5f\153\x65\x79"])) {
goto ws;
}
wpWrapper::mo_api__show_error_notice("\101\154\154\40\x74\x68\145\x20\x66\x69\145\x6c\x64\x73\40\141\x72\145\40\x72\x65\161\x75\151\x72\145\144\x2e\40\120\154\x65\141\x73\145\40\145\x6e\164\145\162\40\x76\141\154\151\144\x20\x6c\151\143\x65\x6e\163\145\x20\x6b\x65\171\56");
return;
ws:
$l6 = htmlspecialchars(trim($_POST["\155\157\137\141\160\x69\x5f\154\x69\143\145\156\x63\145\x5f\x6b\145\171"]));
$TG = new CustomerMOAZOS();
$VN = $TG->mo_azos_check_customer_ln();
if ($VN) {
goto Rz;
}
return;
Rz:
$VN = json_decode($VN, true);
if (strcasecmp($VN["\163\164\141\164\x75\163"], "\123\125\103\103\x45\123\x53") == 0) {
goto W5;
}
$rv = get_option("\x6d\x6f\137\141\x7a\157\163\x5f\x63\x75\x73\164\157\x6d\x65\162\137\164\157\153\145\x6e");
update_option("\x73\x69\164\145\137\x63\x6b\x5f\154", wpWrapper::mo_api_encrypt_data("\146\141\x6c\163\x65", $rv));
wpWrapper::mo_api__show_error_notice("\131\157\165\40\150\x61\166\145\x20\x6e\157\164\40\165\160\147\162\141\x64\x65\x64\40\x79\145\164\x2e");
goto kw;
W5:
$kh = 0;
if (!array_key_exists("\156\157\x4f\146\x55\x73\x65\162\163", $VN)) {
goto ii;
}
$kh = $VN["\156\x6f\117\146\125\x73\x65\x72\163"];
ii:
$VN = $TG->mo_azos_vl($l6, false);
if ($VN) {
goto U2;
}
return;
U2:
$VN = json_decode($VN, true);
update_option("\x6d\x6f\137\x61\x7a\157\163\137\166\x6c\x5f\143\x68\x65\143\153\137\x74", time());
if (is_array($VN) and strcasecmp($VN["\x73\164\x61\x74\x75\163"], "\x53\x55\x43\x43\x45\123\123") == 0) {
goto be;
}
if (is_array($VN) and strcasecmp($VN["\163\x74\x61\164\165\163"], "\x46\x41\x49\x4c\105\x44") == 0) {
goto cp;
}
wpWrapper::mo_api__show_error_notice("\x41\x6e\x20\145\162\x72\x6f\x72\x20\157\x63\143\x75\162\162\x65\x64\x20\x77\x68\x69\x6c\145\x20\160\x72\157\143\145\x73\163\x69\x6e\147\40\171\157\x75\162\x20\162\145\161\165\145\163\x74\56\x20\120\x6c\145\x61\x73\145\x20\124\162\x79\40\x61\x67\141\151\x6e\56");
goto TF;
cp:
if (strcasecmp($VN["\155\x65\163\163\141\147\x65"], "\103\157\144\145\40\x68\x61\x73\40\105\x78\160\x69\x72\145\144") == 0) {
goto Ut;
}
wpWrapper::mo_api__show_error_notice("\131\157\165\40\x68\x61\x76\x65\40\x65\x6e\x74\x65\162\145\x64\x20\141\x6e\40\151\x6e\166\141\x6c\151\x64\x20\x6c\151\x63\145\156\163\x65\x20\153\x65\x79\x2e\x20\x50\x6c\x65\141\163\x65\x20\145\156\x74\145\x72\x20\x61\x20\x76\x61\154\151\144\40\154\151\143\145\156\x73\145\40\153\145\171\x2e");
goto bn;
Ut:
wpWrapper::mo_api__show_error_notice("\114\x69\143\145\x6e\163\145\40\x6b\x65\x79\x20\x79\157\x75\40\x68\141\x76\145\x20\145\156\x74\145\x72\x65\144\40\150\x61\163\x20\x61\x6c\162\x65\141\x64\171\40\x62\145\145\156\40\x75\x73\145\x64\x2e\x20\120\154\145\141\x73\145\40\145\156\x74\145\162\x20\x61\x20\153\x65\x79\40\167\150\x69\143\x68\x20\150\141\x73\40\x6e\x6f\164\x20\142\x65\x65\156\40\165\x73\145\x64\40\142\x65\x66\x6f\x72\x65\40\x6f\156\x20\x61\x6e\x79\x20\x6f\x74\x68\x65\162\x20\151\156\163\164\x61\156\x63\x65\40\x6f\x72\x20\151\146\40\171\157\x75\40\150\141\x76\x65\40\145\170\x61\165\163\164\145\x64\40\x61\154\x6c\40\171\157\x75\x72\x20\153\x65\x79\163\x20\164\150\145\156\40\143\x6f\x6e\x74\141\143\x74\40\165\163\40\x61\x74\x20\x73\x61\x6d\154\x73\165\x70\x70\x6f\162\164\x40\170\145\x63\x75\162\151\x66\171\56\x63\x6f\x6d\x20\x74\157\x20\142\165\x79\x20\155\x6f\162\145");
bn:
TF:
goto fU;
be:
$rv = get_option("\155\157\137\x61\x7a\157\163\137\143\x75\163\164\157\x6d\145\x72\x5f\164\157\x6b\145\x6e");
update_option("\x61\x7a\157\163\137\x6c\x6b", wpWrapper::mo_api_encrypt_data($l6, $rv));
update_option("\163\x69\x74\145\x5f\x63\153\137\154", wpWrapper::mo_api_encrypt_data("\x74\x72\165\145", $rv));
wpWrapper::mo_api_set_option("\x6d\x6f\x5f\141\172\x6f\163\137\165\163\x65\x72\163\137\x63\157\165\156\164", wpWrapper::mo_api_encrypt_data($kh, $rv));
update_option("\x74\137\163\151\164\145\137\x73\164\x61\x74\165\x73", wpWrapper::mo_api_encrypt_data("\146\x61\x6c\163\x65", $rv));
$iw = plugin_dir_path(__FILE__);
$T_ = home_url();
$T_ = trim($T_, "\57");
if (preg_match("\x23\136\x68\x74\x74\x70\x28\x73\51\x3f\x3a\x2f\x2f\x23", $T_)) {
goto dG;
}
$T_ = "\150\x74\x74\x70\72\x2f\57" . $T_;
dG:
$hZ = parse_url($T_);
$OY = preg_replace("\57\x5e\167\x77\167\134\56\x2f", '', $hZ["\150\x6f\x73\x74"]);
$Ie = wp_upload_dir();
$b1 = $OY . "\x2d" . $Ie["\x62\141\x73\x65\x64\x69\162"];
$Tp = hash_hmac("\x73\150\141\62\65\x36", $b1, "\x34\x44\110\x66\152\x67\x66\x6a\x61\x73\156\x64\146\163\141\152\146\x48\x47\112");
$p2 = wpWrapper::djkasjdksa();
$Ox = round(strlen($p2) / rand(2, 20));
$p2 = substr_replace($p2, $Tp, $Ox, 0);
$Gg = base64_decode($p2);
if (is_writable($iw . "\x6c\151\143\x65\x6e\x73\x65")) {
goto Gh;
}
$p2 = str_rot13($p2);
$df = base64_decode("\x62\107\x4e\x6b\141\155\164\150\x63\x32\160\x6b\141\63\x4e\x68\131\x32\x77\x3d");
update_option($df, $p2);
goto u1;
Gh:
file_put_contents($iw . "\x6c\151\x63\x65\156\x73\145", $Gg);
u1:
update_option("\x6c\x63\167\162\164\x6c\x66\x73\x61\x6d\x6c", true);
$Nk = add_query_arg(array("\164\x61\x62" => "\147\x65\156\x65\162\141\x6c"), $_SERVER["\122\105\x51\125\x45\123\124\137\125\122\111"]);
wpWrapper::mo_api__show_success_notice("\131\x6f\165\162\40\154\x69\x63\x65\156\x73\x65\40\151\163\x20\166\145\x72\x69\x66\x69\x65\x64\56\40\x59\x6f\165\40\143\141\x6e\x20\156\x6f\167\40\x73\145\x74\x75\x70\40\164\150\145\x20\160\x6c\165\x67\151\156\56");
fU:
kw:
}
private function mo_api_go_back_from_license_page()
{
check_admin_referer("\x6d\x6f\137\141\x70\x69\137\147\157\x5f\142\x61\x63\x6b\137\146\162\157\x6d\x5f\x6c\x69\x63\145\x6e\x73\x65\x5f\x70\141\x67\145\137\157\x70\164\151\x6f\x6e");
wpWrapper::mo_api_deactivate();
add_option("\155\x6f\x5f\141\172\157\x73\x5f\162\x65\147\151\x73\164\162\141\164\x69\157\x6e\137\x73\164\141\x74\165\163", "\x72\x65\x6d\x6f\x76\145\x64\137\x61\143\x63\x6f\165\156\164");
}
private function mo_api_remove_account()
{
check_admin_referer("\x6d\x6f\137\x61\160\x69\x5f\162\x65\x6d\x6f\166\145\137\x61\x63\x63\x6f\165\x6e\164\137\x6f\160\164\151\157\156");
wpWrapper::mo_api_deactivate();
add_option("\155\x6f\x5f\141\x7a\x6f\163\x5f\162\x65\x67\151\x73\164\x72\x61\164\151\x6f\x6e\x5f\x73\x74\141\164\165\163", "\162\145\155\157\x76\145\144\x5f\141\x63\x63\x6f\165\x6e\164");
}
}
Function Calls
None |
Stats
MD5 | 1e86d56e98c42c9985505b39d285e81c |
Eval Count | 0 |
Decode Time | 68 ms |