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.1.0.1
- * @ Author : DeZender
- * @ Release on : 29.08.2020
- * @ Official site : http://DeZender.Net
- *
- */
- defined('BASEPATH') || exit('No direct script access allowed');
- class MY_Controller extends CI_Controller
- {
- public function __construct()
- {
- parent::__construct();
- $this->load->driver('cache', ['adapter' => 'apc', 'backup' => 'file', 'key_prefix' => 'vie_']);
- $this->data = [];
- $this->data['settings'] = $this->m_core->getSettings();
- $this->config->load('config', true);
- try {
- $key = explode('.', $this->config->item('license_key', 'config'))[0];
- if (md5('BOtg1WbOVOcEEA1' . get_domain_host(base_url())) != $key) {
- exit('This site is using invalid license. Please buy a valid license at <a target="_blank" href="https://shoppy.gg/product/099OPQ9">https://shoppy.gg/product/099OPQ9</a>');
- return redirect(site_url('maintenance'));
- }
- else {
- $this->data['csrf_name'] = $this->security->get_csrf_token_name();
- $this->data['csrf_hash'] = $this->security->get_csrf_hash();
- }
- }
- catch (Throwable $th) {
- exit('This site is using invalid license. Please buy a valid license at <a target="_blank" href="https://shoppy.gg/product/099OPQ9">https://shoppy.gg/product/099OPQ9</a>');
- return redirect(site_url('maintenance'));
- }
- $ipAddress = $this->input->ip_address();
- $sub = getSub($ipAddress);
- if ($this->session->ipSub) {
- if ($this->session->ipSub != $sub) {
- session_destroy();
- }
- }
- else {
- $this->session->set_userdata('ipSub', $sub);
- }
- }
- }
- class Guess_Controller extends MY_Controller
- {
- public function __construct()
- {
- parent::__construct();
- if (($this->data['settings']['status'] == 'off') && (current_url() != site_url('maintenance'))) {
- return redirect(site_url('maintenance'));
- }
- if ($this->session->VUID) {
- return redirect(site_url('dashboard'));
- .................................................................
- .......................................
- ............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement