Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
function validateLicense($CtzTm = null, $Itvt4 = ["\145\155\x70\154\x6f\x79\x65\x65" => tr..
Decoded Output download
<? function validateLicense($CtzTm = null, $Itvt4 = ["employee" => true]) {
goto X0MkV;
Cl6Ch: wb2ji:
goto PRtaU;
HdnZS: WkunH:
goto hNT1u;
YojBt:
return "edition";
goto HdnZS;
h6nyo:
if (!(PRODUCTION == true && (APPLICATION_NAME != $this->define_application_name || ORGANIZATION_NAME != $this->define_application_name))) {
goto wENmf;
}
goto NRyuG;
W7cWZ:
return "expire";
goto gnPQW;
UdjSs:
if (isset($Itvt4["employee"]) && is_object($Itvt4["employee"])) {
goto aYVBl;
}
goto d7s3l;
Wy91s: p0Lbj:
goto FTfEy;
noxMj:
$EJpQ0 = $Itvt4["employee"]->getID();
goto AbaTn;
p3J3o: qoSPG:
goto fDtXh;
NYSLb:
return "employee";
goto Wy91s;
Yl3fK:
if ($q2Wz3 === false) {
goto prO7k;
}
goto TG91b;
TAA00:
goto uXz5M;
goto RaO67;
pI_bV:
if (!(time() > $this->getExpireDate())) {
goto PQfiJ;
}
goto W7cWZ;
xnmAj:
$a9ZKs = $this->getMajorVersion() . "." . $this->getMinorVersion() . ".99";
goto IHzjY;
cXhqN: L0ZNX:
goto uSPmt;
dTz3F:
$Jxlqy = 0;
goto WItcU;
gsGU5: xbSPP:
goto p3J3o;
QOhbk:
$EJpQ0 = 0;
goto UdjSs;
CA_eY:
if (!($lwefv->getStatus() == 10 || $lwefv->isNew(true) == true)) {
goto xbSPP;
}
goto wPnul;
xSJKe: bO240:
goto mpdjj;
IHzjY:
if (!version_compare(APPLICATION_VERSION, $a9ZKs, ">")) {
goto wb2ji;
}
goto QFG3e;
medHT:
$Gikaz = $db->GetOne($W3DPd);
goto ZmfK7;
IruEj:
$q2Wz3 = $this->checkStationLicenses($VgWKN, $Bh0wt);
goto Yl3fK;
hNT1u: c6Cld:
goto pI_bV;
LBlAv:
$lwefv = $Itvt4["employee"];
goto noxMj;
YRiad: fdVUF:
goto TQwJR;
TQwJR:
if (!($this->getProductEdition() != $this->getTTProductEdition())) {
goto WkunH;
}
goto YojBt;
efMtZ:
$Bh0wt = $Itvt4["station"];
goto NpIZs;
DhVw4:
$CtzTm = $this->getLicense();
goto OGDbH;
wPnul:
$Gikaz++;
goto gsGU5;
OVF4e:
$this->parseLicense($CtzTm);
goto FiS42;
SNVQw:
if (!($Itvt4 == '' || isset($Itvt4[0]) || isset($Itvt4["employee"]))) {
goto FKEwx;
}
goto QOhbk;
qVLSi: uXz5M:
goto qRZvx;
FCIFb:
return "station_" . $q2Wz3;
goto aIP1X;
MrTQg: prO7k:
goto pFrjG;
b3AEC:
if (!($this->getTTProductEdition() == 10)) {
goto z7W9S;
}
goto HXerQ;
WItcU:
if (isset($Itvt4["station"]) && is_object($Itvt4["station"])) {
goto eUMfg;
}
goto qeILh;
QFG3e:
return "version";
goto Cl6Ch;
RiLvi: SXBhN:
goto OVF4e;
NpIZs:
$Jxlqy = $Itvt4["station"]->getID();
goto cXhqN;
qRZvx:
return "license";
goto GfoyA;
pFrjG:
return "station";
goto h69LA;
CN21M:
if (!(DEMO_MODE == true || PRODUCTION == false || $this->isInstallMode() == true)) {
goto SXBhN;
}
goto eXUWS;
dds1l:
goto c6Cld;
goto YRiad;
FiS42:
if ($this->Validator->isValid() && $this->validateSignatureKey($this->signature_key) == true) {
goto u5cUu;
}
goto RvIww;
AbaTn: e7N8r:
goto QigYt;
lBg4Y: aYVBl:
goto LBlAv;
X0MkV:
if (!($CtzTm == '')) {
goto WnQiL;
}
goto DhVw4;
sSoVG: eUMfg:
goto efMtZ;
uSPmt:
$W3DPd = "select type_id, count(*) as quantity from station as a, company as b where a.company_id = b.id AND a.status_id = 20 AND b.status_id = 10 AND a.id != '" . TTUUID::castUUID($Jxlqy) . "' AND a.deleted = 0 and b.deleted = 0 GROUP BY type_id";
goto vIpp4;
pZbOv: wENmf:
goto b3AEC;
FTfEy: FKEwx:
goto ENAzV;
NRyuG:
return "copyright";
goto pZbOv;
d7s3l:
$lwefv = null;
goto FEIjl;
icRU8: z7W9S:
goto CN21M;
qeILh:
$Bh0wt = null;
goto pLFE4;
PRtaU:
if (isset($this->product_edition[$this->getTTProductEdition()])) {
goto fdVUF;
}
goto GWss3;
vIpp4:
$VgWKN = $db->Execute($W3DPd)->GetAssoc();
goto IruEj;
RaO67: u5cUu:
goto xnmAj;
e2f_9:
goto xpMHb;
goto MrTQg;
ZmfK7:
if (!($lwefv instanceof UserListFactory || $lwefv instanceof UserFactory)) {
goto qoSPG;
}
goto CA_eY;
aIP1X: ktvQA:
goto e2f_9;
TG91b:
if (!($q2Wz3 !== true)) {
goto ktvQA;
}
goto FCIFb;
ENAzV:
if (!($Itvt4 == '' || isset($Itvt4[0]) || isset($Itvt4["station"]) && $this->isStationLicensesLimited() == true)) {
goto bO240;
}
goto dTz3F;
fDtXh:
if (!($Gikaz > $this->getActiveEmployeeLicenses())) {
goto p0Lbj;
}
goto NYSLb;
HXerQ:
return true;
goto icRU8;
pLFE4:
goto L0ZNX;
goto sSoVG;
h69LA: xpMHb:
goto xSJKe;
eXUWS:
return true;
goto RiLvi;
vnpH9: global $db;
goto SNVQw;
QigYt:
$W3DPd = "select count(*) from users as a, company as b where a.company_id = b.id AND ( b.status_id = 10 AND a.deleted = 0 AND b.deleted = 0 ) AND ( a.status_id = 10 AND a.id != '" . TTUUID::castUUID($EJpQ0) . "' )";
goto medHT;
OGDbH: WnQiL:
goto h6nyo;
mpdjj:
return true;
goto qVLSi;
GWss3:
return "edition";
goto dds1l;
gnPQW: PQfiJ:
goto vnpH9;
RvIww:
$this->data = null;
goto TAA00;
FEIjl:
goto e7N8r;
goto lBg4Y;
GfoyA:
} ?>
Did this file decode correctly?
Original Code
function validateLicense($CtzTm = null, $Itvt4 = ["\145\155\x70\154\x6f\x79\x65\x65" => true]) {
goto X0MkV;
Cl6Ch: wb2ji:
goto PRtaU;
HdnZS: WkunH:
goto hNT1u;
YojBt:
return "\x65\144\x69\x74\151\157\156";
goto HdnZS;
h6nyo:
if (!(PRODUCTION == true && (APPLICATION_NAME != $this->define_application_name || ORGANIZATION_NAME != $this->define_application_name))) {
goto wENmf;
}
goto NRyuG;
W7cWZ:
return "\x65\170\160\151\162\145";
goto gnPQW;
UdjSs:
if (isset($Itvt4["\x65\155\x70\154\x6f\171\x65\145"]) && is_object($Itvt4["\145\x6d\x70\154\x6f\x79\x65\145"])) {
goto aYVBl;
}
goto d7s3l;
Wy91s: p0Lbj:
goto FTfEy;
noxMj:
$EJpQ0 = $Itvt4["\x65\x6d\160\x6c\157\171\145\145"]->getID();
goto AbaTn;
p3J3o: qoSPG:
goto fDtXh;
NYSLb:
return "\x65\x6d\x70\154\157\x79\145\145";
goto Wy91s;
Yl3fK:
if ($q2Wz3 === false) {
goto prO7k;
}
goto TG91b;
TAA00:
goto uXz5M;
goto RaO67;
pI_bV:
if (!(time() > $this->getExpireDate())) {
goto PQfiJ;
}
goto W7cWZ;
xnmAj:
$a9ZKs = $this->getMajorVersion() . "\56" . $this->getMinorVersion() . "\56\71\x39";
goto IHzjY;
cXhqN: L0ZNX:
goto uSPmt;
dTz3F:
$Jxlqy = 0;
goto WItcU;
gsGU5: xbSPP:
goto p3J3o;
QOhbk:
$EJpQ0 = 0;
goto UdjSs;
CA_eY:
if (!($lwefv->getStatus() == 10 || $lwefv->isNew(true) == true)) {
goto xbSPP;
}
goto wPnul;
xSJKe: bO240:
goto mpdjj;
IHzjY:
if (!version_compare(APPLICATION_VERSION, $a9ZKs, "\76")) {
goto wb2ji;
}
goto QFG3e;
medHT:
$Gikaz = $db->GetOne($W3DPd);
goto ZmfK7;
IruEj:
$q2Wz3 = $this->checkStationLicenses($VgWKN, $Bh0wt);
goto Yl3fK;
hNT1u: c6Cld:
goto pI_bV;
LBlAv:
$lwefv = $Itvt4["\145\x6d\160\x6c\x6f\171\x65\x65"];
goto noxMj;
YRiad: fdVUF:
goto TQwJR;
TQwJR:
if (!($this->getProductEdition() != $this->getTTProductEdition())) {
goto WkunH;
}
goto YojBt;
efMtZ:
$Bh0wt = $Itvt4["\x73\x74\141\x74\x69\x6f\156"];
goto NpIZs;
DhVw4:
$CtzTm = $this->getLicense();
goto OGDbH;
wPnul:
$Gikaz++;
goto gsGU5;
OVF4e:
$this->parseLicense($CtzTm);
goto FiS42;
SNVQw:
if (!($Itvt4 == '' || isset($Itvt4[0]) || isset($Itvt4["\145\155\160\x6c\x6f\x79\145\145"]))) {
goto FKEwx;
}
goto QOhbk;
qVLSi: uXz5M:
goto qRZvx;
FCIFb:
return "\x73\x74\x61\164\151\x6f\x6e\137" . $q2Wz3;
goto aIP1X;
MrTQg: prO7k:
goto pFrjG;
b3AEC:
if (!($this->getTTProductEdition() == 10)) {
goto z7W9S;
}
goto HXerQ;
WItcU:
if (isset($Itvt4["\x73\164\x61\x74\151\157\156"]) && is_object($Itvt4["\x73\x74\x61\164\151\157\x6e"])) {
goto eUMfg;
}
goto qeILh;
QFG3e:
return "\x76\x65\162\x73\151\157\x6e";
goto Cl6Ch;
RiLvi: SXBhN:
goto OVF4e;
NpIZs:
$Jxlqy = $Itvt4["\163\x74\x61\164\x69\157\156"]->getID();
goto cXhqN;
qRZvx:
return "\154\x69\x63\x65\156\x73\x65";
goto GfoyA;
pFrjG:
return "\x73\164\141\164\151\157\156";
goto h69LA;
CN21M:
if (!(DEMO_MODE == true || PRODUCTION == false || $this->isInstallMode() == true)) {
goto SXBhN;
}
goto eXUWS;
dds1l:
goto c6Cld;
goto YRiad;
FiS42:
if ($this->Validator->isValid() && $this->validateSignatureKey($this->signature_key) == true) {
goto u5cUu;
}
goto RvIww;
AbaTn: e7N8r:
goto QigYt;
lBg4Y: aYVBl:
goto LBlAv;
X0MkV:
if (!($CtzTm == '')) {
goto WnQiL;
}
goto DhVw4;
sSoVG: eUMfg:
goto efMtZ;
uSPmt:
$W3DPd = "\x73\x65\x6c\x65\143\164\40\x74\x79\160\145\137\151\x64\x2c\x20\143\x6f\165\156\164\50\x2a\x29\40\141\x73\x20\x71\165\141\x6e\164\x69\x74\x79\x20\146\x72\157\x6d\x20\x73\164\141\x74\151\157\x6e\40\141\x73\40\x61\54\x20\143\157\155\160\x61\156\171\x20\x61\x73\x20\x62\x20\x77\150\x65\162\145\x20\141\56\143\x6f\155\160\x61\156\171\137\x69\144\x20\75\40\142\x2e\151\144\x20\x41\116\104\x20\x61\x2e\163\164\x61\x74\165\x73\137\151\x64\40\x3d\40\62\60\40\x41\116\104\x20\x62\x2e\x73\164\141\x74\x75\x73\x5f\151\x64\40\75\x20\61\x30\x20\x41\116\x44\x20\x61\x2e\151\x64\40\41\x3d\40\x27" . TTUUID::castUUID($Jxlqy) . "\47\x20\101\x4e\104\40\x61\56\x64\145\x6c\x65\x74\145\x64\40\75\40\60\40\141\x6e\144\x20\142\x2e\x64\x65\x6c\145\x74\145\144\x20\75\x20\60\x20\x47\122\117\x55\120\x20\102\x59\40\164\171\160\x65\137\x69\x64";
goto vIpp4;
pZbOv: wENmf:
goto b3AEC;
FTfEy: FKEwx:
goto ENAzV;
NRyuG:
return "\x63\x6f\x70\x79\162\x69\147\150\164";
goto pZbOv;
d7s3l:
$lwefv = null;
goto FEIjl;
icRU8: z7W9S:
goto CN21M;
qeILh:
$Bh0wt = null;
goto pLFE4;
PRtaU:
if (isset($this->product_edition[$this->getTTProductEdition()])) {
goto fdVUF;
}
goto GWss3;
vIpp4:
$VgWKN = $db->Execute($W3DPd)->GetAssoc();
goto IruEj;
RaO67: u5cUu:
goto xnmAj;
e2f_9:
goto xpMHb;
goto MrTQg;
ZmfK7:
if (!($lwefv instanceof UserListFactory || $lwefv instanceof UserFactory)) {
goto qoSPG;
}
goto CA_eY;
aIP1X: ktvQA:
goto e2f_9;
TG91b:
if (!($q2Wz3 !== true)) {
goto ktvQA;
}
goto FCIFb;
ENAzV:
if (!($Itvt4 == '' || isset($Itvt4[0]) || isset($Itvt4["\163\164\141\x74\x69\157\x6e"]) && $this->isStationLicensesLimited() == true)) {
goto bO240;
}
goto dTz3F;
fDtXh:
if (!($Gikaz > $this->getActiveEmployeeLicenses())) {
goto p0Lbj;
}
goto NYSLb;
HXerQ:
return true;
goto icRU8;
pLFE4:
goto L0ZNX;
goto sSoVG;
h69LA: xpMHb:
goto xSJKe;
eXUWS:
return true;
goto RiLvi;
vnpH9: global $db;
goto SNVQw;
QigYt:
$W3DPd = "\163\x65\154\145\143\x74\x20\x63\157\165\x6e\x74\50\52\x29\40\x66\x72\x6f\x6d\40\x75\163\145\162\x73\x20\141\x73\x20\x61\54\40\143\157\x6d\x70\x61\x6e\171\40\141\163\40\x62\x20\167\x68\145\x72\145\x20\141\56\x63\157\x6d\160\x61\156\x79\137\151\x64\x20\75\x20\x62\x2e\151\144\x20\x41\x4e\104\40\50\x20\x62\56\x73\164\141\x74\x75\163\137\151\144\40\75\x20\61\60\x20\x41\116\104\40\141\56\x64\145\154\x65\164\145\144\40\75\x20\60\40\101\x4e\x44\x20\x62\x2e\144\x65\154\x65\164\x65\x64\40\x3d\40\60\40\51\40\x41\116\x44\40\50\40\x61\56\163\164\x61\164\x75\163\137\x69\144\40\75\x20\61\60\40\101\116\104\40\141\56\x69\144\x20\x21\x3d\40\x27" . TTUUID::castUUID($EJpQ0) . "\47\x20\x29";
goto medHT;
OGDbH: WnQiL:
goto h6nyo;
mpdjj:
return true;
goto qVLSi;
GWss3:
return "\x65\x64\151\164\x69\157\x6e";
goto dds1l;
gnPQW: PQfiJ:
goto vnpH9;
RvIww:
$this->data = null;
goto TAA00;
FEIjl:
goto e7N8r;
goto lBg4Y;
GfoyA:
}
Function Calls
None |
Stats
MD5 | 827ab73c291f63bfe7021ec495b7f55a |
Eval Count | 0 |
Decode Time | 37 ms |