Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.0.9.0
- * @ Author : DeZender
- * @ Release on : 08.08.2019
- * @ Official site : http://DeZender.Net
- *
- */
- class license
- {
- const LICENSE_HASH_KEY = 'ZZ_^LCNs^!1t3@B3';
- /**
- * @var null
- */
- public $license_info;
- /**
- * @var int
- */
- public $debug = 0;
- /**
- * @var array|bool|float|int|null|string
- */
- public $panel_license_key = '';
- /**
- * @var array|bool|float|int|null|string
- */
- public $panel_license_email = '';
- /**
- * @var string
- */
- public $trial_license_key = 'PNLXTR-IALTRI-AL91TR-IALTRI-4ALTRI-A5LTR3';
- /**
- * @var string
- */
- public $trial_license_email = '[email protected]';
- /**
- * @var array
- */
- public $limitations = [
- 'domain' => ['lang' => '#{domain}', 'limit_key' => 'domain'],
- 'email' => ['lang' => '#{email}', 'limit_key' => 'mail'],
- 'database' => ['lang' => '#{database}', 'limit_key' => 'database'],
- 'subdomain' => ['lang' => '#{subdomain}', 'limit_key' => 'subdomain'],
- 'customer' => ['lang' => '#{customer}', 'limit_key' => 'customer']
- ];
- /**
- * @var string
- */
- private $LICENSE_SERVER = 'license.panilux.com';
- /**
- *
- */
- public function __construct()
- {
- $this->panel_license_key = settings('panel.license_key')->get();
- $this->panel_license_email = settings('panel.license_email')->get();
- if (SANDBOX_LICENSE) {
- $this->LICENSE_SERVER = 'license-dev.panilux.com';
- }
- }
- /**
- * @return int|mixed
- */
- public function check()
- {
- $license = $this->get_local_license();
- if (is_array($license)) {
- if (($license['key'] === $this->panel_license_key) && ($license['reseller_info']['email'] === $this->panel_license_email)) {
- $this->license_info = $license;
- }
- else {
- $license = -3;
- }
- }
- return $license;
- }
- /**
- * @return int|mixed
- */
- public function get_local_license()
- {
- $obf_DVwXCBAiMg4iFjc7GiZADxMGBxIFLgE = agent()->get_file(PANEL_PATH . '/.license');
- if (!$obf_DVwXCBAiMg4iFjc7GiZADxMGBxIFLgE) {
- .....................................................................................
- .............................................
- ...........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement