TimeTrex/classes/modules/core/TTLicense.class.php

2 lines
62 KiB
PHP
Raw Normal View History

2022-12-13 07:10:06 +01:00
<?php
/****************************************************** Reverse engineering of this file is strictly prohibited. File protected by copyright law and provided under license. ******************************************************/ class TTLicense { private $data = []; private $signature_key = null; private $soap_client_obj = null; private $define_application_name = "\124\151\155\x65\124\162\145\x78"; function __construct() { goto w16T1; tNCb5: return true; goto XhkLf; ylCpx: $this->product_deployment = [10 => "\x4f\156\x2d\x53\x69\x74\145", 20 => "\117\x6e\x2d\x44\145\155\141\x6e\144"]; goto tNCb5; ZMcZg: $this->product_edition = [10 => "\x43\157\155\x6d\165\156\151\x74\x79", 15 => "\x50\162\x6f\x66\145\x73\x73\x69\x6f\156\x61\x6c", 20 => "\x43\157\162\x70\157\x72\x61\164\145", 25 => "\x45\156\x74\145\162\160\162\x69\163\x65"]; goto ylCpx; m_vib: $this->db = $db; goto DKBwm; DKBwm: $this->license_type = [10 => "\105\x76\x61\154\x75\x61\x74\151\x6f\156", 20 => "\123\164\x61\x6e\144\x61\162\144", 50 => "\x50\141\162\x74\x6e\x65\x72"]; goto ZMcZg; w16T1: global $db; goto dguXQ; dguXQ: $this->Validator = new Validator(); goto m_vib; XhkLf: } function getHardwareID() { goto N0CSK; FzEu_: M21MZ: goto vbYTP; scGGz: bHtU0: goto eh3uR; z5fbs: APll8: goto kCqFx; BCoXJ: goto M21MZ; goto IO9jI; urW9c: if (!($h1sLs == 0 && is_array($f7k9f))) { goto XoTzu; } goto h5Ui3; h5Ui3: foreach ($f7k9f as $EtG_y) { goto fCwUy; fCwUy: if (!($EtG_y != '' && $EtG_y != "\60\x30\x3a\60\x30\x3a\x30\x30\72\60\60\72\x30\x30\72\60\60" && $EtG_y != "\146\x66\x3a\x66\x66\72\146\146\72\x66\146\72\x66\x66\x3a\x66\146")) { goto EOV6n; } goto lLPq9; fIjGe: EOV6n: goto XBN7N; hxHkG: goto bHtU0; goto fIjGe; lLPq9: $vx9Ma[] = str_replace(["\x22", "\55", "\40"], ['', "\72", ''], $EtG_y); goto hxHkG; XBN7N: HYNgk: goto UyEts; UyEts: } goto scGGz; B7M_J: $nI8dW = "\151\x66\x63\157\156\x66\x69\147\x20\x7c\x20\147\162\x65\x70\x20\x2d\105\157\x20\x27\x28\x5b\x5b\72\x78\144\x69\147\151\x74\x3a\x5d\x5d\173\x31\54\62\x7d\133\72\x2d\x5d\51\x7b\65\x7d\x5b\133\x3a\170\144\x69\x67\x69\x74\x3a\x5d\x5d\173\x31\x2c\x32\x7d\47"; goto b6T7p; vYbQH: unset($f7k9f[0]); goto R7JV7; P0LlF: $vx9Ma[] = "\x30\x30\72\x30\x30\72\60\60\x3a\x30\x30\x3a\60\x30\x3a\60\60"; goto xGqGE; DLWsO: if (is_array($FaBVD) && count($FaBVD) > 0) { goto RPSTJ; } goto u12tw; NJkB4: pxv6S: goto byEvi; s7joN: foreach ($FaBVD as $sA9l0) { goto RuZKQ; hfRK4: mdHrI: goto eN0dK; iezkf: goto eeVEj; goto hfRK4; eN0dK: NtEEi: goto sx7ta; iDPBP: if (!($EtG_y != '' && $EtG_y != "\x30\60\72\x30\60\x3a\x30\x30\x3a\60\60\x3a\60\60\72\60\x30" && $EtG_y != "\x66\146\x3a\146\146\x3a\x66\x66\72\146\x66\72\146\x66\x3a\x66\x66")) { goto mdHrI; } goto n_ttc; n_ttc: $vx9Ma[] = str_replace(["\x22", "\x2d", "\x20"], ['', "\x3a", ''], $EtG_y); goto iezkf; RuZKQ: $EtG_y = trim(@file_get_contents($sA9l0)); goto iDPBP; sx7ta: } goto FsAjw; sSOno: exec($nI8dW, $f7k9f, $h1sLs); goto H7vdT; n8r9u: iEyxl: goto FalGz; fqSri: e_qh0: goto BCoXJ; R7JV7: foreach ($f7k9f as $EtG_y) { goto TbuTk; cPIqr: $vx9Ma[] = str_replace(["\42", "\55", "\x20"], ['', "\72", ''], $HKXKy[0]); goto Wxrdt; Qozy8: tdaYw: goto FRMmc; kib2g: if (!(isset($HKXKy[0]) && $HKXKy[0] != '' && stripos($EtG_y, "\104\x69\x73\x63\157\x6e\156\145\143\164\145\x64") === false)) { goto Jue_O; } goto cPIqr; TbuTk: $HKXKy = explode("\x2c", $EtG_y); goto kib2g; Wxrdt: Jue_O: goto Qozy8; FRMmc: } goto NJkB4; W24mJ: zEH31: goto hzN5x; XwLGq: $DTt9W = sha1("\x37\61\x32\144\70\x37\x61\x64\63\x63\65\x30\71\x34\x61\143\x36\x62\x66\142\65" . $vx9Ma[0]); goto Yoeu9; vfuXI: if (!(shell_exec("\x77\x68\x69\x63\150\40\151\x66\143\157\156\146\151\x67") != '')) { goto En_R4; } goto B7M_J; N0CSK: $vx9Ma = []; goto Rfj_J; Ljldz: goto APll8; goto n8r9u; kB_yZ: $nI8dW = "\x67\x65\164\155\x61\143\40\57\106\117\x20\143\x73\x76"; goto sSOno; fwA_L: exec($nI8dW, $f7k9f, $h1sLs); goto dS_sm; SC1_5: En_R4: goto Ljldz; TwZQu: RPSTJ: goto s7joN; vbYTP: unset($nI8dW, $f7k9f, $h1sLs, $UWH1S, $EtG_y, $HKXKy); goto zFGJT; Yoeu9: return $DTt9W; goto i7yqI; b6T7p: exec($nI8dW, $f7k9f, $h1sLs); goto urW9c; dS_sm: if