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 /* Mecondielle (using yak pro) http://mecondielle.com */ require_once _..
Decoded Output download
<?php
/*
Mecondielle (using yak pro)
http://mecondielle.com
*/
require_once __DIR__ . "/../../autoload.php";
require_once __DIR__ . "/Language.php";
use app\BD\DataBase;
use app\Util;
use app\BD\Entities\Alert;
use app\BD\Entities\Operation;
use app\BD\Entities\Session;
use app\Omron;
use app\BD\Data\OnTheFlyData;
goto KpXjd6zo;
B0W7ijj3:
function isWindows()
{
return substr(strtolower(PHP_OS), 0, 3) === "win";
}
goto AuktJRvO;
LbRSPjD7:
try {
goto Ez94qMYM;
HiE77yiE:
echo "<b>{$D_en__yM}<b>";
goto rgOR5iAG;
iWWSMakf:
goto C1x50TzM;
goto F2R5vpSD;
GCz0I_Nk:
$TxPVLQ9k = Xu6VPwJp($TxPVLQ9k);
goto RyfcfihT;
ZSG217GR:
echo "Wh<img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAFOUlEQVR42o1VCUxURxj+Zi+WXTndhRU5BAO4iog1ahoTwQOVtt61MZamjaA1KiGtVxAxrVYRtGJMWxFrSlvbEkvaesUDEVPbaKup5VCQarnBZbmP3eW93Z3Oe+4aVlbSP/nyZv755v/+mflnHsHoFsSwhmEBwxQGrcNvZHjIcIPhLEPLywKQl/h1DJ94yPHO6/EqRdI8Txo7zYPogqWUzSCGFhsqyofolTIzuXDTzA9x9AzjZzK0/R+BJAnBtylvjBmbtdEXujAW0d9CidpKIKOiAHgCamKdLiUxNAIHTvXQgnP93XaK99j8C6MJrPNRka/PZGili5dIIAm1gHjKQK1KwCYHddBZeEDKg8gsoGYr7E1KXL9qx9vZHbbuAXsKo3zjTmCOWkluXN0foJi9kqPEX0nAqcQBFo4yInF+h/tEgsJEabeF3DunwKLMdr7fTBcy76/DBViKqCpM95+YvI21ZL7UZCKkoZmHPlIxqkDNPxxCxsuoWs38th4U5YEmH+1qcBSFySmQPm+yR961c14gHn6oesRhzfut4IYoyq9PgFpNHLnQYTlRmM0U0xLrIWGHdvbkOEzTe4By3Xht5QBKKi07GOlTJ7v68gnv6MSkQFJZzWH+2iba3WsXxz5M9UPO7gC3K8jMNZLc/C6x6+MlIaU/hCAuRkHLStpJ4obex8wfJZAna/1IVfO9EFgGleSVpXV40sA/T1UmBe78PIHG6ZUuApW1Q3TW8jrCW53HBDIhWIb7lyKo2stCwmY10bYOOl0g70lJVu7LzwpH9okO7D1mHFG3M2OV+K0onG3Fsz4rRySsq8ft++YR3L1bNcjaqkXaoTrkF1r2CwKlRZ8FzF+VoKERC2tJ81Pr84yGzaMlBSEkYY63uIJbd/owL6XJ9UAcbZ1GShvKosnF3zuxepPhluBsqboUHkR5KZ264vGICYKlrvSie7boSM7pTsqM7FqvQW6BgZ4o7nPHp38VTySeY+zQL6lrF5wDjaXRquZGDplHWwG5UNeMzb7UxtockPPBeGQcN6D0j0ExwtwZKuTt0GH7kRaRT2SMy7MB/hn/4/QgREV6QBdfwwsCxoc/TdJEhskppHa3K4BNSt/NqCPfX+sX/W8tGIPvciMY3+Z2BbBJSH0Lj8hlNT2C8+6FYxEzFr/qjdFsiONQdNMoRlqboIVSoRiVX/pnP5LSnpQLAse3JwemHdwc5P4ZcPQLfjESq40dAAgzYNMqrVu+s723oBXZhYZ8wRkfEiC/+ehsDJVLiVuByn/NdHZKtVDz4lYId+P2qUk0LlLlVsBmB9GvrUJ9G5fofAPufbEtbPqGpdoRE+zshU5Iq6G3qwZd3oqZehW99bmeSCVkhEDh5Q6yMae+gnXjnFnG+3lJb9w9OYWEBnq47OWpiwZsyWt0u8/H0kKxeUWgi6/ZyGHmxge0s8+6SDiK4ZfpQEy45+6Sw3qM9ZaJGT3t4jA1tRI9AzZn5i7V4q2SkIovYxGkUYj8rn4rFu2soeVPTIfZ+C68cFuFdkF0sDL1x6woqg/1JOV13dh9uhFlf1sob3MVYOdAE9hv9OD6UMRN9Ke1zRayZn8tqhvNXwl3U9jdFwWc/Z2eCsm+bauD5OnLx8HXB+jjTahoHkRbPy+SdF5yxAar4SNXobePleH5NhwpbrWahuwfseFsRyJwJ+C0GIZDaqUkadlsf8nCOF8aE6oiWl+5uBXtvTweNJjo9fIecv5Ol33AYr/C+BkMFXCT8WgWxfAmw1wGPYPG4e9kqMaz32Ixw6OXBfgPWBY2JoncQjIAAAAASUVORK5CYII='> Am I?";
goto iWWSMakf;
rgOR5iAG:
C1x50TzM:
goto nlEIb2AZ;
Ez94qMYM:
$A5qU_fNt = new Omron(Util::c8ekqRCW(Omron::SHUSel3j()));
goto SUZ9sXpz;
O9wqnXPN:
$TxPVLQ9k = $A5qU_fNt->aQlHRZHy($WttBowdv["dataType"], $WttBowdv["memoryArea"], $WttBowdv["address"], $WttBowdv["numElOrBit"]);
goto GCz0I_Nk;
Nh6cF5ZA:
$WttBowdv = OnTheFlyData::getData("serialNumber");
goto O9wqnXPN;
Tv4Gcd8w:
if ($D_en__yM == $TxPVLQ9k) {
goto hqh59N4H;
}
goto ey4KjPhH;
RyfcfihT:
$A5qU_fNt->end();
goto Tv4Gcd8w;
ey4KjPhH:
flOE0uld("configuration", "message", "SerialNumber ( PLC: {$TxPVLQ9k} --- PC: {$D_en__yM} )");
goto ZSG217GR;
SUZ9sXpz:
$A5qU_fNt->IvWTsnkI();
goto Nh6cF5ZA;
F2R5vpSD:
hqh59N4H:
goto HiE77yiE;
nlEIb2AZ:
} catch (Exception $uzz4hpxg) {
goto QeGm1Zjx;
QeGm1Zjx:
Util::printToLog($uzz4hpxg->getTraceAsString(), Util::c8ekqrcW(Omron::ShuSEl3j())["log_full_path"] . DwxVd4MN());
goto B80Sst2G;
B80Sst2G:
FLOE0uLD("configuration", "message", utf8_encode($uzz4hpxg->getMessage()));
goto eYkeepBW;
eYkeepBW:
echo $D_en__yM;
goto LXkSpkjC;
LXkSpkjC:
}
goto V4JifnG1;
U3bq2X1x:
function getSessionTs($CGP3YGZ_ = null)
{
$WlC0H293 = getDataBaseValueFromTableAndID("session", $CGP3YGZ_);
return intval($WlC0H293) - time();
}
goto oMUZmO4u;
Ac0oV5cQ:
pEJPgyM0:
goto BRAdTfYW;
bD0s3taE:
if (!Util::GlAD5ENr($_GET["request"], "LabelOnTheFly")) {
goto IToAGdtD;
}
goto mpE0M8jC;
TidFRp08:
echo Util::CIM38H0_($VE1wubqR);
goto eT9FnKLB;
hXrn5SeA:
function Jm_nPp2Y()
{
goto pz1bAmz6;
xS0vikmq:
return isSessionValid($_COOKIE["session"]);
goto EnosW0pb;
pz1bAmz6:
if (!isset($_COOKIE["session"])) {
goto fBcLkmlK;
}
goto xS0vikmq;
S5L_AZQ9:
return false;
goto mJyLeEe_;
EnosW0pb:
fBcLkmlK:
goto S5L_AZQ9;
mJyLeEe_:
}
goto YMxBBkN5;
NQ26MIbf:
function Xu6VPwjp($bjK_MtGz)
{
goto OKr7911Z;
MXUJa19Z:
goto UUofmTty;
goto oUHOV1HO;
XPhqGYnR:
UUofmTty:
goto vM21b0Xa;
vM21b0Xa:
if (!($GrZwWz5W < strlen($bjK_MtGz))) {
goto rD0JlGc6;
}
goto Kba1OyOk;
Kba1OyOk:
$pQZCj29I .= chr(hexdec(substr($bjK_MtGz, $GrZwWz5W, 2)));
goto EkCHo0ZN;
oUHOV1HO:
rD0JlGc6:
goto TqpfHmrw;
kUQKsYz6:
$GrZwWz5W = 0;
goto XPhqGYnR;
yQzV2uuy:
$GrZwWz5W = $GrZwWz5W + 2;
goto MXUJa19Z;
OKr7911Z:
$pQZCj29I = '';
goto kUQKsYz6;
EkCHo0ZN:
Jk4zm7aa:
goto yQzV2uuy;
TqpfHmrw:
return $pQZCj29I;
goto lJsWvZCc;
lJsWvZCc:
}
goto B0W7ijj3;
Eb_b9jHE:
VNS1353u:
goto Ac0oV5cQ;
WHdR02YE:
function FLOE0UlD($qVdQuiZb, $cBKt5Qhp, $F61arn9q)
{
goto VX5cMcI3;
tnzxO6vj:
$UGJE4qky = new DataBase(gXRYhnzW);
goto IPnntHwQ;
VX5cMcI3:
set_error_handler(function ($GseTWfvy, $TGABIRjA, $A52EkdBW, $GXhFBKlT) {
Util::printToLog("line {$GXhFBKlT}: {$TGABIRjA} ({$A52EkdBW})", Util::C8eKQRcw(Omron::SHuSeL3J())["log_full_path"]);
echo Q6pvUXFI . '' . $TGABIRjA;
return true;
});
goto tnzxO6vj;
IPnntHwQ:
$UGJE4qky->sFxtteEm($qVdQuiZb, $cBKt5Qhp, $F61arn9q);
goto aijr5kmF;
aijr5kmF:
}
goto j1RK1mQZ;
JHC4NyQM:
function getAlertDesc($cBKt5Qhp, $FwqVPtCI)
{
return Util::getAlertDesc($cBKt5Qhp, $FwqVPtCI);
}
goto NVunGKHz;
YMxBBkN5:
function registerInputCommand($Tp8mAe2W, $xYTAMt9l, $FYoUeCZK = null)
{
goto UI2O7AZE;
Ljb803VW:
zHdh_fIc:
goto tt1cGkCc;
Rnak8E1L:
p5C9Pfi2:
goto jvbkNndB;
tt1cGkCc:
$VE1wubqR = "User {$cBKt5Qhp} | {$Tp8mAe2W}::{$xYTAMt9l}";
goto LwxMA5qW;
jvbkNndB:
$VE1wubqR .= " | " . json_encode($FYoUeCZK);
goto cPtPeeyJ;
pF20_M3i:
$cBKt5Qhp = "local";
goto Ljb803VW;
VVFSU8N4:
$cBKt5Qhp = Session::OirMo9yU($UGJE4qky, $_COOKIE["session"]);
goto l2M49aGE;
vn5T4VYR:
goto PCRgzoT1;
goto Rnak8E1L;
UI2O7AZE:
$UGJE4qky = new DataBase(gXRYhnzW);
goto VVFSU8N4;
l2M49aGE:
if (!is_null($cBKt5Qhp)) {
goto zHdh_fIc;
}
goto pF20_M3i;
cPtPeeyJ:
PCRgzoT1:
goto QZs7Dhp4;
xlc0zZly:
$VE1wubqR .= " | {$FYoUeCZK}";
goto vn5T4VYR;
QZs7Dhp4:
CN7kTPTF:
goto reVktVBO;
PJjVMYy3:
if (is_array($FYoUeCZK)) {
goto p5C9Pfi2;
}
goto xlc0zZly;
LwxMA5qW:
if (is_null($FYoUeCZK)) {
goto CN7kTPTF;
}
goto PJjVMYy3;
reVktVBO:
Util::printToLog($VE1wubqR, w0cyFE4g("input"), "info");
goto x0kREtB3;
x0kREtB3:
}
goto GmphIl5l;
jYBMbSIw:
function eKbdgrKH()
{
Alert::ghr50bd3(new DataBase(gXRYhnzW));
}
goto gKMkbdYa;
e31ZVB0v:
set_error_handler(function ($GseTWfvy, $TGABIRjA, $A52EkdBW, $GXhFBKlT) {
echo Q6pvUXFI . " " . $TGABIRjA;
return true;
});
goto wJWrOsDB;
TFFHktgQ:
function DwXVD4mn()
{
return ".error.log";
}
goto HNS6gFfq;
G41tUUDW:
$D_en__yM = getDataBaseValueFromTableAndID("configuration", "serial_number");
goto LbRSPjD7;
YygyKYf2:
function adGr2R4A($pFn12Tyy)
{
goto Rj9wbqbd;
Rj9wbqbd:
$nGHzQfUb = "mecondielle.com/clientArea";
goto lzxNHRXM;
lzxNHRXM:
$vf_3Vcun = mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CBC), MCRYPT_DEV_URANDOM);
goto vJLEySaD;
vJLEySaD:
return base64_encode($vf_3Vcun . mcrypt_encrypt(MCRYPT_RIJNDAEL_128, hash("sha256", $nGHzQfUb, true), $pFn12Tyy, MCRYPT_MODE_CBC, $vf_3Vcun));
goto BQ3uDv0d;
BQ3uDv0d:
}
goto NQ26MIbf;
mpE0M8jC:
echo Language::$LIST["fr"][str_replace("LabelOnTheFly", "Label", $_GET["request"])];
goto c1ZxQ_EV;
oFarFRg9:
UfwgI7SR:
goto bD0s3taE;
n5TSFv7g:
function TCzjSoik()
{
$LGFtog9v = new Operation(new DataBase(gXRYhnzW));
$LGFtog9v->D6uPNSA8();
}
goto jYBMbSIw;
zcYpIzY9:
function c8Cnvvse()
{
$LGFtog9v = new Operation(new DataBase(gXRYhnzW));
return $LGFtog9v->snPGnXAA();
}
goto n5TSFv7g;
uQNN_yo5:
function Jm0IZ9up()
{
return "/opt/lampp/temp/.enableOrDisableGatewayFromNetworkInterfaces";
}
goto tCh08TBE;
FQKlOP7w:
function stringEndsWith($pFn12Tyy, $rCAUl6mZ)
{
return Util::gLaD5Enr($pFn12Tyy, $rCAUl6mZ);
}
goto pte42t06;
EWqY1VZV:
if (!Util::gLAd5eNr($_GET["request"], "Label")) {
goto UfwgI7SR;
}
goto WA0JddJl;
KpXjd6zo:
function getDataBaseValueFromTableAndID($qVdQuiZb, $cBKt5Qhp)
{
goto XwUy00m7;
gueJ7HwI:
try {
$UGJE4qky = new DataBase(gXRYhnzW);
return $UGJE4qky->RhtKJNGB($qVdQuiZb, $cBKt5Qhp);
} catch (Exception $uzz4hpxg) {
Util::printToLog("DATABASE: " . $uzz4hpxg->getMessage(), Util::c8ekqrcW(Omron::sHUSEl3j())["log_full_path"]);
}
goto ahQ8VA_b;
ahQ8VA_b:
return null;
goto O6AQHwLc;
XwUy00m7:
set_error_handler(function ($GseTWfvy, $TGABIRjA, $A52EkdBW, $GXhFBKlT) {
Util::printToLog("line {$GXhFBKlT}: {$TGABIRjA} ({$A52EkdBW})", Util::C8EKQrCw(Omron::SHUsEl3J())["log_full_path"]);
return true;
});
goto gueJ7HwI;
O6AQHwLc:
}
goto WHdR02YE;
yfX9HvUF:
$VE1wubqR = getDataBaseValueFromTableAndID("configuration", "message");
goto uGTn0IOj;
XUtSq7OJ:
function w0CyFe4G($rCAUl6mZ = null)
{
goto PVhCkOUw;
rYFCIwlD:
SiWvd5XH:
goto duSQpdpg;
SvYG4d12:
return $kRuTQb2G . ".{$rCAUl6mZ}.log";
goto em0AuMSN;
PVhCkOUw:
$kRuTQb2G = Util::c8EkqRCW(Omron::Shusel3j())["log_full_path"];
goto stSf4JuW;
stSf4JuW:
if (is_null($rCAUl6mZ)) {
goto SiWvd5XH;
}
goto SvYG4d12;
em0AuMSN:
goto v3OEXCKg;
goto rYFCIwlD;
duSQpdpg:
return $kRuTQb2G;
goto ygXPYU1H;
ygXPYU1H:
v3OEXCKg:
goto FzCipOB8;
FzCipOB8:
}
goto TFFHktgQ;
WbdVIxW8:
function y6JKNGqY(array &$k9gZ2XxN, $ZABtWVjX, $jTHxPRgs)
{
goto WYZGMpPa;
puc7weks:
WTd2DBRw:
goto olY0xdI2;
kgCOCG91:
if (!($GrZwWz5W < strlen($ZABtWVjX))) {
goto kpvvWGl6;
}
goto tV46wJY8;
TxThBsMc:
goto FlHRr1_z;
goto Vj8DmiWc;
zPQdquJ6:
FlHRr1_z:
goto kgCOCG91;
olY0xdI2:
$GrZwWz5W = $GrZwWz5W + 4;
goto TxThBsMc;
WYZGMpPa:
$GrZwWz5W = 0;
goto zPQdquJ6;
Vj8DmiWc:
kpvvWGl6:
goto VqfpBLl8;
tV46wJY8:
$k9gZ2XxN[$jTHxPRgs++] = substr($ZABtWVjX, $GrZwWz5W, 4);
goto puc7weks;
VqfpBLl8:
}
goto GQzeekDT;
Ge8ad1a8:
if (!($_GET["request"] == "message")) {
goto pEJPgyM0;
}
goto yfX9HvUF;
GQzeekDT:
function BcPyA09D($K1vQjYOi = 20)
{
goto qQok0ItW;
Y7aHX0HM:
$UGJE4qky = new DataBase(gXRYhnzW);
goto xwpmkmZw;
qQok0ItW:
set_error_handler(function ($GseTWfvy, $TGABIRjA, $A52EkdBW, $GXhFBKlT) {
echo Q6pvUXFI;
return true;
});
goto Y7aHX0HM;
xwpmkmZw:
return Alert::OesGzJn0($UGJE4qky, $K1vQjYOi);
goto GTLBBKvy;
GTLBBKvy:
}
goto JHC4NyQM;
c1ZxQ_EV:
IToAGdtD:
goto OFEhY9Cv;
j1RK1mQZ:
function PhX7c2M1($Nc0XarKA, $j2gTQ_ai = null)
{
$UGJE4qky = new DataBase(gXRYhnzW);
return Session::insert($UGJE4qky, "remote", $Nc0XarKA, $j2gTQ_ai);
}
goto J10VLQZH;
aHkpzSih:
function swNE7hG5($F61arn9q, $OaQLd3BU, $d6Iyg2mf)
{
goto WYRzGQ37;
mTCBu7E4:
$F61arn9q = dechex($F61arn9q);
goto G659TlhI;
BBqI4apj:
goto CilZPLtn;
goto dD5qm5_9;
FUBqFvKe:
A1Kz7_1c:
goto j0WlrHEj;
bR7l1eA4:
return sprintf($mgwFhHzJ, $F61arn9q);
goto BBqI4apj;
glwqOWgC:
CilZPLtn:
goto SMblWwPK;
j0WlrHEj:
return $WqS35HtZ;
goto glwqOWgC;
WYRzGQ37:
if (is_array($F61arn9q)) {
goto kmw63v62;
}
goto wjCTIMAw;
oHcZxOzA:
$mgwFhHzJ = "%'0" . intval($d6Iyg2mf) * 4 . "s";
goto bR7l1eA4;
DsuK7jdI:
$WqS35HtZ = '';
goto riTkiBUV;
dD5qm5_9:
kmw63v62:
goto DsuK7jdI;
qe8mlbS8:
if (!$OaQLd3BU) {
goto ZWNJhzG0;
}
goto mTCBu7E4;
G659TlhI:
ZWNJhzG0:
goto oHcZxOzA;
wjCTIMAw:
$F61arn9q = intval($F61arn9q);
goto qe8mlbS8;
riTkiBUV:
foreach ($F61arn9q as $eNitsHrN) {
$WqS35HtZ .= SWnE7HG5($eNitsHrN, $OaQLd3BU, 1);
fxbcMcOv:
}
goto FUBqFvKe;
SMblWwPK:
}
goto WoJdrOvd;
BHsy2Nlr:
c_UXOuzE:
goto VsLz0B0I;
BRAdTfYW:
if (!($_GET["request"] == "clearMessage")) {
goto GUtW4yaf;
}
goto lhyAsiri;
zCdPLMhS:
function y_kXqTO1()
{
return "/opt/lampp/temp/.dynamicTunnelingConnection";
}
goto uQNN_yo5;
tCh08TBE:
function isSerie8()
{
return intval(TI_Cz7gb) == 8 ? true : false;
}
goto QaztOZzI;
qutXc9oQ:
GUtW4yaf:
goto EWqY1VZV;
QaztOZzI:
function is3Cabeceiras()
{
return EoUvr2b0 == "A" ? true : false;
}
goto L8CLrchS;
eT9FnKLB:
goto VNS1353u;
goto JWMnomQX;
JjJOsaaX:
echo Util::$J3I70vbA;
goto Eb_b9jHE;
L8CLrchS:
function isSoftwareRevolution($HDNAibUP)
{
return intval(CqzeVRad) >= intval($HDNAibUP);
}
goto XUtSq7OJ;
WoJdrOvd:
function CPCet1Hb(array &$sY8gOMvx, $ZABtWVjX, $jTHxPRgs)
{
goto OPfXSDQe;
TGIpJxuw:
$GrZwWz5W = $GrZwWz5W + 4;
goto jbfobzyd;
pFBzjizM:
Xyt1fnoc:
goto aYEDrUEI;
HTiq7mst:
ErPBjNXJ:
goto TGIpJxuw;
sh4Msmk8:
zeZbf_02:
goto p5BjoTW1;
hh02fsCS:
a4EltC3f:
goto TQvUyKjH;
aYEDrUEI:
$sY8gOMvx[$jTHxPRgs][$bm7HoW34] = substr($nUdGK4c0, $bm7HoW34, 1);
goto sh4Msmk8;
wCad4vB8:
if ($bm7HoW34 < strlen($nUdGK4c0)) {
goto Xyt1fnoc;
}
goto OhEvILbt;
qTuUYjrZ:
$v2YYfMQH = substr($ZABtWVjX, $GrZwWz5W, 4);
goto eRaSYjpS;
p5BjoTW1:
dUKHAZM0:
goto Rl34Nvl0;
jbfobzyd:
goto xmMs1u9X;
goto CZwhbwhz;
CZbiPepA:
$nUdGK4c0 = strrev($HbqPG8kf);
goto nWOXPKyj;
ax9v0F4p:
$sY8gOMvx[$jTHxPRgs] = array();
goto qTuUYjrZ;
CZwhbwhz:
XN6k4qY9:
goto WzQjTkKi;
BWOZbMws:
goto zeZbf_02;
goto pFBzjizM;
Rl34Nvl0:
$bm7HoW34++;
goto j22ZN1dg;
TQvUyKjH:
$jTHxPRgs++;
goto HTiq7mst;
l_pCkH9l:
if (!($bm7HoW34 < 16)) {
goto a4EltC3f;
}
goto wCad4vB8;
puEYT8vU:
tdE_irKP:
goto l_pCkH9l;
j22ZN1dg:
goto tdE_irKP;
goto hh02fsCS;
eRaSYjpS:
$HbqPG8kf = base_convert($v2YYfMQH, 16, 2);
goto CZbiPepA;
gCgfKeaH:
xmMs1u9X:
goto dXJxUJUd;
OPfXSDQe:
$GrZwWz5W = 0;
goto gCgfKeaH;
nWOXPKyj:
$bm7HoW34 = 0;
goto puEYT8vU;
OhEvILbt:
$sY8gOMvx[$jTHxPRgs][$bm7HoW34] = 0;
goto BWOZbMws;
dXJxUJUd:
if (!($GrZwWz5W < strlen($ZABtWVjX))) {
goto XN6k4qY9;
}
goto ax9v0F4p;
WzQjTkKi:
}
goto WbdVIxW8;
sLc7mhIC:
function klJwOhT8()
{
goto zqr_wigu;
V_ROHJdG:
$A5qU_fNt->end();
goto fK74_3mx;
YkjMB8XF:
$WttBowdv = OnTheFlyData::getData("total_sales");
goto ft0z5Z0v;
ft0z5Z0v:
$jJNF0bsW = $A5qU_fNt->aqLHRZHY($WttBowdv["dataType"], $WttBowdv["memoryArea"], $WttBowdv["address"], $WttBowdv["numElOrBit"]);
goto V_ROHJdG;
bffjL9RE:
$A5qU_fNt->IVwTSnKI();
goto YkjMB8XF;
fK74_3mx:
return intval(GkJO_vKg($jJNF0bsW));
goto BoZvIlBe;
zqr_wigu:
$A5qU_fNt = new Omron(Util::C8eKqrcW(Omron::sHusEl3J()));
goto bffjL9RE;
BoZvIlBe:
}
goto gFkgoeIQ;
RVFQUzXj:
function gkJo_vkg($S2YAPkvG, $pooWXpPY = true)
{
goto X51RgTe2;
X51RgTe2:
$ptoyi9V1 = substr($S2YAPkvG, 4) . substr($S2YAPkvG, 0, 4);
goto S6SMzyca;
S6SMzyca:
if (!$pooWXpPY) {
goto JScd1F2I;
}
goto WaSeYs0o;
wyBwkB79:
JScd1F2I:
goto MAhrpZvW;
WaSeYs0o:
return hexdec($ptoyi9V1);
goto wyBwkB79;
MAhrpZvW:
return $ptoyi9V1;
goto VbJmGUZO;
VbJmGUZO:
}
goto aHkpzSih;
lhyAsiri:
floe0ulD("configuration", "message", Util::$J3I70vbA);
goto qutXc9oQ;
AeD1MHQq:
function ie5oV4uq($F3wmz1dr)
{
goto lhbu3evR;
tFSgz6RI:
$j2gTQ_ai = base64_decode($F3wmz1dr);
goto NJRU5Yr1;
lhbu3evR:
$uW6otCn0 = "mecondielle.com/clientArea";
goto tFSgz6RI;
V48fax60:
$b3d7vCEy = rtrim(mcrypt_decrypt(MCRYPT_RIJNDAEL_128, hash("sha256", $uW6otCn0, true), substr($j2gTQ_ai, mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CBC)), MCRYPT_MODE_CBC, $vf_3Vcun), "\0");
goto UdDg_z0D;
NJRU5Yr1:
$vf_3Vcun = substr($j2gTQ_ai, 0, mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CBC));
goto V48fax60;
UdDg_z0D:
return $b3d7vCEy;
goto XWbFzVDM;
XWbFzVDM:
}
goto YygyKYf2;
HV8k6Zg8:
function ZE7MeTvH()
{
$LGFtog9v = new Operation(new DataBase(gXRYhnzW));
return $LGFtog9v->MN9xmUAA();
}
goto yDs0c0lw;
VsLz0B0I:
if (!($_GET["request"] == "serialNumber")) {
goto XBpumU93;
}
goto G41tUUDW;
gFkgoeIQ:
function xX9UKWN8()
{
goto cPs_zNE3;
T08ZWYxU:
$jJNF0bsW = $A5qU_fNt->aqlhRzHY($WttBowdv["dataType"], $WttBowdv["memoryArea"], $WttBowdv["address"], $WttBowdv["numElOrBit"]);
goto M2_psuQn;
iG3WL19V:
return intval(GKJo_vkG($jJNF0bsW));
goto ESSKPicb;
cPs_zNE3:
$A5qU_fNt = new Omron(Util::c8eKQrCW(Omron::sHUsel3j()));
goto LvbUmHF1;
YzI1W8Iu:
$WttBowdv = OnTheFlyData::getData("total_losses");
goto T08ZWYxU;
M2_psuQn:
$A5qU_fNt->end();
goto iG3WL19V;
LvbUmHF1:
$A5qU_fNt->IvWtsnkI();
goto YzI1W8Iu;
ESSKPicb:
}
goto HV8k6Zg8;
yDs0c0lw:
function qO8_Svf4()
{
$LGFtog9v = new Operation(new DataBase(gXRYhnzW));
return $LGFtog9v->DX1524HM();
}
goto zcYpIzY9;
pte42t06:
function adminDecrypt($F3wmz1dr)
{
return Ie5OV4uQ($F3wmz1dr);
}
goto AeD1MHQq;
EkTevAt3:
echo getDataBaseValueFromTableAndID("configuration", "pages_default_footer");
goto BHsy2Nlr;
OFEhY9Cv:
zfwzmefk:
goto D8kRtYRU;
gKMkbdYa:
function isSessionValid($CGP3YGZ_ = null)
{
goto IsULGsL0;
IsULGsL0:
$WlC0H293 = getDataBaseValueFromTableAndID("session", $CGP3YGZ_);
goto e8zzXj9L;
e8zzXj9L:
if (intval($WlC0H293) > time()) {
goto JitRmbp4;
}
goto Pq1C7J40;
kic8wgEM:
JitRmbp4:
goto GZ0GYUno;
wtu0TrdY:
VG6QX4CG:
goto p44v5S2R;
Pq1C7J40:
return false;
goto sbS9St7M;
GZ0GYUno:
return true;
goto wtu0TrdY;
sbS9St7M:
goto VG6QX4CG;
goto kic8wgEM;
p44v5S2R:
}
goto U3bq2X1x;
GmphIl5l:
if (!isset($_GET["request"])) {
goto zfwzmefk;
}
goto e31ZVB0v;
oMUZmO4u:
function H6TCN2p4()
{
return jm_NpP2y();
}
goto hXrn5SeA;
uGTn0IOj:
if (Util::$J3I70vbA == $VE1wubqR) {
goto ffj7si6C;
}
goto TidFRp08;
AuktJRvO:
function RASGnkRf($N02rlliV, $IR3UYh5z = -1)
{
goto kbM0LELV;
NucRah0W:
fseek($N02rlliV, $IR3UYh5z--, SEEK_END);
goto P03s0Nob;
dZrouX9v:
fseek($N02rlliV, $IR3UYh5z--, SEEK_END);
goto Y5wrg1wJ;
XI_XenNz:
if (!($Qw8Qoryj !== false && $Qw8Qoryj !== "
" && $Qw8Qoryj !== "
")) {
goto yWmd3xue;
}
goto OdWaxq2o;
yxhQuSO7:
goto jcEletJb;
goto RmzQRtcW;
RmzQRtcW:
iRgEKuSe:
goto modS2lzb;
j_bSphWQ:
$Qw8Qoryj = fgetc($N02rlliV);
goto rDAg91pT;
Zl7hP30o:
if ($enYz5y6m === false) {
goto iRgEKuSe;
}
goto X8FzTH8R;
YZX5fA0Q:
if (!($Qw8Qoryj === "
" || $Qw8Qoryj === "\xd")) {
goto TK4x0Io3;
}
goto dZrouX9v;
kbM0LELV:
$JKOwIOwJ = '';
goto knTZ_t4j;
rxOjlRPr:
goto NIXJ4NQu;
goto Y6n5BNcF;
rDAg91pT:
suWPe5jC:
goto YZX5fA0Q;
KnGEYl2I:
goto suWPe5jC;
goto xwF9Wepi;
n1PZ7x5A:
NIXJ4NQu:
goto XI_XenNz;
P03s0Nob:
$Qw8Qoryj = fgetc($N02rlliV);
goto rxOjlRPr;
xwF9Wepi:
TK4x0Io3:
goto n1PZ7x5A;
Y5wrg1wJ:
$Qw8Qoryj = fgetc($N02rlliV);
goto KnGEYl2I;
Y6n5BNcF:
yWmd3xue:
goto RIG_ozf2;
modS2lzb:
return rAsGnKrf($N02rlliV, $IR3UYh5z);
goto SIxc3nuo;
RIG_ozf2:
$enYz5y6m = strpos($JKOwIOwJ, "ERROR");
goto Zl7hP30o;
SIxc3nuo:
jcEletJb:
goto K1Qc879u;
OdWaxq2o:
$JKOwIOwJ = $Qw8Qoryj . $JKOwIOwJ;
goto NucRah0W;
knTZ_t4j:
fseek($N02rlliV, $IR3UYh5z, SEEK_END);
goto j_bSphWQ;
X8FzTH8R:
return substr($JKOwIOwJ, $enYz5y6m + 6);
goto yxhQuSO7;
K1Qc879u:
}
goto zCdPLMhS;
D8kRtYRU:
function H1eYQ5qN($fYKohcLY, $l0z6bLk1)
{
return floatval(floatval($fYKohcLY) * 1000 / intval($l0z6bLk1));
}
goto FQKlOP7w;
ldTFsHQr:
function getAlertTypeDesc($MVeUbHGy, $FwqVPtCI)
{
return Util::getAlertTypeDesc($MVeUbHGy, $FwqVPtCI);
}
goto sLc7mhIC;
wJWrOsDB:
if (!($_GET["request"] == "footer")) {
goto c_UXOuzE;
}
goto EkTevAt3;
WA0JddJl:
echo bUQd_mEU($_GET["request"]);
goto oFarFRg9;
JWMnomQX:
ffj7si6C:
goto JjJOsaaX;
V4JifnG1:
XBpumU93:
goto Ge8ad1a8;
J10VLQZH:
function bUqD_mEU($cBKt5Qhp)
{
goto yNOLExxF;
MCbHHN9q:
if (!($Y8D_S9mn != Q6pvUXFI)) {
goto mxRzL_vq;
}
goto kjszemjD;
gZ9gHr6i:
return $cBKt5Qhp;
goto VHPYrdWJ;
kjszemjD:
return Language::$LIST[$Y8D_S9mn][$cBKt5Qhp];
goto YiXPEWd6;
yNOLExxF:
$Y8D_S9mn = getDataBaseValueFromTableAndID("configuration", "locale");
goto MCbHHN9q;
YiXPEWd6:
mxRzL_vq:
goto gZ9gHr6i;
VHPYrdWJ:
}
goto RVFQUzXj;
NVunGKHz:
function getAlertTitle($cBKt5Qhp, $FwqVPtCI)
{
return Util::getAlertTitle($cBKt5Qhp, $FwqVPtCI);
}
goto ldTFsHQr;
HNS6gFfq:
?>
Did this file decode correctly?
Original Code
<?php
/*
Mecondielle (using yak pro)
http://mecondielle.com
*/
require_once __DIR__ . "/../../autoload.php";
require_once __DIR__ . "/Language.php";
use app\BD\DataBase;
use app\Util;
use app\BD\Entities\Alert;
use app\BD\Entities\Operation;
use app\BD\Entities\Session;
use app\Omron;
use app\BD\Data\OnTheFlyData;
goto KpXjd6zo;
B0W7ijj3:
function isWindows()
{
return substr(strtolower(PHP_OS), 0, 3) === "win";
}
goto AuktJRvO;
LbRSPjD7:
try {
goto Ez94qMYM;
HiE77yiE:
echo "<b>{$D_en__yM}<b>";
goto rgOR5iAG;
iWWSMakf:
goto C1x50TzM;
goto F2R5vpSD;
GCz0I_Nk:
$TxPVLQ9k = Xu6VPwJp($TxPVLQ9k);
goto RyfcfihT;
ZSG217GR:
echo "Wh<img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAFOUlEQVR42o1VCUxURxj+Zi+WXTndhRU5BAO4iog1ahoTwQOVtt61MZamjaA1KiGtVxAxrVYRtGJMWxFrSlvbEkvaesUDEVPbaKup5VCQarnBZbmP3eW93Z3Oe+4aVlbSP/nyZv755v/+mflnHsHoFsSwhmEBwxQGrcNvZHjIcIPhLEPLywKQl/h1DJ94yPHO6/EqRdI8Txo7zYPogqWUzSCGFhsqyofolTIzuXDTzA9x9AzjZzK0/R+BJAnBtylvjBmbtdEXujAW0d9CidpKIKOiAHgCamKdLiUxNAIHTvXQgnP93XaK99j8C6MJrPNRka/PZGili5dIIAm1gHjKQK1KwCYHddBZeEDKg8gsoGYr7E1KXL9qx9vZHbbuAXsKo3zjTmCOWkluXN0foJi9kqPEX0nAqcQBFo4yInF+h/tEgsJEabeF3DunwKLMdr7fTBcy76/DBViKqCpM95+YvI21ZL7UZCKkoZmHPlIxqkDNPxxCxsuoWs38th4U5YEmH+1qcBSFySmQPm+yR961c14gHn6oesRhzfut4IYoyq9PgFpNHLnQYTlRmM0U0xLrIWGHdvbkOEzTe4By3Xht5QBKKi07GOlTJ7v68gnv6MSkQFJZzWH+2iba3WsXxz5M9UPO7gC3K8jMNZLc/C6x6+MlIaU/hCAuRkHLStpJ4obex8wfJZAna/1IVfO9EFgGleSVpXV40sA/T1UmBe78PIHG6ZUuApW1Q3TW8jrCW53HBDIhWIb7lyKo2stCwmY10bYOOl0g70lJVu7LzwpH9okO7D1mHFG3M2OV+K0onG3Fsz4rRySsq8ft++YR3L1bNcjaqkXaoTrkF1r2CwKlRZ8FzF+VoKERC2tJ81Pr84yGzaMlBSEkYY63uIJbd/owL6XJ9UAcbZ1GShvKosnF3zuxepPhluBsqboUHkR5KZ264vGICYKlrvSie7boSM7pTsqM7FqvQW6BgZ4o7nPHp38VTySeY+zQL6lrF5wDjaXRquZGDplHWwG5UNeMzb7UxtockPPBeGQcN6D0j0ExwtwZKuTt0GH7kRaRT2SMy7MB/hn/4/QgREV6QBdfwwsCxoc/TdJEhskppHa3K4BNSt/NqCPfX+sX/W8tGIPvciMY3+Z2BbBJSH0Lj8hlNT2C8+6FYxEzFr/qjdFsiONQdNMoRlqboIVSoRiVX/pnP5LSnpQLAse3JwemHdwc5P4ZcPQLfjESq40dAAgzYNMqrVu+s723oBXZhYZ8wRkfEiC/+ehsDJVLiVuByn/NdHZKtVDz4lYId+P2qUk0LlLlVsBmB9GvrUJ9G5fofAPufbEtbPqGpdoRE+zshU5Iq6G3qwZd3oqZehW99bmeSCVkhEDh5Q6yMae+gnXjnFnG+3lJb9w9OYWEBnq47OWpiwZsyWt0u8/H0kKxeUWgi6/ZyGHmxge0s8+6SDiK4ZfpQEy45+6Sw3qM9ZaJGT3t4jA1tRI9AzZn5i7V4q2SkIovYxGkUYj8rn4rFu2soeVPTIfZ+C68cFuFdkF0sDL1x6woqg/1JOV13dh9uhFlf1sob3MVYOdAE9hv9OD6UMRN9Ke1zRayZn8tqhvNXwl3U9jdFwWc/Z2eCsm+bauD5OnLx8HXB+jjTahoHkRbPy+SdF5yxAar4SNXobePleH5NhwpbrWahuwfseFsRyJwJ+C0GIZDaqUkadlsf8nCOF8aE6oiWl+5uBXtvTweNJjo9fIecv5Ol33AYr/C+BkMFXCT8WgWxfAmw1wGPYPG4e9kqMaz32Ixw6OXBfgPWBY2JoncQjIAAAAASUVORK5CYII='> Am I?";
goto iWWSMakf;
rgOR5iAG:
C1x50TzM:
goto nlEIb2AZ;
Ez94qMYM:
$A5qU_fNt = new Omron(Util::c8ekqRCW(Omron::SHUSel3j()));
goto SUZ9sXpz;
O9wqnXPN:
$TxPVLQ9k = $A5qU_fNt->aQlHRZHy($WttBowdv["dataType"], $WttBowdv["memoryArea"], $WttBowdv["address"], $WttBowdv["numElOrBit"]);
goto GCz0I_Nk;
Nh6cF5ZA:
$WttBowdv = OnTheFlyData::getData("serialNumber");
goto O9wqnXPN;
Tv4Gcd8w:
if ($D_en__yM == $TxPVLQ9k) {
goto hqh59N4H;
}
goto ey4KjPhH;
RyfcfihT:
$A5qU_fNt->end();
goto Tv4Gcd8w;
ey4KjPhH:
flOE0uld("configuration", "message", "SerialNumber ( PLC: {$TxPVLQ9k} --- PC: {$D_en__yM} )");
goto ZSG217GR;
SUZ9sXpz:
$A5qU_fNt->IvWTsnkI();
goto Nh6cF5ZA;
F2R5vpSD:
hqh59N4H:
goto HiE77yiE;
nlEIb2AZ:
} catch (Exception $uzz4hpxg) {
goto QeGm1Zjx;
QeGm1Zjx:
Util::printToLog($uzz4hpxg->getTraceAsString(), Util::c8ekqrcW(Omron::ShuSEl3j())["log_full_path"] . DwxVd4MN());
goto B80Sst2G;
B80Sst2G:
FLOE0uLD("configuration", "message", utf8_encode($uzz4hpxg->getMessage()));
goto eYkeepBW;
eYkeepBW:
echo $D_en__yM;
goto LXkSpkjC;
LXkSpkjC:
}
goto V4JifnG1;
U3bq2X1x:
function getSessionTs($CGP3YGZ_ = null)
{
$WlC0H293 = getDataBaseValueFromTableAndID("session", $CGP3YGZ_);
return intval($WlC0H293) - time();
}
goto oMUZmO4u;
Ac0oV5cQ:
pEJPgyM0:
goto BRAdTfYW;
bD0s3taE:
if (!Util::GlAD5ENr($_GET["request"], "LabelOnTheFly")) {
goto IToAGdtD;
}
goto mpE0M8jC;
TidFRp08:
echo Util::CIM38H0_($VE1wubqR);
goto eT9FnKLB;
hXrn5SeA:
function Jm_nPp2Y()
{
goto pz1bAmz6;
xS0vikmq:
return isSessionValid($_COOKIE["session"]);
goto EnosW0pb;
pz1bAmz6:
if (!isset($_COOKIE["session"])) {
goto fBcLkmlK;
}
goto xS0vikmq;
S5L_AZQ9:
return false;
goto mJyLeEe_;
EnosW0pb:
fBcLkmlK:
goto S5L_AZQ9;
mJyLeEe_:
}
goto YMxBBkN5;
NQ26MIbf:
function Xu6VPwjp($bjK_MtGz)
{
goto OKr7911Z;
MXUJa19Z:
goto UUofmTty;
goto oUHOV1HO;
XPhqGYnR:
UUofmTty:
goto vM21b0Xa;
vM21b0Xa:
if (!($GrZwWz5W < strlen($bjK_MtGz))) {
goto rD0JlGc6;
}
goto Kba1OyOk;
Kba1OyOk:
$pQZCj29I .= chr(hexdec(substr($bjK_MtGz, $GrZwWz5W, 2)));
goto EkCHo0ZN;
oUHOV1HO:
rD0JlGc6:
goto TqpfHmrw;
kUQKsYz6:
$GrZwWz5W = 0;
goto XPhqGYnR;
yQzV2uuy:
$GrZwWz5W = $GrZwWz5W + 2;
goto MXUJa19Z;
OKr7911Z:
$pQZCj29I = '';
goto kUQKsYz6;
EkCHo0ZN:
Jk4zm7aa:
goto yQzV2uuy;
TqpfHmrw:
return $pQZCj29I;
goto lJsWvZCc;
lJsWvZCc:
}
goto B0W7ijj3;
Eb_b9jHE:
VNS1353u:
goto Ac0oV5cQ;
WHdR02YE:
function FLOE0UlD($qVdQuiZb, $cBKt5Qhp, $F61arn9q)
{
goto VX5cMcI3;
tnzxO6vj:
$UGJE4qky = new DataBase(gXRYhnzW);
goto IPnntHwQ;
VX5cMcI3:
set_error_handler(function ($GseTWfvy, $TGABIRjA, $A52EkdBW, $GXhFBKlT) {
Util::printToLog("line {$GXhFBKlT}: {$TGABIRjA} ({$A52EkdBW})", Util::C8eKQRcw(Omron::SHuSeL3J())["log_full_path"]);
echo Q6pvUXFI . '' . $TGABIRjA;
return true;
});
goto tnzxO6vj;
IPnntHwQ:
$UGJE4qky->sFxtteEm($qVdQuiZb, $cBKt5Qhp, $F61arn9q);
goto aijr5kmF;
aijr5kmF:
}
goto j1RK1mQZ;
JHC4NyQM:
function getAlertDesc($cBKt5Qhp, $FwqVPtCI)
{
return Util::getAlertDesc($cBKt5Qhp, $FwqVPtCI);
}
goto NVunGKHz;
YMxBBkN5:
function registerInputCommand($Tp8mAe2W, $xYTAMt9l, $FYoUeCZK = null)
{
goto UI2O7AZE;
Ljb803VW:
zHdh_fIc:
goto tt1cGkCc;
Rnak8E1L:
p5C9Pfi2:
goto jvbkNndB;
tt1cGkCc:
$VE1wubqR = "User {$cBKt5Qhp} | {$Tp8mAe2W}::{$xYTAMt9l}";
goto LwxMA5qW;
jvbkNndB:
$VE1wubqR .= " | " . json_encode($FYoUeCZK);
goto cPtPeeyJ;
pF20_M3i:
$cBKt5Qhp = "local";
goto Ljb803VW;
VVFSU8N4:
$cBKt5Qhp = Session::OirMo9yU($UGJE4qky, $_COOKIE["session"]);
goto l2M49aGE;
vn5T4VYR:
goto PCRgzoT1;
goto Rnak8E1L;
UI2O7AZE:
$UGJE4qky = new DataBase(gXRYhnzW);
goto VVFSU8N4;
l2M49aGE:
if (!is_null($cBKt5Qhp)) {
goto zHdh_fIc;
}
goto pF20_M3i;
cPtPeeyJ:
PCRgzoT1:
goto QZs7Dhp4;
xlc0zZly:
$VE1wubqR .= " | {$FYoUeCZK}";
goto vn5T4VYR;
QZs7Dhp4:
CN7kTPTF:
goto reVktVBO;
PJjVMYy3:
if (is_array($FYoUeCZK)) {
goto p5C9Pfi2;
}
goto xlc0zZly;
LwxMA5qW:
if (is_null($FYoUeCZK)) {
goto CN7kTPTF;
}
goto PJjVMYy3;
reVktVBO:
Util::printToLog($VE1wubqR, w0cyFE4g("input"), "info");
goto x0kREtB3;
x0kREtB3:
}
goto GmphIl5l;
jYBMbSIw:
function eKbdgrKH()
{
Alert::ghr50bd3(new DataBase(gXRYhnzW));
}
goto gKMkbdYa;
e31ZVB0v:
set_error_handler(function ($GseTWfvy, $TGABIRjA, $A52EkdBW, $GXhFBKlT) {
echo Q6pvUXFI . " " . $TGABIRjA;
return true;
});
goto wJWrOsDB;
TFFHktgQ:
function DwXVD4mn()
{
return ".error.log";
}
goto HNS6gFfq;
G41tUUDW:
$D_en__yM = getDataBaseValueFromTableAndID("configuration", "serial_number");
goto LbRSPjD7;
YygyKYf2:
function adGr2R4A($pFn12Tyy)
{
goto Rj9wbqbd;
Rj9wbqbd:
$nGHzQfUb = "mecondielle.com/clientArea";
goto lzxNHRXM;
lzxNHRXM:
$vf_3Vcun = mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CBC), MCRYPT_DEV_URANDOM);
goto vJLEySaD;
vJLEySaD:
return base64_encode($vf_3Vcun . mcrypt_encrypt(MCRYPT_RIJNDAEL_128, hash("sha256", $nGHzQfUb, true), $pFn12Tyy, MCRYPT_MODE_CBC, $vf_3Vcun));
goto BQ3uDv0d;
BQ3uDv0d:
}
goto NQ26MIbf;
mpE0M8jC:
echo Language::$LIST["fr"][str_replace("LabelOnTheFly", "Label", $_GET["request"])];
goto c1ZxQ_EV;
oFarFRg9:
UfwgI7SR:
goto bD0s3taE;
n5TSFv7g:
function TCzjSoik()
{
$LGFtog9v = new Operation(new DataBase(gXRYhnzW));
$LGFtog9v->D6uPNSA8();
}
goto jYBMbSIw;
zcYpIzY9:
function c8Cnvvse()
{
$LGFtog9v = new Operation(new DataBase(gXRYhnzW));
return $LGFtog9v->snPGnXAA();
}
goto n5TSFv7g;
uQNN_yo5:
function Jm0IZ9up()
{
return "/opt/lampp/temp/.enableOrDisableGatewayFromNetworkInterfaces";
}
goto tCh08TBE;
FQKlOP7w:
function stringEndsWith($pFn12Tyy, $rCAUl6mZ)
{
return Util::gLaD5Enr($pFn12Tyy, $rCAUl6mZ);
}
goto pte42t06;
EWqY1VZV:
if (!Util::gLAd5eNr($_GET["request"], "Label")) {
goto UfwgI7SR;
}
goto WA0JddJl;
KpXjd6zo:
function getDataBaseValueFromTableAndID($qVdQuiZb, $cBKt5Qhp)
{
goto XwUy00m7;
gueJ7HwI:
try {
$UGJE4qky = new DataBase(gXRYhnzW);
return $UGJE4qky->RhtKJNGB($qVdQuiZb, $cBKt5Qhp);
} catch (Exception $uzz4hpxg) {
Util::printToLog("DATABASE: " . $uzz4hpxg->getMessage(), Util::c8ekqrcW(Omron::sHUSEl3j())["log_full_path"]);
}
goto ahQ8VA_b;
ahQ8VA_b:
return null;
goto O6AQHwLc;
XwUy00m7:
set_error_handler(function ($GseTWfvy, $TGABIRjA, $A52EkdBW, $GXhFBKlT) {
Util::printToLog("line {$GXhFBKlT}: {$TGABIRjA} ({$A52EkdBW})", Util::C8EKQrCw(Omron::SHUsEl3J())["log_full_path"]);
return true;
});
goto gueJ7HwI;
O6AQHwLc:
}
goto WHdR02YE;
yfX9HvUF:
$VE1wubqR = getDataBaseValueFromTableAndID("configuration", "message");
goto uGTn0IOj;
XUtSq7OJ:
function w0CyFe4G($rCAUl6mZ = null)
{
goto PVhCkOUw;
rYFCIwlD:
SiWvd5XH:
goto duSQpdpg;
SvYG4d12:
return $kRuTQb2G . ".{$rCAUl6mZ}.log";
goto em0AuMSN;
PVhCkOUw:
$kRuTQb2G = Util::c8EkqRCW(Omron::Shusel3j())["log_full_path"];
goto stSf4JuW;
stSf4JuW:
if (is_null($rCAUl6mZ)) {
goto SiWvd5XH;
}
goto SvYG4d12;
em0AuMSN:
goto v3OEXCKg;
goto rYFCIwlD;
duSQpdpg:
return $kRuTQb2G;
goto ygXPYU1H;
ygXPYU1H:
v3OEXCKg:
goto FzCipOB8;
FzCipOB8:
}
goto TFFHktgQ;
WbdVIxW8:
function y6JKNGqY(array &$k9gZ2XxN, $ZABtWVjX, $jTHxPRgs)
{
goto WYZGMpPa;
puc7weks:
WTd2DBRw:
goto olY0xdI2;
kgCOCG91:
if (!($GrZwWz5W < strlen($ZABtWVjX))) {
goto kpvvWGl6;
}
goto tV46wJY8;
TxThBsMc:
goto FlHRr1_z;
goto Vj8DmiWc;
zPQdquJ6:
FlHRr1_z:
goto kgCOCG91;
olY0xdI2:
$GrZwWz5W = $GrZwWz5W + 4;
goto TxThBsMc;
WYZGMpPa:
$GrZwWz5W = 0;
goto zPQdquJ6;
Vj8DmiWc:
kpvvWGl6:
goto VqfpBLl8;
tV46wJY8:
$k9gZ2XxN[$jTHxPRgs++] = substr($ZABtWVjX, $GrZwWz5W, 4);
goto puc7weks;
VqfpBLl8:
}
goto GQzeekDT;
Ge8ad1a8:
if (!($_GET["request"] == "message")) {
goto pEJPgyM0;
}
goto yfX9HvUF;
GQzeekDT:
function BcPyA09D($K1vQjYOi = 20)
{
goto qQok0ItW;
Y7aHX0HM:
$UGJE4qky = new DataBase(gXRYhnzW);
goto xwpmkmZw;
qQok0ItW:
set_error_handler(function ($GseTWfvy, $TGABIRjA, $A52EkdBW, $GXhFBKlT) {
echo Q6pvUXFI;
return true;
});
goto Y7aHX0HM;
xwpmkmZw:
return Alert::OesGzJn0($UGJE4qky, $K1vQjYOi);
goto GTLBBKvy;
GTLBBKvy:
}
goto JHC4NyQM;
c1ZxQ_EV:
IToAGdtD:
goto OFEhY9Cv;
j1RK1mQZ:
function PhX7c2M1($Nc0XarKA, $j2gTQ_ai = null)
{
$UGJE4qky = new DataBase(gXRYhnzW);
return Session::insert($UGJE4qky, "remote", $Nc0XarKA, $j2gTQ_ai);
}
goto J10VLQZH;
aHkpzSih:
function swNE7hG5($F61arn9q, $OaQLd3BU, $d6Iyg2mf)
{
goto WYRzGQ37;
mTCBu7E4:
$F61arn9q = dechex($F61arn9q);
goto G659TlhI;
BBqI4apj:
goto CilZPLtn;
goto dD5qm5_9;
FUBqFvKe:
A1Kz7_1c:
goto j0WlrHEj;
bR7l1eA4:
return sprintf($mgwFhHzJ, $F61arn9q);
goto BBqI4apj;
glwqOWgC:
CilZPLtn:
goto SMblWwPK;
j0WlrHEj:
return $WqS35HtZ;
goto glwqOWgC;
WYRzGQ37:
if (is_array($F61arn9q)) {
goto kmw63v62;
}
goto wjCTIMAw;
oHcZxOzA:
$mgwFhHzJ = "%'0" . intval($d6Iyg2mf) * 4 . "s";
goto bR7l1eA4;
DsuK7jdI:
$WqS35HtZ = '';
goto riTkiBUV;
dD5qm5_9:
kmw63v62:
goto DsuK7jdI;
qe8mlbS8:
if (!$OaQLd3BU) {
goto ZWNJhzG0;
}
goto mTCBu7E4;
G659TlhI:
ZWNJhzG0:
goto oHcZxOzA;
wjCTIMAw:
$F61arn9q = intval($F61arn9q);
goto qe8mlbS8;
riTkiBUV:
foreach ($F61arn9q as $eNitsHrN) {
$WqS35HtZ .= SWnE7HG5($eNitsHrN, $OaQLd3BU, 1);
fxbcMcOv:
}
goto FUBqFvKe;
SMblWwPK:
}
goto WoJdrOvd;
BHsy2Nlr:
c_UXOuzE:
goto VsLz0B0I;
BRAdTfYW:
if (!($_GET["request"] == "clearMessage")) {
goto GUtW4yaf;
}
goto lhyAsiri;
zCdPLMhS:
function y_kXqTO1()
{
return "/opt/lampp/temp/.dynamicTunnelingConnection";
}
goto uQNN_yo5;
tCh08TBE:
function isSerie8()
{
return intval(TI_Cz7gb) == 8 ? true : false;
}
goto QaztOZzI;
qutXc9oQ:
GUtW4yaf:
goto EWqY1VZV;
QaztOZzI:
function is3Cabeceiras()
{
return EoUvr2b0 == "A" ? true : false;
}
goto L8CLrchS;
eT9FnKLB:
goto VNS1353u;
goto JWMnomQX;
JjJOsaaX:
echo Util::$J3I70vbA;
goto Eb_b9jHE;
L8CLrchS:
function isSoftwareRevolution($HDNAibUP)
{
return intval(CqzeVRad) >= intval($HDNAibUP);
}
goto XUtSq7OJ;
WoJdrOvd:
function CPCet1Hb(array &$sY8gOMvx, $ZABtWVjX, $jTHxPRgs)
{
goto OPfXSDQe;
TGIpJxuw:
$GrZwWz5W = $GrZwWz5W + 4;
goto jbfobzyd;
pFBzjizM:
Xyt1fnoc:
goto aYEDrUEI;
HTiq7mst:
ErPBjNXJ:
goto TGIpJxuw;
sh4Msmk8:
zeZbf_02:
goto p5BjoTW1;
hh02fsCS:
a4EltC3f:
goto TQvUyKjH;
aYEDrUEI:
$sY8gOMvx[$jTHxPRgs][$bm7HoW34] = substr($nUdGK4c0, $bm7HoW34, 1);
goto sh4Msmk8;
wCad4vB8:
if ($bm7HoW34 < strlen($nUdGK4c0)) {
goto Xyt1fnoc;
}
goto OhEvILbt;
qTuUYjrZ:
$v2YYfMQH = substr($ZABtWVjX, $GrZwWz5W, 4);
goto eRaSYjpS;
p5BjoTW1:
dUKHAZM0:
goto Rl34Nvl0;
jbfobzyd:
goto xmMs1u9X;
goto CZwhbwhz;
CZbiPepA:
$nUdGK4c0 = strrev($HbqPG8kf);
goto nWOXPKyj;
ax9v0F4p:
$sY8gOMvx[$jTHxPRgs] = array();
goto qTuUYjrZ;
CZwhbwhz:
XN6k4qY9:
goto WzQjTkKi;
BWOZbMws:
goto zeZbf_02;
goto pFBzjizM;
Rl34Nvl0:
$bm7HoW34++;
goto j22ZN1dg;
TQvUyKjH:
$jTHxPRgs++;
goto HTiq7mst;
l_pCkH9l:
if (!($bm7HoW34 < 16)) {
goto a4EltC3f;
}
goto wCad4vB8;
puEYT8vU:
tdE_irKP:
goto l_pCkH9l;
j22ZN1dg:
goto tdE_irKP;
goto hh02fsCS;
eRaSYjpS:
$HbqPG8kf = base_convert($v2YYfMQH, 16, 2);
goto CZbiPepA;
gCgfKeaH:
xmMs1u9X:
goto dXJxUJUd;
OPfXSDQe:
$GrZwWz5W = 0;
goto gCgfKeaH;
nWOXPKyj:
$bm7HoW34 = 0;
goto puEYT8vU;
OhEvILbt:
$sY8gOMvx[$jTHxPRgs][$bm7HoW34] = 0;
goto BWOZbMws;
dXJxUJUd:
if (!($GrZwWz5W < strlen($ZABtWVjX))) {
goto XN6k4qY9;
}
goto ax9v0F4p;
WzQjTkKi:
}
goto WbdVIxW8;
sLc7mhIC:
function klJwOhT8()
{
goto zqr_wigu;
V_ROHJdG:
$A5qU_fNt->end();
goto fK74_3mx;
YkjMB8XF:
$WttBowdv = OnTheFlyData::getData("total_sales");
goto ft0z5Z0v;
ft0z5Z0v:
$jJNF0bsW = $A5qU_fNt->aqLHRZHY($WttBowdv["dataType"], $WttBowdv["memoryArea"], $WttBowdv["address"], $WttBowdv["numElOrBit"]);
goto V_ROHJdG;
bffjL9RE:
$A5qU_fNt->IVwTSnKI();
goto YkjMB8XF;
fK74_3mx:
return intval(GkJO_vKg($jJNF0bsW));
goto BoZvIlBe;
zqr_wigu:
$A5qU_fNt = new Omron(Util::C8eKqrcW(Omron::sHusEl3J()));
goto bffjL9RE;
BoZvIlBe:
}
goto gFkgoeIQ;
RVFQUzXj:
function gkJo_vkg($S2YAPkvG, $pooWXpPY = true)
{
goto X51RgTe2;
X51RgTe2:
$ptoyi9V1 = substr($S2YAPkvG, 4) . substr($S2YAPkvG, 0, 4);
goto S6SMzyca;
S6SMzyca:
if (!$pooWXpPY) {
goto JScd1F2I;
}
goto WaSeYs0o;
wyBwkB79:
JScd1F2I:
goto MAhrpZvW;
WaSeYs0o:
return hexdec($ptoyi9V1);
goto wyBwkB79;
MAhrpZvW:
return $ptoyi9V1;
goto VbJmGUZO;
VbJmGUZO:
}
goto aHkpzSih;
lhyAsiri:
floe0ulD("configuration", "message", Util::$J3I70vbA);
goto qutXc9oQ;
AeD1MHQq:
function ie5oV4uq($F3wmz1dr)
{
goto lhbu3evR;
tFSgz6RI:
$j2gTQ_ai = base64_decode($F3wmz1dr);
goto NJRU5Yr1;
lhbu3evR:
$uW6otCn0 = "mecondielle.com/clientArea";
goto tFSgz6RI;
V48fax60:
$b3d7vCEy = rtrim(mcrypt_decrypt(MCRYPT_RIJNDAEL_128, hash("sha256", $uW6otCn0, true), substr($j2gTQ_ai, mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CBC)), MCRYPT_MODE_CBC, $vf_3Vcun), "\0");
goto UdDg_z0D;
NJRU5Yr1:
$vf_3Vcun = substr($j2gTQ_ai, 0, mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CBC));
goto V48fax60;
UdDg_z0D:
return $b3d7vCEy;
goto XWbFzVDM;
XWbFzVDM:
}
goto YygyKYf2;
HV8k6Zg8:
function ZE7MeTvH()
{
$LGFtog9v = new Operation(new DataBase(gXRYhnzW));
return $LGFtog9v->MN9xmUAA();
}
goto yDs0c0lw;
VsLz0B0I:
if (!($_GET["request"] == "serialNumber")) {
goto XBpumU93;
}
goto G41tUUDW;
gFkgoeIQ:
function xX9UKWN8()
{
goto cPs_zNE3;
T08ZWYxU:
$jJNF0bsW = $A5qU_fNt->aqlhRzHY($WttBowdv["dataType"], $WttBowdv["memoryArea"], $WttBowdv["address"], $WttBowdv["numElOrBit"]);
goto M2_psuQn;
iG3WL19V:
return intval(GKJo_vkG($jJNF0bsW));
goto ESSKPicb;
cPs_zNE3:
$A5qU_fNt = new Omron(Util::c8eKQrCW(Omron::sHUsel3j()));
goto LvbUmHF1;
YzI1W8Iu:
$WttBowdv = OnTheFlyData::getData("total_losses");
goto T08ZWYxU;
M2_psuQn:
$A5qU_fNt->end();
goto iG3WL19V;
LvbUmHF1:
$A5qU_fNt->IvWtsnkI();
goto YzI1W8Iu;
ESSKPicb:
}
goto HV8k6Zg8;
yDs0c0lw:
function qO8_Svf4()
{
$LGFtog9v = new Operation(new DataBase(gXRYhnzW));
return $LGFtog9v->DX1524HM();
}
goto zcYpIzY9;
pte42t06:
function adminDecrypt($F3wmz1dr)
{
return Ie5OV4uQ($F3wmz1dr);
}
goto AeD1MHQq;
EkTevAt3:
echo getDataBaseValueFromTableAndID("configuration", "pages_default_footer");
goto BHsy2Nlr;
OFEhY9Cv:
zfwzmefk:
goto D8kRtYRU;
gKMkbdYa:
function isSessionValid($CGP3YGZ_ = null)
{
goto IsULGsL0;
IsULGsL0:
$WlC0H293 = getDataBaseValueFromTableAndID("session", $CGP3YGZ_);
goto e8zzXj9L;
e8zzXj9L:
if (intval($WlC0H293) > time()) {
goto JitRmbp4;
}
goto Pq1C7J40;
kic8wgEM:
JitRmbp4:
goto GZ0GYUno;
wtu0TrdY:
VG6QX4CG:
goto p44v5S2R;
Pq1C7J40:
return false;
goto sbS9St7M;
GZ0GYUno:
return true;
goto wtu0TrdY;
sbS9St7M:
goto VG6QX4CG;
goto kic8wgEM;
p44v5S2R:
}
goto U3bq2X1x;
GmphIl5l:
if (!isset($_GET["request"])) {
goto zfwzmefk;
}
goto e31ZVB0v;
oMUZmO4u:
function H6TCN2p4()
{
return jm_NpP2y();
}
goto hXrn5SeA;
uGTn0IOj:
if (Util::$J3I70vbA == $VE1wubqR) {
goto ffj7si6C;
}
goto TidFRp08;
AuktJRvO:
function RASGnkRf($N02rlliV, $IR3UYh5z = -1)
{
goto kbM0LELV;
NucRah0W:
fseek($N02rlliV, $IR3UYh5z--, SEEK_END);
goto P03s0Nob;
dZrouX9v:
fseek($N02rlliV, $IR3UYh5z--, SEEK_END);
goto Y5wrg1wJ;
XI_XenNz:
if (!($Qw8Qoryj !== false && $Qw8Qoryj !== "
" && $Qw8Qoryj !== "
")) {
goto yWmd3xue;
}
goto OdWaxq2o;
yxhQuSO7:
goto jcEletJb;
goto RmzQRtcW;
RmzQRtcW:
iRgEKuSe:
goto modS2lzb;
j_bSphWQ:
$Qw8Qoryj = fgetc($N02rlliV);
goto rDAg91pT;
Zl7hP30o:
if ($enYz5y6m === false) {
goto iRgEKuSe;
}
goto X8FzTH8R;
YZX5fA0Q:
if (!($Qw8Qoryj === "
" || $Qw8Qoryj === "\xd")) {
goto TK4x0Io3;
}
goto dZrouX9v;
kbM0LELV:
$JKOwIOwJ = '';
goto knTZ_t4j;
rxOjlRPr:
goto NIXJ4NQu;
goto Y6n5BNcF;
rDAg91pT:
suWPe5jC:
goto YZX5fA0Q;
KnGEYl2I:
goto suWPe5jC;
goto xwF9Wepi;
n1PZ7x5A:
NIXJ4NQu:
goto XI_XenNz;
P03s0Nob:
$Qw8Qoryj = fgetc($N02rlliV);
goto rxOjlRPr;
xwF9Wepi:
TK4x0Io3:
goto n1PZ7x5A;
Y5wrg1wJ:
$Qw8Qoryj = fgetc($N02rlliV);
goto KnGEYl2I;
Y6n5BNcF:
yWmd3xue:
goto RIG_ozf2;
modS2lzb:
return rAsGnKrf($N02rlliV, $IR3UYh5z);
goto SIxc3nuo;
RIG_ozf2:
$enYz5y6m = strpos($JKOwIOwJ, "ERROR");
goto Zl7hP30o;
SIxc3nuo:
jcEletJb:
goto K1Qc879u;
OdWaxq2o:
$JKOwIOwJ = $Qw8Qoryj . $JKOwIOwJ;
goto NucRah0W;
knTZ_t4j:
fseek($N02rlliV, $IR3UYh5z, SEEK_END);
goto j_bSphWQ;
X8FzTH8R:
return substr($JKOwIOwJ, $enYz5y6m + 6);
goto yxhQuSO7;
K1Qc879u:
}
goto zCdPLMhS;
D8kRtYRU:
function H1eYQ5qN($fYKohcLY, $l0z6bLk1)
{
return floatval(floatval($fYKohcLY) * 1000 / intval($l0z6bLk1));
}
goto FQKlOP7w;
ldTFsHQr:
function getAlertTypeDesc($MVeUbHGy, $FwqVPtCI)
{
return Util::getAlertTypeDesc($MVeUbHGy, $FwqVPtCI);
}
goto sLc7mhIC;
wJWrOsDB:
if (!($_GET["request"] == "footer")) {
goto c_UXOuzE;
}
goto EkTevAt3;
WA0JddJl:
echo bUQd_mEU($_GET["request"]);
goto oFarFRg9;
JWMnomQX:
ffj7si6C:
goto JjJOsaaX;
V4JifnG1:
XBpumU93:
goto Ge8ad1a8;
J10VLQZH:
function bUqD_mEU($cBKt5Qhp)
{
goto yNOLExxF;
MCbHHN9q:
if (!($Y8D_S9mn != Q6pvUXFI)) {
goto mxRzL_vq;
}
goto kjszemjD;
gZ9gHr6i:
return $cBKt5Qhp;
goto VHPYrdWJ;
kjszemjD:
return Language::$LIST[$Y8D_S9mn][$cBKt5Qhp];
goto YiXPEWd6;
yNOLExxF:
$Y8D_S9mn = getDataBaseValueFromTableAndID("configuration", "locale");
goto MCbHHN9q;
YiXPEWd6:
mxRzL_vq:
goto gZ9gHr6i;
VHPYrdWJ:
}
goto RVFQUzXj;
NVunGKHz:
function getAlertTitle($cBKt5Qhp, $FwqVPtCI)
{
return Util::getAlertTitle($cBKt5Qhp, $FwqVPtCI);
}
goto ldTFsHQr;
HNS6gFfq:
?>
Function Calls
None |
Stats
MD5 | 534d8935f590790de71d5e3c2b0111a8 |
Eval Count | 0 |
Decode Time | 69 ms |