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 $_F=__FILE__;$_X='P2lCP1ouWg1WOU1Bc0hNOSgnb0ZwS21GVHQnKT43Zz5NUnM9KCdFTz45c3pNMj0+bj..

Decoded Output download

$_X=base64_decode($_X);$_X=strtr($_X,'SgPO9YZWFKmqyfxcjLJRzuM5vNts1b.{B4nC]i/2Dl0EheA
[d8=Qp>VXo H}6GIw7ka3TrU<','=R9odmplAEPyk8gv[53xrMezqZHi7YhW<DsG{>CcX}1N/afj6]JtuS 
.BUnwVKLQO20ITF4b');$_R=str_replace('__FILE__',"'".$_F."'",$_X);eval($_R);$_R=0;$_X=0;?><?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Allhadlers extends CI_Model {
public function allterms_handler($searchterm,$name)
	{
		
		
		if($searchterm)
		{
		
			$this->session->set_userdata($name, $searchterm);
			return $searchterm;
		}
		elseif($this->session->userdata($name))
		{
			$searchterm = $this->session->userdata($name);
			return $searchterm;
		}
		else
		{
			$searchterm ="";
			return $searchterm;
		}
	}
	
	public function group_handler($searchterm)
	{
		if($searchterm)
		{
			$this->session->set_userdata('group', $searchterm);
			return $searchterm;
		}
		elseif($this->session->userdata('group'))
		{
			$searchterm = $this->session->userdata('group');
			return $searchterm;
		}
		else
		{
			$searchterm ="";
			return $searchterm;
		}
	}

}

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWg1WOU1Bc0hNOSgnb0ZwS21GVHQnKT43Zz5NUnM9KCdFTz45c3pNMj0+bjJ6c1o9PmUyMk1ubj5lV1dPfU05Jyk7DVYNVjJXZW5uPkZXVy5lOVdNem4+TVI9TUg5bj4vM191TzlNVz5dDVZaUTxXczI+QVFIMj1zT0g+ZVdXPU16WW5fLmVIOVdNeigkbk1lejIuPU16WSwkSGVZTSkNVgldDVYJCQ1WCQkNVgkJc0EoJG5NZXoyLj1NelkpDVYJCV0NVgkJDVYJCQkkPS5zbi1pbk1ubn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Hez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw='));?>

Function Calls

strtr 1
strrev 1
defined 1
str_replace 1
base64_decode 2

Variables

$_D base64_decode
$_F index.php
$_R ?><?php defined('BASEPATH') OR exit('No direct script acces..
$_X ?><?php defined('BASEPATH') OR exit('No direct script acces..

Stats

MD5 f93d6b105714a420d2ed150fafa25f50
Eval Count 2
Decode Time 55 ms