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("?>".base64_decode("PD9waHANCg0KbmFtZXNwYWNlIEFwcFxDb250cm9sbGVyczsNCg0KdXNlIEF..
Decoded Output download
?>b"<?php
namespace App\Controllers;
use App\Models\CodeModel;
use CodeIgniter\Controller;
use CodeIgniter\HTTP\CLIRequest;
use CodeIgniter\HTTP\IncomingRequest;
use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use Psr\Log\LoggerInterface;
/**
* Class BaseController
*
* BaseController provides a convenient place for loading components
* and performing functions that are needed by all your controllers.
* Extend this class in any new controllers:
* class Home extends BaseController
*
* For security be sure to declare any new methods as protected or private.
*/
class BaseController extends Controller
{
/**
* Instance of the main Request object.
*
* @var IncomingRequest|CLIRequest
*/
protected $request;
/**
* An array of helpers to be loaded automatically upon
* class instantiation. These helpers will be available
* to all other controllers that extend BaseController.
*
* @var array
*/
protected $helpers = ['nata', 'form', 'url', 'text', 'html', 'filesystem'];
/**
* Constructor.
*
* @param RequestInterface $request
* @param ResponseInterface $response
* @param LoggerInterface $logger
*/
public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger)
{
// Do Not Edit This Line
parent::initController($request, $response, $logger);
//--------------------------------------------------------------------
// Preload any models, libraries, etc, here.
//--------------------------------------------------------------------
// E.g.: $this->session = \Config\Services::session();
}
}
"
Did this file decode correctly?
Original Code
<?php eval("?>".base64_decode("PD9waHANCg0KbmFtZXNwYWNlIEFwcFxDb250cm9sbGVyczsNCg0KdXNlIEFwcFxNb2RlbHNcQ29kZU1vZGVsOw0KdXNlIENvZGVJZ25pdGVyXENvbnRyb2xsZXI7DQp1c2UgQ29kZUlnbml0ZXJcSFRUUFxDTElSZXF1ZXN0Ow0KdXNlIENvZGVJZ25pdGVyXEhUVFBcSW5jb21pbmdSZXF1ZXN0Ow0KdXNlIENvZGVJZ25pdGVyXEhUVFBcUmVxdWVzdEludGVyZmFj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