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 class Mo_Ldap_Local_Customer { public $email; public $phone; pu..
Decoded Output download
<?php
class Mo_Ldap_Local_Customer
{
public $email;
public $phone;
public $customerKey;
public $transactionId;
private $defaultCustomerKey = "16555";
private $defaultApiKey = "fFd2XcvTGDemZvbw1bcUesNJWEqKbbUq";
function create_customer()
{
if (Mo_Ldap_Local_Util::is_curl_installed()) {
goto Ji;
}
return json_encode(array("statusCode" => "ERROR", "statusMessage" => $Lq . ". Please check your configuration. Also check troubleshooting under LDAP configuration."));
Ji:
$Dh = get_option("mo_ldap_local_host_name") . "/moas/rest/customer/add";
$Wy = curl_init($Dh);
global $current_user;
get_current_userinfo();
$this->email = get_option("mo_ldap_local_admin_email");
$this->phone = get_option("mo_ldap_local_admin_phone");
$rc = get_option("mo_ldap_local_password");
$Zs = array("companyName" => $_SERVER["SERVER_NAME"], "areaOfInterest" => "WP LDAP for Intranet - Premium", "firstname" => $current_user->user_firstname, "lastname" => $current_user->user_lastname, "email" => $this->email, "phone" => $this->phone, "password" => $rc);
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("Content-Type: application/json", "charset: UTF - 8", "Authorization: Basic"));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
if (!(defined("WP_PROXY_HOST") && defined("WP_PROXY_PORT") && defined("WP_PROXY_USERNAME") && defined("WP_PROXY_PASSWORD"))) {
goto Qp;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . ":" . WP_PROXY_PASSWORD);
Qp:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto Ef;
}
echo "Request Error:" . curl_error($Wy);
die;
Ef:
curl_close($Wy);
return $ST;
}
function get_customer_key()
{
if (Mo_Ldap_Local_Util::is_curl_installed()) {
goto MK;
}
return json_encode(array("apiKey" => "CURL_ERROR", "token" => "<a href="http://php.net/manual/en/curl.installation.php">PHP cURL extension</a> is not installed or disabled."));
MK:
$Dh = get_option("mo_ldap_local_host_name") . "/moas/rest/customer/key";
$Wy = curl_init($Dh);
$Fi = get_option("mo_ldap_local_admin_email");
$rc = get_option("mo_ldap_local_password");
$Zs = array("email" => $Fi, "password" => $rc);
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("Content-Type: application/json", "charset: UTF - 8", "Authorization: Basic"));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
if (!(defined("WP_PROXY_HOST") && defined("WP_PROXY_PORT") && defined("WP_PROXY_USERNAME") && defined("WP_PROXY_PASSWORD"))) {
goto RW;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . ":" . WP_PROXY_PASSWORD);
RW:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto pz;
}
echo "Request Error:" . curl_error($Wy);
die;
pz:
curl_close($Wy);
return $ST;
}
function submit_contact_us($tK, $jK, $J8)
{
if (Mo_Ldap_Local_Util::is_curl_installed()) {
goto Gl;
}
return json_encode(array("status" => "CURL_ERROR", "statusMessage" => "<a href="http://php.net/manual/en/curl.installation.php">PHP cURL extension</a> is not installed or disabled."));
Gl:
$Dh = get_option("mo_ldap_local_host_name") . "/moas/rest/customer/contact-us";
$Wy = curl_init($Dh);
$current_user = wp_get_current_user();
$ry = esc_attr(get_option("query_selected_plan"));
if ($ry) {
goto sz;
}
$J8 = "[WP LDAP for Intranet]: " . $J8;
goto pb;
sz:
$J8 = "Interested in " . $ry . " : " . $J8;
pb:
$Zs = array("firstName" => $current_user->user_firstname, "lastName" => $current_user->user_lastname, "company" => $_SERVER["SERVER_NAME"], "email" => $tK, "ccEmail" => "[email protected]", "phone" => $jK, "query" => $J8);
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("Content-Type: application/json", "charset: UTF-8", "Authorization: Basic"));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
if (!(defined("WP_PROXY_HOST") && defined("WP_PROXY_PORT") && defined("WP_PROXY_USERNAME") && defined("WP_PROXY_PASSWORD"))) {
goto Mk;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . ":" . WP_PROXY_PASSWORD);
Mk:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto p7;
}
echo "Request Error:" . curl_error($Wy);
return false;
p7:
curl_close($Wy);
return true;
}
function send_otp_token($fB, $JV)
{
if (Mo_Ldap_Local_Util::is_curl_installed()) {
goto uQ;
}
return json_encode(array("status" => "CURL_ERROR", "statusMessage" => "<a href="http://php.net/manual/en/curl.installation.php">PHP cURL extension</a> is not installed or disabled."));
uQ:
$Dh = get_option("mo_ldap_local_host_name") . "/moas/api/auth/challenge";
$Wy = curl_init($Dh);
$uE = $this->defaultCustomerKey;
$Bf = $this->defaultApiKey;
$dG = get_option("mo_ldap_local_admin_email");
$Qc = round(microtime(true) * 1000);
$nZ = $uE . number_format($Qc, 0, '', '') . $Bf;
$CA = hash("sha512", $nZ);
$sw = "Customer-Key: " . $uE;
$NW = "Timestamp: " . number_format($Qc, 0, '', '');
$Gu = "Authorization: " . $CA;
$Zs = array("customerKey" => $this->defaultCustomerKey, "email" => $dG, "phone" => $JV, "authType" => $fB, "transactionName" => "WP LDAP for Intranet");
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("Content-Type: application/json", $sw, $NW, $Gu));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
if (!(defined("WP_PROXY_HOST") && defined("WP_PROXY_PORT") && defined("WP_PROXY_USERNAME") && defined("WP_PROXY_PASSWORD"))) {
goto wC;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . ":" . WP_PROXY_PASSWORD);
wC:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto os;
}
echo "Request Error:" . curl_error($Wy);
die;
os:
curl_close($Wy);
return $ST;
}
function validate_otp_token($fy, $PL)
{
if (Mo_Ldap_Local_Util::is_curl_installed()) {
goto gV;
}
return json_encode(array("status" => "CURL_ERROR", "statusMessage" => "<a href="http://php.net/manual/en/curl.installation.php">PHP cURL extension</a> is not installed or disabled."));
gV:
$Dh = get_option("mo_ldap_local_host_name") . "/moas/api/auth/validate";
$Wy = curl_init($Dh);
$uE = $this->defaultCustomerKey;
$Bf = $this->defaultApiKey;
$dG = get_option("mo_ldap_local_admin_email");
$Qc = round(microtime(true) * 1000);
$nZ = $uE . number_format($Qc, 0, '', '') . $Bf;
$CA = hash("sha512", $nZ);
$sw = "Customer-Key: " . $uE;
$NW = "Timestamp: " . number_format($Qc, 0, '', '');
$Gu = "Authorization: " . $CA;
$Zs = array("txId" => $fy, "token" => $PL);
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("Content-Type: application/json", $sw, $NW, $Gu));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
if (!(defined("WP_PROXY_HOST") && defined("WP_PROXY_PORT") && defined("WP_PROXY_USERNAME") && defined("WP_PROXY_PASSWORD"))) {
goto cN;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . ":" . WP_PROXY_PASSWORD);
cN:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto N3;
}
echo "Request Error:" . curl_error($Wy);
die;
N3:
curl_close($Wy);
return $ST;
}
function check_customer()
{
if (Mo_Ldap_Local_Util::is_curl_installed()) {
goto DX;
}
return json_encode(array("status" => "CURL_ERROR", "statusMessage" => "<a href="http://php.net/manual/en/curl.installation.php">PHP cURL extension</a> is not installed or disabled."));
DX:
$Dh = get_option("mo_ldap_local_host_name") . "/moas/rest/customer/check-if-exists";
$Wy = curl_init($Dh);
$Fi = get_option("mo_ldap_local_admin_email");
$Zs = array("email" => $Fi);
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("Content-Type: application/json", "charset: UTF - 8", "Authorization: Basic"));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
if (!(defined("WP_PROXY_HOST") && defined("WP_PROXY_PORT") && defined("WP_PROXY_USERNAME") && defined("WP_PROXY_PASSWORD"))) {
goto q2;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . ":" . WP_PROXY_PASSWORD);
q2:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto D1;
}
echo "Request Error:" . curl_error($Wy);
die;
D1:
curl_close($Wy);
return $ST;
}
function mo_ldap_local_forgot_password($Fi)
{
$Dh = get_option("mo_ldap_local_host_name") . "/moas/rest/customer/password-reset";
$Wy = curl_init($Dh);
$uE = get_option("mo_ldap_local_admin_customer_key");
$Bf = get_option("mo_ldap_local_admin_api_key");
$Qc = round(microtime(true) * 1000);
$nZ = $uE . number_format($Qc, 0, '', '') . $Bf;
$CA = hash("sha512", $nZ);
$sw = "Customer-Key: " . $uE;
$NW = "Timestamp: " . number_format($Qc, 0, '', '');
$Gu = "Authorization: " . $CA;
$Zs = array("email" => $Fi);
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("Content-Type: application/json", $sw, $NW, $Gu));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
curl_setopt($Wy, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($Wy, CURLOPT_TIMEOUT, 20);
if (!(defined("WP_PROXY_HOST") && defined("WP_PROXY_PORT") && defined("WP_PROXY_USERNAME") && defined("WP_PROXY_PASSWORD"))) {
goto uC;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . ":" . WP_PROXY_PASSWORD);
uC:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto qu;
}
echo "Request Error:" . curl_error($Wy);
die;
qu:
curl_close($Wy);
return $ST;
}
function XfskodsfhHJ($hw)
{
$Dh = get_option("mo_ldap_local_host_name") . "/moas/api/backupcode/verify";
$Wy = curl_init($Dh);
$uE = get_option("mo_ldap_local_admin_customer_key");
$Bf = get_option("mo_ldap_local_admin_api_key");
$Qc = round(microtime(true) * 1000);
$nZ = $uE . number_format($Qc, 0, '', '') . $Bf;
$CA = hash("sha512", $nZ);
$sw = "Customer-Key: " . $uE;
$NW = "Timestamp: " . number_format($Qc, 0, '', '');
$Gu = "Authorization: " . $CA;
$Zs = array("code" => $hw, "customerKey" => $uE, "additionalFields" => array("field1" => site_url()));
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("Content-Type: application/json", $sw, $NW, $Gu));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
curl_setopt($Wy, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($Wy, CURLOPT_TIMEOUT, 20);
if (!(defined("WP_PROXY_HOST") && defined("WP_PROXY_PORT") && defined("WP_PROXY_USERNAME") && defined("WP_PROXY_PASSWORD"))) {
goto Jj;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . ":" . WP_PROXY_PASSWORD);
Jj:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto I6;
}
echo "Request Error:" . curl_error($Wy);
die;
I6:
curl_close($Wy);
return $ST;
}
function check_customer_ln()
{
$Dh = get_option("mo_ldap_local_host_name") . "/moas/rest/customer/license";
$Wy = curl_init($Dh);
$uE = get_option("mo_ldap_local_admin_customer_key");
$Bf = get_option("mo_ldap_local_admin_api_key");
$Qc = round(microtime(true) * 1000);
$nZ = $uE . number_format($Qc, 0, '', '') . $Bf;
$CA = hash("sha512", $nZ);
$sw = "Customer-Key: " . $uE;
$NW = "Timestamp: " . $Qc;
$Gu = "Authorization: " . $CA;
$Zs = array("customerId" => $uE, "applicationName" => "wp_ldap_intranet");
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("Content-Type: application/json", $sw, $NW, $Gu));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
curl_setopt($Wy, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($Wy, CURLOPT_TIMEOUT, 20);
if (!(defined("WP_PROXY_HOST") && defined("WP_PROXY_PORT") && defined("WP_PROXY_USERNAME") && defined("WP_PROXY_PASSWORD"))) {
goto T8;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . ":" . WP_PROXY_PASSWORD);
T8:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto tI;
}
return false;
tI:
curl_close($Wy);
return $ST;
}
function mo_ldap_local_update_status()
{
$Dh = get_option("mo_ldap_local_host_name") . "/moas/api/backupcode/updatestatus";
$Wy = curl_init($Dh);
$uE = get_option("mo_ldap_local_admin_customer_key");
$Bf = get_option("mo_ldap_local_admin_api_key");
$Qc = round(microtime(true) * 1000);
$nZ = $uE . number_format($Qc, 0, '', '') . $Bf;
$CA = hash("sha512", $nZ);
$sw = "Customer-Key: " . $uE;
$NW = "Timestamp: " . number_format($Qc, 0, '', '');
$Gu = "Authorization: " . $CA;
$DT = get_option("mo_ldap_local_customer_token");
$hw = Mo_Ldap_Local_Util::decrypt(get_option("mo_ldap_local_license_key"));
$Zs = array("code" => $hw, "customerKey" => $uE);
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("Content-Type: application/json", $sw, $NW, $Gu));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
curl_setopt($Wy, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($Wy, CURLOPT_TIMEOUT, 20);
if (!(defined("WP_PROXY_HOST") && defined("WP_PROXY_PORT") && defined("WP_PROXY_USERNAME") && defined("WP_PROXY_PASSWORD"))) {
goto so;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . ":" . WP_PROXY_PASSWORD);
so:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto ND;
}
echo "Request Error:" . curl_error($Wy);
die;
ND:
curl_close($Wy);
return $ST;
}
function mo_ldap_local_send_alert_email($Vo)
{
$Dh = get_option("mo_ldap_local_host_name") . "/moas/api/notify/send";
$Wy = curl_init($Dh);
$uE = get_option("mo_ldap_local_admin_customer_key");
$Bf = get_option("mo_ldap_local_admin_api_key");
$Qc = round(microtime(true) * 1000);
$nZ = $uE . number_format($Qc, 0, '', '') . $Bf;
$CA = hash("sha512", $nZ);
$sw = "Customer-Key: " . $uE;
$NW = "Timestamp: " . number_format($Qc, 0, '', '');
$Gu = "Authorization: " . $CA;
$cH = get_option("mo_ldap_local_admin_email");
$ST = "Hello,<br><br>Your <b>FREE Trial</b> will expire in " . $Vo . " days for miniOrange SAML plugin on your website <b>" . get_bloginfo() . "</b>.<br><br><a href='https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_ldap_intranet_basic_plan'>Click here</a> to upgrade to our premium plan soon if you want to continue using our plugin. You can refer Licensing tab for our premium plans.<br><br>Thanks,<br>miniOrange";
$pR = "Trial version expiring in " . $Vo . " days for miniOrange LDAP plugin | " . get_bloginfo();
if (!($Vo == 1)) {
goto ct;
}
$ST = str_replace("days", "day", $ST);
$pR = str_replace("days", "day", $pR);
ct:
$Zs = array("customerKey" => $uE, "sendEmail" => true, "email" => array("customerKey" => $uE, "fromEmail" => "[email protected]", "bccEmail" => "[email protected]", "fromName" => "miniOrange", "toEmail" => $cH, "toName" => $cH, "subject" => $pR, "content" => $ST));
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("Content-Type: application/json", $sw, $NW, $Gu));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
curl_setopt($Wy, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($Wy, CURLOPT_TIMEOUT, 20);
if (!(defined("WP_PROXY_HOST") && defined("WP_PROXY_PORT") && defined("WP_PROXY_USERNAME") && defined("WP_PROXY_PASSWORD"))) {
goto t5;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . ":" . WP_PROXY_PASSWORD);
t5:
$ST = curl_exec($Wy);
curl_close($Wy);
}
}
?>
Did this file decode correctly?
Original Code
<?php
class Mo_Ldap_Local_Customer
{
public $email;
public $phone;
public $customerKey;
public $transactionId;
private $defaultCustomerKey = "\61\x36\65\x35\x35";
private $defaultApiKey = "\x66\106\144\x32\x58\143\166\x54\107\104\x65\155\x5a\166\x62\167\x31\x62\x63\125\145\x73\116\112\127\105\161\x4b\x62\142\125\x71";
function create_customer()
{
if (Mo_Ldap_Local_Util::is_curl_installed()) {
goto Ji;
}
return json_encode(array("\x73\x74\141\x74\165\x73\103\157\x64\x65" => "\x45\122\x52\117\122", "\163\x74\x61\x74\x75\x73\x4d\145\x73\x73\x61\x67\145" => $Lq . "\56\x20\120\x6c\x65\141\163\x65\x20\143\x68\x65\143\x6b\40\x79\157\x75\x72\40\143\x6f\x6e\x66\x69\147\165\162\141\x74\151\x6f\x6e\56\40\x41\154\163\157\40\143\x68\x65\x63\x6b\40\x74\162\x6f\165\x62\154\145\163\150\157\157\164\151\x6e\147\x20\x75\x6e\144\x65\162\40\114\104\101\120\x20\143\157\x6e\x66\x69\147\x75\x72\141\164\151\157\x6e\56"));
Ji:
$Dh = get_option("\155\x6f\x5f\154\x64\141\160\137\154\157\143\141\154\137\x68\x6f\163\164\137\x6e\141\x6d\145") . "\57\x6d\x6f\141\x73\x2f\162\x65\163\164\57\143\165\x73\x74\157\x6d\x65\162\x2f\x61\x64\144";
$Wy = curl_init($Dh);
global $current_user;
get_current_userinfo();
$this->email = get_option("\155\157\137\x6c\x64\141\160\x5f\x6c\x6f\143\141\x6c\x5f\x61\x64\x6d\151\156\137\x65\x6d\141\x69\154");
$this->phone = get_option("\x6d\x6f\x5f\x6c\144\x61\x70\137\x6c\x6f\x63\x61\x6c\x5f\x61\x64\x6d\x69\x6e\x5f\160\x68\157\156\145");
$rc = get_option("\155\x6f\x5f\x6c\x64\x61\x70\137\154\157\143\141\154\x5f\160\141\163\x73\x77\157\162\x64");
$Zs = array("\x63\157\x6d\160\x61\x6e\x79\x4e\141\155\x65" => $_SERVER["\123\105\x52\x56\105\x52\x5f\116\101\x4d\105"], "\141\162\145\x61\117\x66\x49\x6e\x74\x65\162\145\x73\x74" => "\127\120\40\x4c\x44\x41\x50\x20\x66\x6f\162\40\111\156\164\x72\141\156\145\x74\40\55\x20\x50\162\x65\x6d\x69\x75\x6d", "\x66\151\x72\x73\164\156\x61\155\145" => $current_user->user_firstname, "\x6c\x61\x73\164\x6e\141\155\x65" => $current_user->user_lastname, "\145\155\x61\x69\x6c" => $this->email, "\x70\150\157\x6e\145" => $this->phone, "\x70\x61\163\x73\167\x6f\x72\144" => $rc);
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("\x43\157\156\x74\145\x6e\x74\55\x54\171\160\145\72\x20\141\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\156\x2f\152\163\157\x6e", "\x63\150\141\x72\163\145\x74\x3a\x20\125\124\106\40\55\40\70", "\x41\x75\164\x68\x6f\x72\x69\172\x61\164\x69\157\156\72\x20\102\x61\x73\x69\x63"));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
if (!(defined("\x57\x50\x5f\120\x52\117\x58\x59\137\x48\117\123\124") && defined("\127\120\x5f\x50\122\x4f\x58\x59\137\x50\x4f\x52\124") && defined("\x57\120\x5f\x50\x52\117\130\x59\x5f\125\x53\x45\x52\x4e\x41\x4d\x45") && defined("\x57\120\x5f\x50\122\117\130\131\x5f\120\101\123\x53\x57\x4f\x52\104"))) {
goto Qp;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . "\72" . WP_PROXY_PASSWORD);
Qp:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto Ef;
}
echo "\122\145\x71\x75\145\x73\164\x20\105\x72\x72\x6f\162\x3a" . curl_error($Wy);
die;
Ef:
curl_close($Wy);
return $ST;
}
function get_customer_key()
{
if (Mo_Ldap_Local_Util::is_curl_installed()) {
goto MK;
}
return json_encode(array("\x61\x70\151\x4b\x65\171" => "\103\x55\x52\x4c\x5f\105\x52\122\x4f\122", "\164\157\x6b\x65\156" => "\x3c\141\x20\x68\x72\145\146\x3d\42\x68\164\164\x70\72\x2f\x2f\160\150\160\x2e\x6e\x65\164\57\x6d\141\x6e\x75\x61\x6c\57\x65\156\x2f\143\165\162\x6c\56\151\156\163\x74\141\x6c\154\x61\164\x69\157\x6e\x2e\x70\x68\x70\42\x3e\x50\110\x50\x20\143\125\122\x4c\40\x65\170\164\145\x6e\x73\x69\157\156\x3c\x2f\141\76\40\x69\x73\x20\156\x6f\164\x20\x69\156\x73\164\x61\154\154\x65\x64\x20\x6f\162\x20\144\151\163\x61\x62\x6c\145\144\56"));
MK:
$Dh = get_option("\x6d\157\137\154\x64\141\160\137\x6c\157\x63\141\x6c\137\x68\157\x73\164\137\156\x61\155\x65") . "\x2f\x6d\x6f\x61\x73\x2f\162\x65\x73\164\57\143\165\x73\164\157\155\x65\162\x2f\153\145\171";
$Wy = curl_init($Dh);
$Fi = get_option("\155\157\x5f\154\x64\141\x70\137\154\x6f\143\x61\154\137\x61\144\x6d\151\x6e\137\x65\x6d\x61\151\x6c");
$rc = get_option("\155\157\x5f\154\144\141\x70\137\154\x6f\x63\141\x6c\137\x70\141\x73\x73\x77\157\x72\144");
$Zs = array("\x65\x6d\x61\x69\154" => $Fi, "\x70\x61\x73\163\x77\157\162\x64" => $rc);
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("\x43\157\156\x74\145\x6e\x74\x2d\x54\x79\160\145\x3a\x20\x61\160\160\154\x69\143\141\x74\x69\157\156\x2f\x6a\163\x6f\156", "\x63\x68\x61\162\163\145\x74\x3a\40\125\x54\106\x20\x2d\x20\70", "\x41\165\x74\x68\157\162\x69\x7a\141\164\x69\x6f\x6e\72\40\102\141\x73\x69\143"));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
if (!(defined("\127\x50\137\x50\122\117\x58\131\137\x48\117\123\124") && defined("\127\120\x5f\120\122\117\x58\131\x5f\120\x4f\122\124") && defined("\127\x50\x5f\x50\x52\x4f\x58\131\137\125\123\x45\122\x4e\101\x4d\x45") && defined("\127\120\137\x50\122\117\x58\x59\137\120\101\123\123\x57\117\122\x44"))) {
goto RW;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . "\72" . WP_PROXY_PASSWORD);
RW:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto pz;
}
echo "\122\145\x71\x75\x65\163\164\x20\x45\x72\x72\157\x72\x3a" . curl_error($Wy);
die;
pz:
curl_close($Wy);
return $ST;
}
function submit_contact_us($tK, $jK, $J8)
{
if (Mo_Ldap_Local_Util::is_curl_installed()) {
goto Gl;
}
return json_encode(array("\163\164\x61\x74\165\x73" => "\103\125\122\x4c\x5f\105\122\122\117\x52", "\x73\x74\x61\164\165\x73\115\145\163\163\141\147\x65" => "\74\x61\x20\150\x72\145\x66\75\42\150\x74\164\x70\72\57\57\x70\x68\160\x2e\156\145\x74\x2f\155\x61\156\x75\x61\x6c\x2f\x65\x6e\x2f\143\x75\x72\154\x2e\x69\x6e\163\x74\x61\x6c\154\x61\164\151\x6f\156\x2e\x70\x68\x70\42\x3e\120\110\x50\40\x63\x55\122\114\x20\x65\x78\x74\x65\x6e\x73\x69\157\156\74\x2f\141\x3e\40\x69\163\40\156\157\164\x20\151\x6e\x73\x74\141\x6c\154\x65\144\x20\x6f\162\40\x64\x69\x73\x61\x62\154\145\144\x2e"));
Gl:
$Dh = get_option("\x6d\157\137\x6c\x64\141\x70\137\154\157\x63\141\154\x5f\150\157\x73\164\137\156\141\x6d\145") . "\x2f\155\157\x61\x73\57\x72\x65\163\x74\x2f\143\x75\x73\164\x6f\155\x65\162\57\143\x6f\156\x74\x61\x63\164\55\x75\163";
$Wy = curl_init($Dh);
$current_user = wp_get_current_user();
$ry = esc_attr(get_option("\161\x75\x65\x72\171\x5f\163\x65\154\x65\143\164\145\x64\x5f\x70\x6c\x61\x6e"));
if ($ry) {
goto sz;
}
$J8 = "\133\127\x50\x20\x4c\104\101\120\40\x66\x6f\x72\40\111\x6e\164\162\141\156\145\x74\x5d\72\40" . $J8;
goto pb;
sz:
$J8 = "\x49\x6e\x74\x65\x72\x65\x73\x74\x65\144\x20\151\x6e\x20" . $ry . "\40\72\40" . $J8;
pb:
$Zs = array("\146\151\162\x73\164\x4e\x61\155\x65" => $current_user->user_firstname, "\x6c\141\x73\x74\116\141\x6d\145" => $current_user->user_lastname, "\143\157\155\x70\141\x6e\x79" => $_SERVER["\x53\105\122\x56\105\122\137\x4e\x41\x4d\x45"], "\145\x6d\x61\151\x6c" => $tK, "\x63\x63\105\155\x61\151\154" => "\x6c\144\x61\x70\163\x75\160\x70\157\x72\164\100\170\x65\143\165\162\x69\146\171\x2e\x63\157\155", "\160\x68\157\156\x65" => $jK, "\x71\165\145\162\x79" => $J8);
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("\103\x6f\x6e\164\145\156\x74\x2d\x54\x79\x70\145\72\x20\x61\160\160\x6c\151\x63\141\x74\x69\157\x6e\x2f\x6a\163\x6f\156", "\143\x68\x61\162\x73\145\164\72\x20\125\124\x46\x2d\x38", "\101\165\164\x68\x6f\x72\x69\x7a\141\164\x69\157\x6e\72\40\x42\141\x73\x69\143"));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
if (!(defined("\127\120\137\x50\x52\117\130\x59\x5f\110\117\x53\124") && defined("\x57\x50\x5f\x50\122\x4f\x58\x59\x5f\x50\x4f\122\x54") && defined("\x57\120\137\x50\122\x4f\130\131\137\x55\123\x45\x52\116\x41\x4d\105") && defined("\127\x50\x5f\x50\122\x4f\x58\131\x5f\120\101\123\x53\127\117\122\x44"))) {
goto Mk;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . "\x3a" . WP_PROXY_PASSWORD);
Mk:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto p7;
}
echo "\x52\x65\x71\165\145\x73\164\40\105\x72\x72\x6f\x72\x3a" . curl_error($Wy);
return false;
p7:
curl_close($Wy);
return true;
}
function send_otp_token($fB, $JV)
{
if (Mo_Ldap_Local_Util::is_curl_installed()) {
goto uQ;
}
return json_encode(array("\163\164\x61\x74\165\163" => "\103\x55\x52\114\x5f\x45\x52\x52\117\122", "\163\x74\x61\164\165\x73\115\145\x73\x73\141\147\x65" => "\x3c\x61\x20\150\x72\x65\146\x3d\x22\150\x74\164\x70\x3a\57\57\160\x68\160\56\x6e\145\x74\x2f\155\141\156\x75\141\154\57\145\156\x2f\143\165\162\x6c\56\151\x6e\x73\x74\141\154\x6c\141\x74\x69\x6f\156\56\x70\150\x70\x22\x3e\120\x48\x50\40\x63\125\x52\x4c\x20\x65\170\164\x65\156\163\x69\x6f\x6e\74\57\141\76\40\151\x73\40\x6e\x6f\x74\x20\151\x6e\163\164\141\x6c\x6c\x65\x64\x20\x6f\162\40\144\x69\x73\x61\142\154\x65\x64\56"));
uQ:
$Dh = get_option("\155\157\x5f\154\144\141\x70\x5f\x6c\x6f\143\141\154\x5f\150\157\x73\x74\137\156\x61\155\x65") . "\57\x6d\x6f\x61\163\57\141\160\x69\x2f\x61\x75\x74\150\x2f\143\150\x61\x6c\154\145\156\147\145";
$Wy = curl_init($Dh);
$uE = $this->defaultCustomerKey;
$Bf = $this->defaultApiKey;
$dG = get_option("\155\157\137\154\x64\141\160\x5f\x6c\157\143\x61\x6c\137\x61\144\x6d\151\x6e\137\145\155\141\x69\154");
$Qc = round(microtime(true) * 1000);
$nZ = $uE . number_format($Qc, 0, '', '') . $Bf;
$CA = hash("\x73\150\x61\x35\61\x32", $nZ);
$sw = "\103\165\163\164\157\155\145\x72\x2d\113\x65\171\x3a\x20" . $uE;
$NW = "\124\x69\155\145\163\164\141\x6d\x70\72\x20" . number_format($Qc, 0, '', '');
$Gu = "\101\165\164\x68\157\162\151\172\x61\x74\x69\x6f\x6e\x3a\x20" . $CA;
$Zs = array("\143\165\x73\x74\x6f\x6d\145\x72\113\145\171" => $this->defaultCustomerKey, "\145\155\141\151\154" => $dG, "\x70\150\157\x6e\x65" => $JV, "\141\165\x74\150\124\x79\160\145" => $fB, "\164\x72\x61\x6e\163\141\143\x74\151\x6f\156\x4e\141\x6d\x65" => "\x57\120\40\x4c\x44\x41\120\40\146\157\x72\x20\111\156\x74\x72\x61\156\x65\x74");
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("\103\x6f\x6e\164\x65\x6e\x74\55\124\171\x70\x65\x3a\40\141\x70\160\154\151\x63\141\x74\x69\157\x6e\x2f\x6a\x73\x6f\x6e", $sw, $NW, $Gu));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
if (!(defined("\127\120\x5f\120\x52\x4f\130\x59\x5f\110\x4f\123\x54") && defined("\127\x50\x5f\120\x52\x4f\130\131\137\x50\x4f\x52\x54") && defined("\127\120\137\x50\122\x4f\x58\131\137\x55\x53\105\x52\116\x41\115\105") && defined("\127\120\x5f\120\x52\117\130\x59\x5f\120\101\123\123\x57\x4f\x52\104"))) {
goto wC;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . "\72" . WP_PROXY_PASSWORD);
wC:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto os;
}
echo "\122\145\x71\165\145\x73\x74\40\x45\162\x72\157\x72\72" . curl_error($Wy);
die;
os:
curl_close($Wy);
return $ST;
}
function validate_otp_token($fy, $PL)
{
if (Mo_Ldap_Local_Util::is_curl_installed()) {
goto gV;
}
return json_encode(array("\163\164\141\164\x75\x73" => "\x43\125\122\114\137\x45\122\122\x4f\122", "\x73\164\x61\164\x75\x73\115\145\x73\163\141\x67\145" => "\74\x61\x20\150\x72\145\146\x3d\x22\x68\164\164\160\x3a\x2f\57\160\150\160\56\x6e\x65\x74\x2f\155\x61\x6e\x75\141\x6c\57\145\x6e\x2f\x63\165\x72\x6c\56\x69\156\x73\164\x61\x6c\x6c\141\164\x69\157\x6e\x2e\x70\x68\160\x22\x3e\120\110\x50\x20\143\x55\x52\114\40\145\170\x74\145\156\163\151\x6f\x6e\x3c\x2f\x61\76\40\x69\163\40\156\x6f\x74\40\x69\156\x73\x74\x61\154\x6c\145\144\x20\157\x72\x20\144\x69\163\141\x62\154\145\144\x2e"));
gV:
$Dh = get_option("\x6d\157\137\154\144\x61\160\137\x6c\x6f\143\141\x6c\137\x68\x6f\163\164\137\156\x61\155\145") . "\x2f\155\x6f\x61\163\x2f\141\160\151\57\x61\x75\164\150\57\166\x61\x6c\x69\x64\141\x74\145";
$Wy = curl_init($Dh);
$uE = $this->defaultCustomerKey;
$Bf = $this->defaultApiKey;
$dG = get_option("\x6d\x6f\x5f\x6c\144\141\x70\137\x6c\157\x63\x61\154\x5f\x61\144\155\151\x6e\137\x65\x6d\x61\x69\154");
$Qc = round(microtime(true) * 1000);
$nZ = $uE . number_format($Qc, 0, '', '') . $Bf;
$CA = hash("\x73\150\x61\65\61\x32", $nZ);
$sw = "\x43\x75\x73\164\157\x6d\x65\x72\x2d\x4b\145\x79\x3a\x20" . $uE;
$NW = "\124\151\155\145\x73\164\141\155\x70\x3a\40" . number_format($Qc, 0, '', '');
$Gu = "\x41\165\x74\x68\157\x72\x69\172\x61\164\151\x6f\156\x3a\40" . $CA;
$Zs = array("\x74\170\x49\144" => $fy, "\164\157\153\x65\156" => $PL);
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("\x43\157\156\x74\145\156\x74\x2d\124\x79\x70\x65\72\x20\x61\160\x70\x6c\x69\x63\141\164\151\157\156\57\x6a\163\157\156", $sw, $NW, $Gu));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
if (!(defined("\x57\120\x5f\x50\x52\x4f\130\131\x5f\110\x4f\x53\x54") && defined("\x57\120\x5f\x50\122\x4f\130\x59\137\120\x4f\122\124") && defined("\x57\x50\x5f\120\x52\x4f\130\x59\x5f\x55\123\105\x52\116\101\115\x45") && defined("\127\x50\x5f\x50\x52\117\x58\131\x5f\x50\101\x53\x53\127\x4f\x52\104"))) {
goto cN;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . "\x3a" . WP_PROXY_PASSWORD);
cN:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto N3;
}
echo "\x52\145\161\x75\145\163\164\40\105\162\162\157\x72\x3a" . curl_error($Wy);
die;
N3:
curl_close($Wy);
return $ST;
}
function check_customer()
{
if (Mo_Ldap_Local_Util::is_curl_installed()) {
goto DX;
}
return json_encode(array("\x73\164\x61\x74\x75\163" => "\x43\125\122\x4c\137\x45\122\122\117\x52", "\x73\x74\141\x74\165\x73\x4d\145\163\x73\x61\x67\145" => "\74\141\40\x68\162\145\146\x3d\42\x68\x74\x74\x70\72\x2f\57\160\150\x70\56\156\145\164\x2f\155\141\156\165\x61\x6c\57\x65\x6e\57\143\165\x72\x6c\56\x69\x6e\163\164\141\x6c\154\141\164\151\157\156\x2e\x70\150\x70\x22\x3e\120\110\x50\40\x63\125\122\x4c\40\145\170\x74\145\x6e\163\151\157\156\x3c\57\x61\x3e\40\x69\163\40\156\157\164\40\151\x6e\x73\164\x61\154\x6c\145\144\x20\x6f\x72\x20\144\151\x73\141\x62\154\145\144\56"));
DX:
$Dh = get_option("\x6d\157\x5f\x6c\x64\141\160\137\x6c\157\143\x61\x6c\x5f\150\157\163\164\x5f\156\x61\x6d\145") . "\57\155\157\141\163\57\x72\145\163\x74\57\143\165\163\x74\157\x6d\x65\162\x2f\143\x68\x65\x63\153\x2d\151\146\55\x65\170\151\163\164\163";
$Wy = curl_init($Dh);
$Fi = get_option("\x6d\x6f\137\x6c\x64\x61\160\137\154\x6f\x63\141\154\x5f\141\144\x6d\151\156\137\x65\155\x61\151\x6c");
$Zs = array("\145\155\x61\x69\x6c" => $Fi);
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("\103\x6f\156\164\x65\156\x74\55\x54\171\160\145\x3a\x20\x61\x70\160\x6c\151\x63\141\x74\151\x6f\x6e\x2f\x6a\163\x6f\x6e", "\x63\x68\x61\x72\163\x65\164\72\40\x55\x54\106\x20\x2d\40\x38", "\x41\x75\164\150\157\x72\x69\172\141\x74\151\157\x6e\72\x20\x42\141\163\151\143"));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
if (!(defined("\127\120\137\120\122\x4f\130\x59\x5f\110\x4f\123\x54") && defined("\127\120\x5f\x50\122\x4f\x58\131\x5f\120\117\x52\124") && defined("\127\x50\137\x50\122\x4f\130\x59\x5f\x55\123\x45\122\x4e\101\x4d\x45") && defined("\127\120\x5f\120\x52\x4f\130\x59\x5f\x50\101\x53\123\x57\117\122\x44"))) {
goto q2;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . "\72" . WP_PROXY_PASSWORD);
q2:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto D1;
}
echo "\x52\145\x71\165\x65\x73\164\40\x45\162\x72\x6f\x72\72" . curl_error($Wy);
die;
D1:
curl_close($Wy);
return $ST;
}
function mo_ldap_local_forgot_password($Fi)
{
$Dh = get_option("\x6d\157\x5f\154\x64\141\x70\x5f\154\157\x63\x61\154\137\x68\157\163\164\137\x6e\141\155\x65") . "\x2f\x6d\157\x61\163\57\162\x65\163\164\x2f\143\165\x73\x74\157\155\145\162\x2f\160\141\x73\x73\167\157\x72\144\55\x72\x65\163\x65\x74";
$Wy = curl_init($Dh);
$uE = get_option("\x6d\157\x5f\x6c\144\x61\x70\137\154\x6f\x63\141\154\137\141\x64\155\x69\x6e\x5f\143\165\x73\164\157\x6d\145\x72\x5f\153\145\171");
$Bf = get_option("\x6d\x6f\137\154\x64\x61\x70\137\x6c\157\143\141\154\137\141\x64\x6d\151\156\137\x61\x70\x69\137\x6b\145\x79");
$Qc = round(microtime(true) * 1000);
$nZ = $uE . number_format($Qc, 0, '', '') . $Bf;
$CA = hash("\163\150\x61\65\x31\62", $nZ);
$sw = "\x43\x75\x73\164\157\155\145\x72\55\x4b\145\x79\72\40" . $uE;
$NW = "\124\151\155\x65\x73\164\x61\x6d\160\x3a\x20" . number_format($Qc, 0, '', '');
$Gu = "\x41\x75\x74\x68\x6f\162\x69\172\x61\x74\151\x6f\x6e\72\40" . $CA;
$Zs = array("\x65\155\x61\151\154" => $Fi);
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("\103\x6f\156\164\x65\x6e\x74\x2d\x54\x79\160\145\72\40\x61\x70\160\154\x69\143\x61\x74\151\157\x6e\57\x6a\163\157\x6e", $sw, $NW, $Gu));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
curl_setopt($Wy, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($Wy, CURLOPT_TIMEOUT, 20);
if (!(defined("\127\120\x5f\120\122\x4f\130\131\x5f\110\x4f\x53\x54") && defined("\127\120\x5f\120\122\x4f\x58\x59\x5f\x50\117\122\124") && defined("\x57\120\x5f\120\122\x4f\x58\x59\x5f\125\x53\x45\122\116\x41\x4d\105") && defined("\127\120\137\120\122\x4f\x58\x59\137\x50\x41\123\x53\127\117\122\x44"))) {
goto uC;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . "\72" . WP_PROXY_PASSWORD);
uC:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto qu;
}
echo "\x52\145\x71\165\145\163\164\40\x45\162\x72\157\162\72" . curl_error($Wy);
die;
qu:
curl_close($Wy);
return $ST;
}
function XfskodsfhHJ($hw)
{
$Dh = get_option("\155\157\x5f\154\x64\141\160\137\154\157\143\x61\154\137\150\157\163\164\137\x6e\141\155\145") . "\57\x6d\x6f\x61\163\x2f\x61\x70\x69\57\x62\x61\143\153\165\160\x63\157\x64\145\x2f\166\145\x72\x69\146\x79";
$Wy = curl_init($Dh);
$uE = get_option("\155\x6f\x5f\154\144\x61\x70\137\x6c\157\x63\x61\x6c\137\141\144\155\x69\156\x5f\x63\165\163\164\157\155\145\162\x5f\x6b\145\x79");
$Bf = get_option("\155\157\x5f\x6c\x64\141\x70\137\154\157\143\141\x6c\x5f\141\144\x6d\151\x6e\x5f\141\x70\x69\137\x6b\145\171");
$Qc = round(microtime(true) * 1000);
$nZ = $uE . number_format($Qc, 0, '', '') . $Bf;
$CA = hash("\163\x68\x61\65\61\62", $nZ);
$sw = "\103\165\163\164\157\155\x65\162\55\113\145\x79\x3a\40" . $uE;
$NW = "\124\x69\155\x65\x73\164\141\x6d\x70\x3a\40" . number_format($Qc, 0, '', '');
$Gu = "\x41\x75\164\150\157\x72\151\x7a\141\164\x69\x6f\156\x3a\40" . $CA;
$Zs = array("\143\157\x64\145" => $hw, "\143\x75\163\x74\x6f\x6d\145\162\113\145\x79" => $uE, "\141\x64\144\x69\x74\x69\157\x6e\x61\x6c\x46\x69\x65\154\144\163" => array("\146\x69\145\154\144\x31" => site_url()));
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("\103\x6f\x6e\x74\145\x6e\164\55\124\171\x70\x65\x3a\40\141\x70\160\x6c\x69\x63\141\x74\151\157\x6e\x2f\152\163\157\x6e", $sw, $NW, $Gu));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
curl_setopt($Wy, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($Wy, CURLOPT_TIMEOUT, 20);
if (!(defined("\x57\120\x5f\120\122\117\x58\131\137\x48\117\x53\124") && defined("\127\120\137\x50\122\117\x58\131\x5f\120\117\122\124") && defined("\127\120\x5f\120\x52\117\130\131\x5f\x55\x53\105\122\x4e\101\x4d\105") && defined("\x57\x50\137\120\122\x4f\130\x59\x5f\120\101\123\x53\127\117\122\104"))) {
goto Jj;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . "\x3a" . WP_PROXY_PASSWORD);
Jj:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto I6;
}
echo "\x52\145\x71\165\145\x73\164\x20\x45\x72\x72\x6f\162\x3a" . curl_error($Wy);
die;
I6:
curl_close($Wy);
return $ST;
}
function check_customer_ln()
{
$Dh = get_option("\x6d\157\137\x6c\x64\x61\160\137\154\x6f\x63\141\x6c\137\150\157\x73\164\x5f\x6e\x61\x6d\x65") . "\57\155\157\x61\163\57\x72\x65\x73\x74\x2f\x63\x75\x73\164\x6f\x6d\145\162\57\x6c\x69\x63\145\x6e\x73\145";
$Wy = curl_init($Dh);
$uE = get_option("\155\157\137\154\144\x61\x70\x5f\154\x6f\143\x61\154\137\141\144\155\x69\156\x5f\143\x75\163\x74\x6f\155\x65\x72\x5f\x6b\x65\x79");
$Bf = get_option("\155\x6f\x5f\x6c\x64\x61\x70\137\154\157\x63\141\154\x5f\141\x64\155\x69\156\137\141\x70\x69\137\153\x65\171");
$Qc = round(microtime(true) * 1000);
$nZ = $uE . number_format($Qc, 0, '', '') . $Bf;
$CA = hash("\x73\150\x61\x35\x31\62", $nZ);
$sw = "\x43\165\x73\164\x6f\x6d\145\x72\55\x4b\145\x79\72\40" . $uE;
$NW = "\x54\x69\155\145\x73\164\x61\x6d\x70\x3a\40" . $Qc;
$Gu = "\x41\x75\164\x68\157\x72\151\x7a\x61\164\151\157\x6e\72\x20" . $CA;
$Zs = array("\143\x75\x73\x74\157\155\145\162\111\x64" => $uE, "\141\x70\160\x6c\x69\x63\x61\164\x69\x6f\x6e\116\x61\155\x65" => "\x77\x70\137\x6c\x64\141\x70\x5f\x69\156\x74\x72\141\156\x65\x74");
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("\x43\157\x6e\x74\x65\x6e\x74\x2d\124\171\160\145\x3a\x20\141\160\160\154\x69\x63\141\164\x69\157\x6e\57\152\x73\157\x6e", $sw, $NW, $Gu));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
curl_setopt($Wy, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($Wy, CURLOPT_TIMEOUT, 20);
if (!(defined("\127\x50\137\x50\x52\x4f\x58\x59\x5f\110\117\x53\x54") && defined("\127\120\137\x50\122\x4f\x58\131\x5f\120\x4f\122\124") && defined("\127\x50\x5f\x50\x52\117\130\131\137\125\123\x45\122\116\x41\115\x45") && defined("\x57\x50\137\x50\122\x4f\x58\131\137\120\x41\x53\123\127\x4f\x52\x44"))) {
goto T8;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . "\72" . WP_PROXY_PASSWORD);
T8:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto tI;
}
return false;
tI:
curl_close($Wy);
return $ST;
}
function mo_ldap_local_update_status()
{
$Dh = get_option("\155\157\x5f\x6c\x64\x61\160\137\x6c\157\143\x61\154\137\x68\x6f\163\x74\137\156\141\155\145") . "\x2f\155\x6f\141\163\57\141\160\151\x2f\x62\x61\x63\153\165\x70\143\x6f\x64\145\x2f\165\x70\144\141\164\x65\163\164\x61\164\x75\163";
$Wy = curl_init($Dh);
$uE = get_option("\155\x6f\x5f\x6c\144\141\x70\137\154\157\143\x61\154\x5f\x61\x64\x6d\151\156\137\x63\x75\163\164\x6f\x6d\145\162\x5f\x6b\x65\171");
$Bf = get_option("\155\157\x5f\154\x64\141\x70\137\x6c\157\143\x61\x6c\137\x61\144\155\151\x6e\137\141\160\x69\137\x6b\x65\x79");
$Qc = round(microtime(true) * 1000);
$nZ = $uE . number_format($Qc, 0, '', '') . $Bf;
$CA = hash("\163\150\x61\x35\61\62", $nZ);
$sw = "\103\165\163\164\157\155\145\x72\55\113\x65\x79\x3a\x20" . $uE;
$NW = "\x54\151\x6d\x65\163\x74\141\x6d\160\72\40" . number_format($Qc, 0, '', '');
$Gu = "\101\x75\x74\150\x6f\162\x69\172\141\x74\151\x6f\156\72\40" . $CA;
$DT = get_option("\x6d\157\137\x6c\x64\141\160\x5f\154\x6f\143\x61\x6c\x5f\143\x75\163\x74\157\x6d\x65\162\x5f\164\x6f\x6b\x65\x6e");
$hw = Mo_Ldap_Local_Util::decrypt(get_option("\x6d\157\x5f\x6c\x64\141\x70\x5f\154\157\143\141\154\137\x6c\x69\143\145\156\x73\x65\x5f\x6b\145\x79"));
$Zs = array("\x63\x6f\144\x65" => $hw, "\143\165\163\164\x6f\x6d\145\x72\x4b\145\x79" => $uE);
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("\103\157\156\164\145\156\x74\55\124\x79\x70\x65\x3a\x20\141\x70\160\x6c\x69\143\141\164\151\157\156\x2f\x6a\163\157\156", $sw, $NW, $Gu));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
curl_setopt($Wy, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($Wy, CURLOPT_TIMEOUT, 20);
if (!(defined("\127\x50\x5f\x50\122\x4f\130\x59\137\110\x4f\x53\124") && defined("\127\120\137\x50\122\x4f\130\x59\137\120\x4f\x52\x54") && defined("\127\x50\x5f\x50\x52\x4f\x58\131\137\x55\x53\105\122\x4e\x41\115\x45") && defined("\x57\x50\x5f\x50\122\x4f\x58\131\137\120\101\123\123\127\x4f\x52\104"))) {
goto so;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . "\x3a" . WP_PROXY_PASSWORD);
so:
$ST = curl_exec($Wy);
if (!curl_errno($Wy)) {
goto ND;
}
echo "\122\145\x71\x75\x65\163\164\40\x45\162\162\157\162\x3a" . curl_error($Wy);
die;
ND:
curl_close($Wy);
return $ST;
}
function mo_ldap_local_send_alert_email($Vo)
{
$Dh = get_option("\155\157\137\154\144\141\x70\137\x6c\x6f\x63\141\154\x5f\x68\157\x73\164\x5f\156\x61\x6d\145") . "\x2f\155\x6f\x61\163\x2f\141\x70\151\57\156\157\x74\x69\146\171\57\x73\x65\x6e\144";
$Wy = curl_init($Dh);
$uE = get_option("\155\x6f\x5f\154\144\x61\160\137\x6c\157\143\141\x6c\137\x61\x64\x6d\x69\x6e\137\143\x75\x73\x74\x6f\155\145\162\137\153\145\x79");
$Bf = get_option("\x6d\157\137\154\144\x61\160\x5f\154\157\143\141\x6c\137\141\x64\155\151\x6e\137\x61\x70\x69\x5f\x6b\145\171");
$Qc = round(microtime(true) * 1000);
$nZ = $uE . number_format($Qc, 0, '', '') . $Bf;
$CA = hash("\x73\150\141\65\x31\62", $nZ);
$sw = "\103\165\163\164\x6f\x6d\145\x72\55\x4b\x65\x79\72\x20" . $uE;
$NW = "\x54\x69\155\145\x73\164\x61\155\x70\72\40" . number_format($Qc, 0, '', '');
$Gu = "\x41\165\164\150\157\162\151\x7a\141\164\151\x6f\x6e\x3a\x20" . $CA;
$cH = get_option("\155\157\137\154\144\x61\160\137\x6c\157\143\141\x6c\137\141\x64\155\151\156\x5f\145\155\141\x69\154");
$ST = "\x48\145\154\154\157\x2c\x3c\142\162\76\74\142\x72\76\131\x6f\x75\x72\40\74\x62\76\x46\x52\105\x45\40\124\x72\151\141\154\x3c\57\142\x3e\40\x77\x69\x6c\154\x20\145\170\x70\x69\162\x65\x20\x69\156\40" . $Vo . "\40\x64\141\x79\x73\x20\146\157\162\x20\x6d\x69\156\151\x4f\162\x61\x6e\147\145\40\x53\101\x4d\x4c\40\x70\x6c\165\147\151\156\40\x6f\156\x20\171\x6f\165\162\40\167\145\x62\x73\151\164\145\40\74\142\76" . get_bloginfo() . "\x3c\x2f\142\76\56\x3c\142\162\x3e\x3c\x62\x72\x3e\74\141\x20\150\162\x65\146\75\47\150\x74\164\160\163\x3a\x2f\x2f\154\157\147\x69\156\56\170\145\x63\x75\162\x69\146\x79\x2e\143\157\155\57\155\x6f\x61\x73\57\x6c\157\147\x69\156\77\x72\x65\144\151\162\145\143\x74\x55\x72\x6c\x3d\x68\164\x74\x70\163\72\57\x2f\x6c\x6f\147\151\x6e\x2e\170\145\x63\165\162\151\x66\171\x2e\x63\x6f\155\57\155\x6f\x61\163\x2f\x69\x6e\151\164\x69\x61\x6c\151\x7a\145\160\x61\171\155\145\156\x74\x26\162\145\161\165\145\x73\164\x4f\x72\x69\147\x69\x6e\x3d\x77\160\x5f\154\144\141\x70\137\151\156\164\162\x61\x6e\x65\x74\x5f\x62\x61\x73\151\x63\x5f\x70\x6c\141\156\47\x3e\103\154\151\143\x6b\40\x68\145\162\x65\x3c\57\141\76\x20\164\157\40\165\x70\x67\162\x61\x64\145\40\164\x6f\40\x6f\165\x72\x20\x70\x72\x65\x6d\x69\165\155\x20\x70\x6c\x61\x6e\x20\163\x6f\157\x6e\x20\151\x66\x20\x79\157\165\x20\x77\141\x6e\164\x20\x74\157\x20\x63\x6f\156\x74\x69\156\165\145\40\165\163\151\156\x67\40\x6f\x75\162\x20\x70\154\165\147\151\x6e\x2e\40\131\157\165\x20\x63\x61\156\40\x72\x65\146\145\162\40\x4c\x69\143\x65\156\x73\x69\156\x67\x20\164\x61\142\40\x66\157\162\x20\x6f\165\162\x20\x70\x72\x65\155\x69\x75\x6d\40\x70\x6c\x61\156\163\x2e\74\x62\162\76\x3c\x62\162\x3e\124\x68\x61\x6e\153\x73\54\74\142\x72\x3e\x6d\x69\156\151\x4f\162\141\x6e\147\x65";
$pR = "\x54\162\x69\x61\x6c\40\166\145\162\163\151\x6f\156\x20\x65\170\160\151\x72\151\x6e\147\x20\x69\x6e\40" . $Vo . "\x20\x64\141\171\x73\x20\146\x6f\x72\x20\x6d\x69\x6e\151\x4f\162\x61\156\147\145\40\114\x44\x41\x50\x20\x70\x6c\x75\x67\151\156\40\x7c\40" . get_bloginfo();
if (!($Vo == 1)) {
goto ct;
}
$ST = str_replace("\x64\x61\171\x73", "\144\141\x79", $ST);
$pR = str_replace("\144\x61\x79\163", "\x64\141\x79", $pR);
ct:
$Zs = array("\x63\x75\x73\164\x6f\x6d\145\x72\113\x65\x79" => $uE, "\x73\x65\x6e\144\x45\155\141\151\154" => true, "\x65\155\141\x69\154" => array("\x63\165\x73\x74\x6f\155\x65\x72\113\145\x79" => $uE, "\x66\x72\157\x6d\105\155\141\x69\154" => "\151\x6e\146\157\x40\170\145\x63\x75\162\151\146\171\56\143\157\x6d", "\x62\143\x63\105\155\141\x69\154" => "\151\x6e\146\x6f\x40\x78\145\143\x75\162\x69\146\171\x2e\x63\x6f\x6d", "\146\162\x6f\155\x4e\141\155\x65" => "\155\x69\156\151\117\162\x61\156\147\145", "\164\157\x45\x6d\x61\151\x6c" => $cH, "\164\x6f\x4e\141\155\x65" => $cH, "\x73\165\142\152\x65\143\x74" => $pR, "\143\x6f\x6e\x74\145\x6e\x74" => $ST));
$YN = json_encode($Zs);
curl_setopt($Wy, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($Wy, CURLOPT_ENCODING, '');
curl_setopt($Wy, CURLOPT_RETURNTRANSFER, true);
curl_setopt($Wy, CURLOPT_AUTOREFERER, true);
curl_setopt($Wy, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Wy, CURLOPT_MAXREDIRS, 10);
curl_setopt($Wy, CURLOPT_HTTPHEADER, array("\103\157\x6e\x74\145\156\164\x2d\x54\x79\160\x65\x3a\40\x61\x70\x70\154\x69\x63\141\x74\151\x6f\x6e\57\x6a\163\157\156", $sw, $NW, $Gu));
curl_setopt($Wy, CURLOPT_POST, true);
curl_setopt($Wy, CURLOPT_POSTFIELDS, $YN);
curl_setopt($Wy, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($Wy, CURLOPT_TIMEOUT, 20);
if (!(defined("\x57\x50\137\120\x52\x4f\130\131\137\x48\x4f\x53\x54") && defined("\127\x50\137\120\122\117\x58\x59\x5f\120\x4f\122\124") && defined("\x57\120\x5f\x50\122\117\x58\131\x5f\125\x53\x45\x52\116\x41\115\105") && defined("\x57\120\137\120\x52\x4f\x58\131\x5f\x50\x41\x53\x53\x57\117\122\x44"))) {
goto t5;
}
curl_setopt($Wy, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($Wy, CURLOPT_PROXYPORT, WP_PROXY_PORT);
curl_setopt($Wy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($Wy, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . "\72" . WP_PROXY_PASSWORD);
t5:
$ST = curl_exec($Wy);
curl_close($Wy);
}
}
?>
Function Calls
None |
Stats
MD5 | 645ce1d2d273e18cb56f4835f238f49f |
Eval Count | 0 |
Decode Time | 97 ms |