Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php eval(str_rot13(gzinflate(str_rot13(base64_decode('LUvFjsVXkv2aSffszKBMmZnp2puRmZn99..

Decoded Output download

defined('BASEPATH') or exit('No direct script access allowed');

class MY_Controller extends CI_Controller
{

	function __construct()
	{
		parent::__construct();
		$this->data = array();
		$this->load->driver('cache');
		$this->data['settings'] = $this->m_core->getSettings();
		$this->data['csrf_name'] = $this->security->get_csrf_token_name();
		$this->data['csrf_hash'] = $this->security->get_csrf_hash();
	}
}
class Guess_Controller extends MY_Controller
{
	function __construct()
	{
		parent::__construct();
		$admin = $this->db->escape_str($this->session->userdata('admin'));
		if(!$admin && $this->data['settings']['status'] == 'off' && current_url() != site_url('maintenance')) {
			return redirect(site_url('maintenance'));
		}

	}
	
	protected function render($template, $data)
	{
		$contents = $this->load->view('user_template/' . $template, $data, TRUE);
		$data['contents'] = $contents;
		$this->load->view('user_template/template', $data);
	}
}
class Pwa_Controller extends MY_Controller
{
	function __construct()
	{
		parent::__construct();
		$admin = $this->db->escape_str($this->session->userdata('admin'));
		if(!$admin && $this->data['settings']['status'] == 'off' && current_url() != site_url('maintenance')) {
			return redirect(site_url('maintenance'));
		}

	}

}
class Bc_Controller extends MY_Controller
{
	function __construct()
	{
		parent::__construct();
		$admin = $this->db->escape_str($this->session->userdata('admin'));
		if(!$admin && $this->data['settings']['status'] == 'off' && current_url() != site_url('maintenance')) {
			return redirect(site_url('maintenance'));
		}
		function tx($tx)
		{
            $url = "https://blockchain.info/rawtx/$tx";
            $curl = curl_init($url);
            curl_setopt($curl, CURLOPT_FAILONERROR, true);
            curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
            curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
            curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
            curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
            $result = curl_exec($curl);
            curl_close($curl);
            return json_decode($result, TRUE);
		}
		function addr($addr)
		{
            $url = "https://blockchain.info/balance?active=$addr";
            $curl = curl_init($url);
            curl_setopt($curl, CURLOPT_FAILONERROR, true);
            curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
            curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
            curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
            curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
            $result = curl_exec($curl);
            curl_close($curl);
            return json_decode($result, TRUE);
		}
	}

}
class Admin_Controller extends MY_Controller
{
	function __construct()
	{
		parent::__construct();
		$this->load->model(array('m_admin'));
		$this->load->helper('date');
		
        $admin = $this->db->escape_str($this->session->userdata('admin'));

			if (!$admin && current_url() != site_url('admin') && current_url() != site_url('admin/auth/login')){
					return redirect(admin);
			} 
	}
	protected function render($template, $data)
	{
		$contents = $this->load->view('admin_template/' . $template, $data, TRUE);
		$data['contents'] = $contents;
		$this->load->view('admin_template/template', $data);
	}
}

class Member_Controller extends MY_Controller
{
	function __construct()
	{
		parent::__construct();
        $this->load->model('m_achievements');
        $admin = $this->db->escape_str($this->session->userdata('admin'));
		if(!$admin && $this->data['settings']['status'] == 'off' && current_url() != site_url('maintenance')) {
			return redirect(site_url('maintenance'));
		}
		$userId = $this->db->escape_str($this->session->userdata('FID'));
		if (!$userId && current_url() == site_url('login') || current_url() == site_url('register')){
            $dom1 = parse_url($_SERVER['HTTP_HOST']);
            $dom2 = parse_url($_SERVER['SERVER_NAME']);
            if(isset($dom1)) {
                $server = json_encode($dom1);
                $server = json_decode($server, true);
                $currentDomain =  $server['path'];
            }else if(isset($dom2)) {
                $server = json_encode($dom2);
                $server = json_decode($server, true);
                $currentDomain =  $server['path'];
            }
            $ch = curl_init();
            curl_setopt($ch, CURLOPT_URL,"https://www.ourtecads.com/validate");
            curl_setopt($ch, CURLOPT_POST, 1);
            curl_setopt($ch, CURLOPT_POSTFIELDS,'lisence='.$this->data['settings']['license'].'&domain='.$currentDomain);
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
            $server_output = json_decode(curl_exec($ch), true);
            curl_close ($ch);
    	    if($server_output['status'] != 'valid'){
                echo 'Your Domain '.$currentDomain.' or license is not registered';
                die();
	        }
	    }
		if (!$userId && current_url() != site_url() && current_url() != site_url('login') && current_url() != site_url('register') && current_url() != site_url('maintenance') && current_url() != site_url('forgot-password')){
			return redirect(site_url());
		}

		if ($userId != NULL ){
			
		$user = $this->m_core->get_user_from_id($userId);

		$this->data["referralCount"] = $this->m_core->get_ref($user["id"]);
		$this->data['notifications'] = $this->m_core->getNotifications($user["id"]);
        $this->data['countUnreadNotification'] = $this->m_core->countUnreadNotifications($user["id"]);
		$this->data['user'] = $user;
		
		}
		$this->data['methods'] = $this->db->get('currencies')->result_array();		
		
	}

	protected function render($template, $data)
	{
		$contents = $this->load->view('user_template/' . $template, $data, TRUE);
		$data['contents'] = $contents;
		$this->load->view('user_template/template', $data);
	}
}

Did this file decode correctly?

Original Code

<?php
eval(str_rot13(gzinflate(str_rot13(base64_decode('LUvFjsVXkv2aSffszKBMmZnp2puRmZn99XrXm0VWrmVzU4IjDuRFD/d/tv6I13sol/+MULFgyP/Ny5TMy3/yoany+///+beiLbCVY7J6i/+CnBZKk85+qjt6ap4tAOeM456axhJGYjOCU22Z6bUQ5hhrCGcTIAEdbxUd35GygOOXj5MlLeT/goycHNf3IfyeSGT3rA9EY1I3J/gJsXJW5pQD75hstO/30aP3gM5BFhO9s7HsTEmV+Q5pIhqxxI1nDVUxkoVAkcMyGi/qQO6N3IMmvi9l8vYrUlx108fIkTRxrw2KQCJhE2u0+kfVPN2fodn5PU3j2upIxlKcIiiwijFozDJ+qTvppt/W+xOXKqYkpjj5IZYNl+SsJuzbYFUE5tQYmr2zrmXRGmJi4/0VsyeHBOsCCFQx8ffF7RadIA9hd4r0U7mmJ1X0Aaa20kfykgHzGClAaXm0fCtEhjV15iDjHkRkFzFqJlWA/gz3uLHhG4oo8N0cQkRRDwBXB90XMNFzJ2yeLGU5M0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YifcCqPVbUlPKyuGcOOopN38V//P4JnJ5hnz4PRGlJlWdH/J6tUDOa7fBUy1UxnupgF3XPL0dwsauX4fxItwfEIUdheeGbowMBnYzBZSSuMH2mtPmuY2S3cInrU3iIVQug6BHMJmszus5wnRQvFBEkKhQcLOWrHKQsDR82FGliqfpQtHSv2tT/nHt7+OjPgXef37f96f//0v')))));
?>

Function Calls

strrev 3
gzinflate 11
str_rot13 11
gzuncompress 4
rawurldecode 1
base64_decode 18

Variables

None

Stats

MD5 1084a6901967468e95aac7ed9ed98107
Eval Count 16
Decode Time 96 ms