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 getPrimaryCompanyID() { goto Q0MJh; Q0MJh: global $config_vars;..
Decoded Output download
<? function getPrimaryCompanyID() {
goto Q0MJh;
Q0MJh: global $config_vars;
goto wwIDf;
e9PPs:
return false;
goto ExIWs;
qO0Xl: cK20h:
goto e9PPs;
GX3nR:
return $config_vars["other"]["primary_company_id"];
goto qO0Xl;
wwIDf:
if (!isset($config_vars["other"]["primary_company_id"])) {
goto cK20h;
}
goto GX3nR;
ExIWs:
}
function getTTProductEdition() {
goto dG_q8;
xzm0B: TH6B2:
goto gMY3d;
jmkPy:
$wQg3s = TT_PRODUCT_PROFESSIONAL;
goto HSqIK;
dG_q8: global $wQg3s;
goto TmuCv;
gMY3d:
$wQg3s = TT_PRODUCT_CORPORATE;
goto rsRzQ;
rsRzQ:
return $wQg3s;
goto K2Q04;
o0DOq:
$wQg3s = TT_PRODUCT_ENTERPRISE;
goto pP8UV;
J5K9k:
return TT_PRODUCT_COMMUNITY;
goto BrQgz;
FpTU5:
goto CXPAq;
goto xzm0B;
ZtYbJ:
if (file_exists(Environment::getBasePath() . "classes" . DIRECTORY_SEPARATOR . "modules" . DIRECTORY_SEPARATOR . "expense" . DIRECTORY_SEPARATOR . "UserExpenseFactory.class.php")) {
goto eFmuE;
}
goto Bi9P7;
cdn3b: VgRY4:
goto hSs_3;
p7F9g: VC_PH:
goto J5K9k;
hSs_3:
return $wQg3s;
goto p7F9g;
Bi9P7:
if (file_exists(Environment::getBasePath() . "classes" . DIRECTORY_SEPARATOR . "modules" . DIRECTORY_SEPARATOR . "job" . DIRECTORY_SEPARATOR . "JobFactory.class.php")) {
goto TH6B2;
}
goto fzq_p;
pP8UV:
return $wQg3s;
goto UF7Wb;
fzq_p:
if (!file_exists(Environment::getBasePath() . "classes" . DIRECTORY_SEPARATOR . "modules" . DIRECTORY_SEPARATOR . "time_clock" . DIRECTORY_SEPARATOR . "TimeClock.class.php")) {
goto K3AU6;
}
goto jmkPy;
HSqIK:
return $wQg3s;
goto F3a7w;
wXm_6:
goto a0f20;
goto cjxlO;
F3a7w: K3AU6:
goto FpTU5;
cjxlO: eFmuE:
goto o0DOq;
x1c65:
goto VC_PH;
goto cdn3b;
TmuCv:
if (PRODUCTION == false && isset($wQg3s) && $wQg3s > 0) {
goto VgRY4;
}
goto ZtYbJ;
K2Q04: CXPAq:
goto wXm_6;
UF7Wb: a0f20:
goto x1c65;
BrQgz:
}
function getLicense() {
goto ezUC5;
lkCSu:
$fhFEr->getByName("license");
goto DdyXa;
FLKNn: feUd7:
goto iHYRF;
cTss8:
$DC0w2 = $fhFEr->getCurrent();
goto dfWqF;
iHYRF:
return false;
goto MCPdY;
dfWqF:
return $DC0w2->getValue();
goto FLKNn;
DdyXa:
if (!($fhFEr->getRecordCount() == 1)) {
goto feUd7;
}
goto cTss8;
ezUC5:
$fhFEr = TTnew("SystemSettingListFactory");
goto lkCSu;
MCPdY:
} ?>
Did this file decode correctly?
Original Code
function getPrimaryCompanyID() {
goto Q0MJh;
Q0MJh: global $config_vars;
goto wwIDf;
e9PPs:
return false;
goto ExIWs;
qO0Xl: cK20h:
goto e9PPs;
GX3nR:
return $config_vars["\x6f\164\x68\x65\x72"]["\x70\162\151\x6d\141\x72\x79\137\143\x6f\x6d\160\x61\x6e\x79\x5f\x69\x64"];
goto qO0Xl;
wwIDf:
if (!isset($config_vars["\157\164\150\x65\162"]["\160\162\151\155\x61\x72\171\137\x63\x6f\x6d\x70\x61\156\171\137\151\x64"])) {
goto cK20h;
}
goto GX3nR;
ExIWs:
}
function getTTProductEdition() {
goto dG_q8;
xzm0B: TH6B2:
goto gMY3d;
jmkPy:
$wQg3s = TT_PRODUCT_PROFESSIONAL;
goto HSqIK;
dG_q8: global $wQg3s;
goto TmuCv;
gMY3d:
$wQg3s = TT_PRODUCT_CORPORATE;
goto rsRzQ;
rsRzQ:
return $wQg3s;
goto K2Q04;
o0DOq:
$wQg3s = TT_PRODUCT_ENTERPRISE;
goto pP8UV;
J5K9k:
return TT_PRODUCT_COMMUNITY;
goto BrQgz;
FpTU5:
goto CXPAq;
goto xzm0B;
ZtYbJ:
if (file_exists(Environment::getBasePath() . "\143\x6c\x61\x73\x73\145\x73" . DIRECTORY_SEPARATOR . "\x6d\x6f\144\x75\154\x65\x73" . DIRECTORY_SEPARATOR . "\x65\x78\160\x65\156\163\x65" . DIRECTORY_SEPARATOR . "\125\x73\x65\x72\x45\x78\x70\x65\156\x73\x65\x46\x61\143\164\x6f\162\171\x2e\143\x6c\x61\163\x73\x2e\x70\x68\x70")) {
goto eFmuE;
}
goto Bi9P7;
cdn3b: VgRY4:
goto hSs_3;
p7F9g: VC_PH:
goto J5K9k;
hSs_3:
return $wQg3s;
goto p7F9g;
Bi9P7:
if (file_exists(Environment::getBasePath() . "\143\x6c\x61\163\x73\145\163" . DIRECTORY_SEPARATOR . "\x6d\157\x64\165\x6c\x65\x73" . DIRECTORY_SEPARATOR . "\x6a\x6f\142" . DIRECTORY_SEPARATOR . "\112\x6f\x62\x46\141\x63\164\157\162\x79\x2e\143\154\141\163\163\x2e\160\150\160")) {
goto TH6B2;
}
goto fzq_p;
pP8UV:
return $wQg3s;
goto UF7Wb;
fzq_p:
if (!file_exists(Environment::getBasePath() . "\143\x6c\x61\163\x73\145\x73" . DIRECTORY_SEPARATOR . "\155\157\144\165\154\145\163" . DIRECTORY_SEPARATOR . "\x74\151\x6d\x65\x5f\x63\x6c\x6f\x63\x6b" . DIRECTORY_SEPARATOR . "\x54\x69\155\145\103\x6c\x6f\x63\153\56\x63\154\x61\x73\x73\x2e\160\x68\160")) {
goto K3AU6;
}
goto jmkPy;
HSqIK:
return $wQg3s;
goto F3a7w;
wXm_6:
goto a0f20;
goto cjxlO;
F3a7w: K3AU6:
goto FpTU5;
cjxlO: eFmuE:
goto o0DOq;
x1c65:
goto VC_PH;
goto cdn3b;
TmuCv:
if (PRODUCTION == false && isset($wQg3s) && $wQg3s > 0) {
goto VgRY4;
}
goto ZtYbJ;
K2Q04: CXPAq:
goto wXm_6;
UF7Wb: a0f20:
goto x1c65;
BrQgz:
}
function getLicense() {
goto ezUC5;
lkCSu:
$fhFEr->getByName("\154\151\x63\x65\156\163\145");
goto DdyXa;
FLKNn: feUd7:
goto iHYRF;
cTss8:
$DC0w2 = $fhFEr->getCurrent();
goto dfWqF;
iHYRF:
return false;
goto MCPdY;
dfWqF:
return $DC0w2->getValue();
goto FLKNn;
DdyXa:
if (!($fhFEr->getRecordCount() == 1)) {
goto feUd7;
}
goto cTss8;
ezUC5:
$fhFEr = TTnew("\123\x79\163\164\145\x6d\123\145\x74\x74\151\156\x67\x4c\151\x73\x74\x46\141\x63\x74\157\x72\171");
goto lkCSu;
MCPdY:
}
Function Calls
None |
Stats
MD5 | 44d6e1a2676ad872543d5434c1470185 |
Eval Count | 0 |
Decode Time | 32 ms |