Advertisement
Guest User

Untitled

a guest
Aug 30th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.0.9.0
  8. * @ Author : DeZender
  9. * @ Release on : 08.08.2019
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. namespace FileRun\Utils;
  15.  
  16. class L
  17. {
  18. static private $v = 'bravo';
  19. private $dd;
  20. private $an;
  21. private $cn;
  22. private $lf;
  23. private $free = false;
  24. private $freelancer = false;
  25. static public $error;
  26.  
  27. final public function __construct()
  28. {
  29. $this->lf = self::getFilePath();
  30. if ($_GET['alicense'] || $_GET['alic']) {
  31. $this->aL();
  32. }
  33.  
  34. if (file_exists($this->lf)) {
  35. $this->dd = $this->d(@file_get_contents($this->lf));
  36.  
  37. if (!is_array($this->dd)) {
  38. exit('This software application is registered to a different server hostname.');
  39. }
  40.  
  41. $this->chE();
  42.  
  43. if ($this->dd['f']) {
  44. $this->free = true;
  45. }
  46.  
  47. if ($this->dd['fr']) {
  48. $this->freelancer = true;
  49. }
  50. }
  51. else {
  52. $this->free = true;
  53. }
  54. if ($_GET['vlicense'] || $_GET['vlic']) {
  55. $this->uL();
  56. }
  57. if ($_GET['license'] || $_GET['lic']) {
  58. $this->showInfo();
  59. }
  60. }
  61.  
  62. final public function isFree()
  63. {
  64. return $this->free;
  65. }
  66.  
  67. final public function isFreelancer()
  68. {
  69. return $this->freelancer;
  70. }
  71.  
  72. final public function chkU()
  73. {
  74. $this->an = $this->getAN();
  75.  
  76. if (!$_GET['page']) {
  77. $this->cn = $this->getCN();
  78.  
  79. if ($this->cn < 1) {
  80. exit('Software error: Invalid number of database users. Expected at least one record.');
  81. }
  82.  
  83. if ($this->an < $this->cn) {
  84. exit('Software error: Invalid number of database users. Expected maximum ' . $this->an . ', found ' . $this->cn);
  85. }
  86. }
  87. }
  88.  
  89. final static public function getFilePath()
  90. {
  91. global $config;
  92. return $config['path']['data'] . '/filerun.dat';
  93. }
  94.  
  95. final static public function gH()
  96. {
  97. if (mb_strlen($_SERVER['HTTP_HOST']) < 2) {
  98. exit('Software error: Invalid HTTP_HOST value.');
  99. }
  100.  
  101. $h = mb_strtolower($_SERVER['HTTP_HOST']);
  102. ......................................................................
  103. ................................
  104. ...........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement