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 defined("\x42\101\x53\105\120\x41\124\x48") or die("\116\x6f\40\x64\151\162\x65\14..

Decoded Output download

<?php 
 defined("BASEPATH") or die("No direct script access allowed"); class MY_Controller extends CI_Controller { public $data = array(); function __construct() { parent::__construct(); if ($_SERVER["SERVER_NAME"] != "acaren.net") { die; } $this->load->model("panel/Site_ayarlar_model", "site_ayarlar"); $controllerName = $this->router->fetch_class(); if ($this->session->userdata("kullaniciBilgiler") == NULL && ($controllerName != "Giris_yonetim" && $controllerName != "giris_yonetim")) { $this->session->set_flashdata("mesaj", "Ltfen Giri Yapnz!"); redirect(base_url("panel")); } $this->data["ayarlar"] = $this->site_ayarlar->ayarlar(); $this->data["KULLANICI_RUTBE"] = kullanici_rutbe(); $this->data["KULLANICI_YETKILER"] = kullanici_yetkiler(); } } ?>

Did this file decode correctly?

Original Code

<?php
 defined("\x42\101\x53\105\120\x41\124\x48") or die("\116\x6f\40\x64\151\162\x65\143\x74\40\x73\x63\162\151\x70\164\x20\141\x63\x63\145\x73\163\x20\x61\x6c\x6c\157\167\145\144"); class MY_Controller extends CI_Controller { public $data = array(); function __construct() { parent::__construct(); if ($_SERVER["\x53\105\122\126\105\122\137\116\x41\115\105"] != "\x61\143\141\162\x65\156\56\x6e\145\x74") { die; } $this->load->model("\x70\x61\x6e\145\x6c\x2f\x53\151\164\145\137\141\171\141\162\x6c\x61\x72\x5f\155\157\x64\145\154", "\x73\151\164\x65\x5f\x61\171\x61\162\x6c\x61\162"); $controllerName = $this->router->fetch_class(); if ($this->session->userdata("\153\x75\x6c\x6c\x61\156\151\x63\x69\102\x69\154\x67\x69\154\145\162") == NULL && ($controllerName != "\x47\151\162\151\163\x5f\171\157\156\145\x74\151\x6d" && $controllerName != "\x67\151\x72\x69\163\137\x79\157\156\145\164\x69\x6d")) { $this->session->set_flashdata("\155\x65\163\141\x6a", "\114\xc3\274\164\x66\145\156\40\107\151\x72\x69\305\237\x20\131\x61\160\304\xb1\x6e\304\xb1\172\x21"); redirect(base_url("\160\141\x6e\x65\154")); } $this->data["\141\171\141\162\x6c\x61\x72"] = $this->site_ayarlar->ayarlar(); $this->data["\113\125\114\x4c\x41\x4e\x49\x43\x49\x5f\122\x55\124\x42\105"] = kullanici_rutbe(); $this->data["\x4b\125\x4c\114\101\x4e\111\x43\x49\x5f\131\x45\x54\x4b\111\x4c\x45\x52"] = kullanici_yetkiler(); } }

Function Calls

defined 1

Variables

None

Stats

MD5 a0c932d1d5a454c7ab941669ed1f70c0
Eval Count 0
Decode Time 57 ms