Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
defined("\x42\x41\123\105\120\x41\x54\110") or exit("\116\x6f\x20\144\151\x72\x65\x63\164..
Decoded Output download
<? defined("BASEPATH") or exit("No direct script access allowed");
class Auth extends CI_Controller {
public $data = array(); public function __construct() {
$this->lang->load("auth");
$this->load->database();
$this->load->library("form_validation");
$this->form_validation->set_error_delimiters($this->config->item("error_start_delimiter", "ion_auth"), $this->config->item("error_end_delimiter", "ion_auth"));
$this->load->helper(["url", "language"]);
parent::__construct();
}
public function output_json($data) {
$this->output->set_content_type("application/json")->set_output(json_encode($data)); } public function index() {
if (!$this->ion_auth->logged_in()) {
}
$group = $this->ion_auth->get_users_groups($user_id)->row()->name;
$this->load->view("_templates/auth/_footer");
$user_id = $this->ion_auth->user()->row()->id;
$this->data["password"] = ["name" => "password", "id" => "password", "type" => "password", "placeholder" => "Password", "class" => "form-control"];
$this->data["identity"] = ["name" => "identity", "id" => "identity", "type" => "text", "placeholder" => "Username", "autofocus" => "autofocus", "class" => "form-control", "autocomplete" => "off"];
$this->load->view("_templates/auth/_header", $this->data); ?>
Did this file decode correctly?
Original Code
defined("\x42\x41\123\105\120\x41\x54\110") or exit("\116\x6f\x20\144\151\x72\x65\x63\164\40\163\x63\162\151\x70\x74\40\x61\143\143\x65\163\163\40\x61\x6c\154\157\167\145\x64");
class Auth extends CI_Controller {
public $data = array(); public function __construct() {
$this->lang->load("\x61\x75\x74\150");
$this->load->database();
$this->load->library("\x66\157\162\x6d\x5f\166\x61\x6c\x69\x64\x61\164\x69\157\156");
$this->form_validation->set_error_delimiters($this->config->item("\x65\162\162\x6f\x72\x5f\163\164\141\162\x74\x5f\144\x65\x6c\x69\155\x69\x74\145\162", "\151\x6f\156\137\x61\165\x74\150"), $this->config->item("\x65\162\162\x6f\162\x5f\x65\x6e\144\x5f\x64\x65\154\151\x6d\151\x74\x65\162", "\x69\x6f\x6e\137\141\x75\x74\x68"));
$this->load->helper(["\165\162\x6c", "\x6c\x61\156\x67\x75\x61\147\145"]);
parent::__construct();
}
public function output_json($data) {
$this->output->set_content_type("\x61\160\x70\154\151\143\x61\x74\x69\157\x6e\57\152\x73\x6f\x6e")->set_output(json_encode($data)); } public function index() {
if (!$this->ion_auth->logged_in()) {
}
$group = $this->ion_auth->get_users_groups($user_id)->row()->name;
$this->load->view("\137\x74\x65\155\160\x6c\x61\164\x65\163\x2f\x61\x75\164\x68\x2f\x5f\146\x6f\157\x74\x65\162");
$user_id = $this->ion_auth->user()->row()->id;
$this->data["\160\141\163\x73\167\x6f\162\x64"] = ["\x6e\x61\155\x65" => "\x70\x61\163\163\x77\x6f\x72\x64", "\x69\x64" => "\160\x61\x73\163\x77\x6f\x72\x64", "\164\x79\x70\145" => "\x70\x61\163\x73\167\157\162\x64", "\x70\154\141\x63\145\150\x6f\x6c\x64\x65\x72" => "\x50\x61\x73\163\167\x6f\162\144", "\x63\x6c\141\x73\163" => "\146\157\x72\155\55\143\157\x6e\164\162\157\154"];
$this->data["\151\144\145\x6e\164\x69\164\171"] = ["\156\141\155\145" => "\x69\x64\x65\156\164\151\164\171", "\151\x64" => "\x69\x64\x65\x6e\164\x69\164\171", "\164\171\x70\145" => "\164\x65\x78\164", "\x70\154\141\x63\x65\150\x6f\154\144\x65\162" => "\x55\163\145\x72\x6e\141\x6d\145", "\x61\165\164\x6f\146\157\x63\165\163" => "\x61\165\164\157\x66\x6f\143\x75\163", "\x63\154\141\x73\163" => "\146\157\162\x6d\x2d\143\157\156\164\x72\x6f\x6c", "\x61\x75\x74\157\143\x6f\x6d\x70\x6c\x65\x74\145" => "\x6f\146\146"];
$this->load->view("\x5f\x74\145\x6d\160\x6c\141\164\145\163\x2f\141\165\164\150\57\x5f\x68\x65\141\x64\x65\162", $this->data);
Function Calls
None |
Stats
MD5 | f46f7f3400ea1bdd6d28113a01e308c9 |
Eval Count | 0 |
Decode Time | 50 ms |