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 function check_license() { goto cK1GD; hnbMB: update_o..
Decoded Output download
<?php
function check_license() {
goto cK1GD;
hnbMB:
update_option($this->theme_slug . "_license_key_status", $license_data->license);
goto Qo_k0;
oT5GG: wtNpT:
goto FSGU4;
E9VHo:
$message = $strings["license-keys-do-not-match"];
goto zGbs0;
kxDz1:
if ($license_data->license == "invalid") {
goto hZdUC;
}
goto B0Gnf;
iqVAg: XiaIJ:
goto EABnV;
mlKdh:
goto qbjWi;
goto oKvho;
LnYxV:
return $message;
goto k37PG;
IbQZP:
$message .= " <br> " . $license_data->customer_email;
goto P7YAa;
BmJaQ:
$expires = "lifetime";
goto ucL0u;
P7YAa: CdP5B:
goto WbjA_;
bW4Yb: U3lbw:
goto c0XgV;
ZQ1ES:
if (!(0 == $license_limit)) {
goto SOA62;
}
goto Q0S2s;
EY5mz:
$expires = false;
goto PIR0d;
n61Yu:
$strings = $this->strings;
goto wLI2j;
WbjA_: fFtDq:
goto cl_Al;
c0XgV:
goto fFtDq;
goto BbH3g;
fcabg:
$site_count = isset($license_data->site_count) ? $license_data->site_count : '';
goto O1Bvn;
m8Nw9: Df_vl:
goto NTE0r;
PNsAC: wDcwP:
goto t7Rfo;
sblwD: u75zt:
goto oU0mR;
BShtH:
goto U3lbw;
goto DGeTt;
OZ37t:
if ($expires) {
goto M29Ah;
}
goto m3IRp;
oKvho: B7aSU:
goto BmJaQ;
m3IRp:
$message = $strings["license-key-expired"];
goto WosTd;
zGbs0: GBIR_:
goto BShtH;
LLtNe:
if (!$renew_link) {
goto zUauA;
}
goto XlEUC;
oU0mR:
$expires = date_i18n(get_option("date_format"), strtotime($license_data->expires, current_time("timestamp")));
goto K0jxu;
DGeTt: CgsT6:
goto OZ37t;
EABnV:
if (!($customer_email && $license_limit)) {
goto CdP5B;
}
goto IbQZP;
K0jxu:
$renew_link = "<a href="" . esc_url($this->get_renewal_link()) . "" target="_blank">" . $strings["renew"] . "</a>";
goto mlKdh;
e419G: Z0ab_:
goto PBO4q;
ucL0u: qbjWi:
goto fcabg;
dwCZv: SOA62:
goto HQS2T;
qWbiF:
$message = $strings["license-status-unknown"];
goto fuBd2;
elCst: YkWJC:
goto WeC6O;
nfkLj:
$message = " <br>" . sprintf($strings["license-key-expired-%s"], $expires);
goto YmgOE;
fPFYX:
if ($license_data->license == "expired") {
goto CgsT6;
}
goto kxDz1;
N1cIQ:
if ($license_data->license == "disabled") {
goto PtLpl;
}
goto Oauup;
MIXOM:
$message = $strings["license-key-is-active"] . " ";
goto zC6pe;
K9a2E:
$message .= " <br> Lifetime";
goto dHuWg;
YmgOE: kWb3N:
goto LLtNe;
QdQCB: PtLpl:
goto Yuj62;
dHuWg: uJBy3:
goto F8NZD;
WosTd:
goto kWb3N;
goto jgqDb;
NTE0r:
goto YkWJC;
goto e419G;
WeC6O:
goto GBIR_;
goto ANFp4;
GwKsC:
if (!($customer_name && $license_limit)) {
goto XiaIJ;
}
goto qNiCX;
NY_yy:
$license_data = json_decode($response);
goto HZ1F2;
C9NAm:
goto qbjWi;
goto sblwD;
BbH3g: X1MXq:
goto MIXOM;
Q0S2s:
$license_limit = $strings["unlimited"];
goto dwCZv;
EPWP9: gFcAh:
goto q3_Qf;
PIR0d:
if (isset($license_data->expires) && "lifetime" != $license_data->expires) {
goto u75zt;
}
goto a0A2s;
t51Ij: tzePp:
goto GwKsC;
FSGU4:
$message = $strings["site-is-inactive"];
goto EPWP9;
HZ1F2:
if (isset($license_data->license)) {
goto bKeaS;
}
goto t0Fkw;
cl_Al:
return $message;
goto Ikeea;
Oauup:
if ($license_data->license == "site_inactive") {
goto wtNpT;
}
goto qWbiF;
ANFp4: hZdUC:
goto E9VHo;
Yuj62:
$message = $strings["license-key-is-disabled"];
goto m8Nw9;
x5qZY: zUauA:
goto bW4Yb;
jgqDb: M29Ah:
goto nfkLj;
a0A2s:
if (isset($license_data->expires) && "lifetime" == $license_data->expires) {
goto B7aSU;
}
goto C9NAm;
wLI2j:
$api_params = array("edd_action" => "check_license", "license" => $license, "item_name" => urlencode($this->item_name), "url" => home_url("/"));
goto mBVs8;
fuBd2:
goto gFcAh;
goto oT5GG;
F8NZD:
if (!($site_count && $license_limit)) {
goto tzePp;
}
goto WSlai;
DRfGu:
$message .= " <br>" . sprintf($strings["expires%s"], $expires) . " ";
goto PNsAC;
XlEUC:
$message .= " " . $renew_link;
goto x5qZY;
t0Fkw:
$message = $strings["license-status-unknown"];
goto LnYxV;
fKPrk:
if (!($license_data && isset($license_data->license))) {
goto nOamG;
}
goto hnbMB;
PLEni:
$customer_email = isset($license_data->customer_email) ? $license_data->customer_email : '';
goto hYJMI;
t7Rfo:
if (!(isset($expires) && "lifetime" == $expires)) {
goto uJBy3;
}
goto K9a2E;
zC6pe:
if (!(isset($expires) && "lifetime" != $expires)) {
goto wDcwP;
}
goto DRfGu;
PBO4q:
$message = $strings["license-is-inactive"];
goto elCst;
WSlai:
$message .= " <br> " . $license_data->site_count;
goto t51Ij;
HQS2T:
if ($license_data->license == "valid") {
goto X1MXq;
}
goto fPFYX;
B0Gnf:
if ($license_data->license == "inactive") {
goto Z0ab_;
}
goto N1cIQ;
k37PG: bKeaS:
goto fKPrk;
cK1GD:
$license = trim(get_option($this->theme_slug . "_license_key"));
goto n61Yu;
hYJMI:
$license_limit = isset($license_data->license_limit) ? $license_data->license_limit : '';
goto ZQ1ES;
O1Bvn:
$customer_name = isset($license_data->customer_name) ? $license_data->customer_name : '';
goto PLEni;
q3_Qf:
goto Df_vl;
goto QdQCB;
qNiCX:
$message .= " <br> " . $license_data->customer_name;
goto iqVAg;
mBVs8:
$response = json_encode(["success" => true, "license" => "valid", "item_name" => urlencode($this->item_name), "license_limit" => 0, "site_count" => 999, "expires" => "lifetime", "activations_left" => "unlimited", "customer_name" => "noname", "customer_email" => "[email protected]"]);
goto NY_yy;
Qo_k0: nOamG:
goto EY5mz;
Ikeea:
} ?>
Did this file decode correctly?
Original Code
<?php
function check_license() {
goto cK1GD;
hnbMB:
update_option($this->theme_slug . "\137\154\x69\x63\145\x6e\163\x65\x5f\153\145\x79\137\x73\x74\x61\x74\x75\163", $license_data->license);
goto Qo_k0;
oT5GG: wtNpT:
goto FSGU4;
E9VHo:
$message = $strings["\x6c\151\x63\145\156\163\x65\x2d\x6b\x65\171\x73\x2d\x64\157\x2d\x6e\x6f\x74\x2d\155\141\x74\x63\x68"];
goto zGbs0;
kxDz1:
if ($license_data->license == "\151\x6e\166\141\154\151\144") {
goto hZdUC;
}
goto B0Gnf;
iqVAg: XiaIJ:
goto EABnV;
mlKdh:
goto qbjWi;
goto oKvho;
LnYxV:
return $message;
goto k37PG;
IbQZP:
$message .= "\x20\x3c\142\x72\x3e\x20" . $license_data->customer_email;
goto P7YAa;
BmJaQ:
$expires = "\154\151\146\x65\164\151\155\x65";
goto ucL0u;
P7YAa: CdP5B:
goto WbjA_;
bW4Yb: U3lbw:
goto c0XgV;
ZQ1ES:
if (!(0 == $license_limit)) {
goto SOA62;
}
goto Q0S2s;
EY5mz:
$expires = false;
goto PIR0d;
n61Yu:
$strings = $this->strings;
goto wLI2j;
WbjA_: fFtDq:
goto cl_Al;
c0XgV:
goto fFtDq;
goto BbH3g;
fcabg:
$site_count = isset($license_data->site_count) ? $license_data->site_count : '';
goto O1Bvn;
m8Nw9: Df_vl:
goto NTE0r;
PNsAC: wDcwP:
goto t7Rfo;
sblwD: u75zt:
goto oU0mR;
BShtH:
goto U3lbw;
goto DGeTt;
OZ37t:
if ($expires) {
goto M29Ah;
}
goto m3IRp;
oKvho: B7aSU:
goto BmJaQ;
m3IRp:
$message = $strings["\154\151\x63\x65\x6e\163\145\x2d\x6b\x65\x79\x2d\x65\170\x70\151\x72\145\144"];
goto WosTd;
zGbs0: GBIR_:
goto BShtH;
LLtNe:
if (!$renew_link) {
goto zUauA;
}
goto XlEUC;
oU0mR:
$expires = date_i18n(get_option("\144\x61\x74\x65\x5f\x66\x6f\x72\155\x61\x74"), strtotime($license_data->expires, current_time("\164\151\x6d\145\x73\164\141\x6d\x70")));
goto K0jxu;
DGeTt: CgsT6:
goto OZ37t;
EABnV:
if (!($customer_email && $license_limit)) {
goto CdP5B;
}
goto IbQZP;
K0jxu:
$renew_link = "\74\141\40\x68\x72\145\146\75\42" . esc_url($this->get_renewal_link()) . "\x22\40\164\x61\162\x67\145\164\x3d\42\137\142\154\141\156\153\42\x3e" . $strings["\x72\x65\156\x65\167"] . "\74\57\141\x3e";
goto mlKdh;
e419G: Z0ab_:
goto PBO4q;
ucL0u: qbjWi:
goto fcabg;
dwCZv: SOA62:
goto HQS2T;
qWbiF:
$message = $strings["\154\151\x63\x65\x6e\163\x65\x2d\163\164\141\x74\165\x73\x2d\165\x6e\x6b\x6e\x6f\167\156"];
goto fuBd2;
elCst: YkWJC:
goto WeC6O;
nfkLj:
$message = "\x20\x3c\x62\x72\76" . sprintf($strings["\154\x69\x63\145\156\x73\x65\55\x6b\145\171\55\145\170\160\x69\x72\x65\144\55\x25\163"], $expires);
goto YmgOE;
fPFYX:
if ($license_data->license == "\x65\x78\x70\151\x72\x65\x64") {
goto CgsT6;
}
goto kxDz1;
N1cIQ:
if ($license_data->license == "\x64\x69\163\x61\x62\x6c\x65\x64") {
goto PtLpl;
}
goto Oauup;
MIXOM:
$message = $strings["\x6c\151\143\145\156\x73\145\x2d\x6b\x65\x79\x2d\x69\163\55\141\x63\164\151\166\x65"] . "\x20";
goto zC6pe;
K9a2E:
$message .= "\x20\x3c\142\x72\76\40\114\151\146\145\x74\151\155\x65";
goto dHuWg;
YmgOE: kWb3N:
goto LLtNe;
QdQCB: PtLpl:
goto Yuj62;
dHuWg: uJBy3:
goto F8NZD;
WosTd:
goto kWb3N;
goto jgqDb;
NTE0r:
goto YkWJC;
goto e419G;
WeC6O:
goto GBIR_;
goto ANFp4;
GwKsC:
if (!($customer_name && $license_limit)) {
goto XiaIJ;
}
goto qNiCX;
NY_yy:
$license_data = json_decode($response);
goto HZ1F2;
C9NAm:
goto qbjWi;
goto sblwD;
BbH3g: X1MXq:
goto MIXOM;
Q0S2s:
$license_limit = $strings["\x75\156\x6c\151\155\151\x74\145\144"];
goto dwCZv;
EPWP9: gFcAh:
goto q3_Qf;
PIR0d:
if (isset($license_data->expires) && "\154\x69\x66\145\164\151\x6d\145" != $license_data->expires) {
goto u75zt;
}
goto a0A2s;
t51Ij: tzePp:
goto GwKsC;
FSGU4:
$message = $strings["\x73\x69\x74\x65\x2d\151\x73\55\x69\156\x61\x63\x74\151\166\x65"];
goto EPWP9;
HZ1F2:
if (isset($license_data->license)) {
goto bKeaS;
}
goto t0Fkw;
cl_Al:
return $message;
goto Ikeea;
Oauup:
if ($license_data->license == "\x73\x69\164\x65\x5f\x69\156\141\x63\164\x69\x76\145") {
goto wtNpT;
}
goto qWbiF;
ANFp4: hZdUC:
goto E9VHo;
Yuj62:
$message = $strings["\154\x69\143\145\x6e\x73\145\x2d\153\x65\171\x2d\x69\163\x2d\144\151\x73\x61\x62\x6c\x65\144"];
goto m8Nw9;
x5qZY: zUauA:
goto bW4Yb;
jgqDb: M29Ah:
goto nfkLj;
a0A2s:
if (isset($license_data->expires) && "\154\x69\x66\x65\164\151\155\x65" == $license_data->expires) {
goto B7aSU;
}
goto C9NAm;
wLI2j:
$api_params = array("\x65\144\144\137\141\x63\164\151\157\x6e" => "\x63\150\x65\143\153\x5f\154\x69\143\145\x6e\163\145", "\x6c\x69\x63\145\x6e\x73\145" => $license, "\151\x74\x65\155\137\x6e\141\x6d\x65" => urlencode($this->item_name), "\165\x72\154" => home_url("\57"));
goto mBVs8;
fuBd2:
goto gFcAh;
goto oT5GG;
F8NZD:
if (!($site_count && $license_limit)) {
goto tzePp;
}
goto WSlai;
DRfGu:
$message .= "\40\74\142\162\76" . sprintf($strings["\x65\x78\x70\x69\x72\145\x73\45\x73"], $expires) . "\40";
goto PNsAC;
XlEUC:
$message .= "\40" . $renew_link;
goto x5qZY;
t0Fkw:
$message = $strings["\154\151\143\x65\x6e\163\145\55\163\164\141\164\x75\163\55\165\x6e\x6b\x6e\x6f\x77\x6e"];
goto LnYxV;
fKPrk:
if (!($license_data && isset($license_data->license))) {
goto nOamG;
}
goto hnbMB;
PLEni:
$customer_email = isset($license_data->customer_email) ? $license_data->customer_email : '';
goto hYJMI;
t7Rfo:
if (!(isset($expires) && "\x6c\x69\x66\145\x74\x69\x6d\x65" == $expires)) {
goto uJBy3;
}
goto K9a2E;
zC6pe:
if (!(isset($expires) && "\154\151\x66\x65\x74\x69\x6d\145" != $expires)) {
goto wDcwP;
}
goto DRfGu;
PBO4q:
$message = $strings["\x6c\151\x63\145\156\x73\x65\x2d\x69\x73\x2d\151\x6e\x61\143\164\x69\166\x65"];
goto elCst;
WSlai:
$message .= "\40\74\142\162\76\x20" . $license_data->site_count;
goto t51Ij;
HQS2T:
if ($license_data->license == "\x76\x61\x6c\x69\144") {
goto X1MXq;
}
goto fPFYX;
B0Gnf:
if ($license_data->license == "\151\156\x61\143\164\151\x76\145") {
goto Z0ab_;
}
goto N1cIQ;
k37PG: bKeaS:
goto fKPrk;
cK1GD:
$license = trim(get_option($this->theme_slug . "\x5f\154\151\x63\145\156\x73\145\x5f\x6b\145\x79"));
goto n61Yu;
hYJMI:
$license_limit = isset($license_data->license_limit) ? $license_data->license_limit : '';
goto ZQ1ES;
O1Bvn:
$customer_name = isset($license_data->customer_name) ? $license_data->customer_name : '';
goto PLEni;
q3_Qf:
goto Df_vl;
goto QdQCB;
qNiCX:
$message .= "\x20\x3c\x62\162\x3e\40" . $license_data->customer_name;
goto iqVAg;
mBVs8:
$response = json_encode(["\x73\165\x63\x63\145\163\163" => true, "\x6c\x69\x63\145\156\x73\x65" => "\166\x61\154\x69\144", "\151\164\145\155\x5f\156\141\155\x65" => urlencode($this->item_name), "\154\x69\x63\x65\156\x73\x65\x5f\x6c\x69\155\151\x74" => 0, "\163\x69\164\145\137\143\157\x75\156\x74" => 999, "\x65\170\160\151\162\x65\163" => "\154\151\146\x65\164\x69\155\145", "\141\143\x74\x69\166\141\164\x69\157\156\x73\137\154\x65\146\164" => "\165\156\154\151\155\x69\x74\x65\x64", "\x63\x75\163\164\x6f\155\145\x72\137\156\x61\x6d\x65" => "\x6e\x6f\156\x61\x6d\x65", "\x63\x75\x73\164\157\x6d\145\x72\x5f\145\155\141\151\154" => "\x61\144\x6d\151\156\x40\141\x64\155\151\x6e\x2e\143\157\x6d"]);
goto NY_yy;
Qo_k0: nOamG:
goto EY5mz;
Ikeea:
}
Function Calls
None |
Stats
MD5 | 81cd324db22775804a708eef9a27cc35 |
Eval Count | 0 |
Decode Time | 63 ms |