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
- *
- */
- namespace FileRun\Utils;
- class L
- {
- static private $v = 'bravo';
- private $dd;
- private $an;
- private $cn;
- private $lf;
- private $free = false;
- private $freelancer = false;
- static public $error;
- final public function __construct()
- {
- $this->lf = self::getFilePath();
- if ($_GET['alicense'] || $_GET['alic']) {
- $this->aL();
- }
- if (file_exists($this->lf)) {
- $this->dd = $this->d(@file_get_contents($this->lf));
- if (!is_array($this->dd)) {
- exit('This software application is registered to a different server hostname.');
- }
- $this->chE();
- if ($this->dd['f']) {
- $this->free = true;
- }
- if ($this->dd['fr']) {
- $this->freelancer = true;
- }
- }
- else {
- $this->free = true;
- }
- if ($_GET['vlicense'] || $_GET['vlic']) {
- $this->uL();
- }
- if ($_GET['license'] || $_GET['lic']) {
- $this->showInfo();
- }
- }
- final public function isFree()
- {
- return $this->free;
- }
- final public function isFreelancer()
- {
- return $this->freelancer;
- }
- final public function chkU()
- {
- $this->an = $this->getAN();
- if (!$_GET['page']) {
- $this->cn = $this->getCN();
- if ($this->cn < 1) {
- exit('Software error: Invalid number of database users. Expected at least one record.');
- }
- if ($this->an < $this->cn) {
- exit('Software error: Invalid number of database users. Expected maximum ' . $this->an . ', found ' . $this->cn);
- }
- }
- }
- final static public function getFilePath()
- {
- global $config;
- return $config['path']['data'] . '/filerun.dat';
- }
- final static public function gH()
- {
- if (mb_strlen($_SERVER['HTTP_HOST']) < 2) {
- exit('Software error: Invalid HTTP_HOST value.');
- }
- $h = mb_strtolower($_SERVER['HTTP_HOST']);
- ......................................................................
- ................................
- ...........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement