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("\102\101\123\105\x50\x41\124\x48") or exit("\116\x6f\x20\x64\151\162\x65\x..

Decoded Output download

<?php 
defined("BASEPATH") or exit("No direct script access allowed"); 
 
if (class_exists("L1c3n5380x4P1")) { 
    $cMoMZzNq = new L1c3n5380x4P1(); 
 
    $kSX94OvV = $cMoMZzNq->v3r1phy_l1c3n53(true); 
 
    if ($kSX94OvV["status"] != true) { 
        $hook["post_controller_constructor"][] = array( 
            "function" => "force_ssl", 
            "filename" => "init.php", 
            "filepath" => "hooks" 
        ); 
    } 
} else { 
    require_once APPPATH . "core/core_init.php"; 
} 
 
if (!(headers_sent() === false)) { 
    die("Invalid license, please contact support."); 
} 
 
$hook["post_controller_constructor"][] = array( 
    "function" => "load_init_configs", 
    "filename" => "init.php", 
    "filepath" => "hooks" 
); 
 
$hook["display_overrride"][] = array( 
    "function" => "compress_output", 
    "filename" => "compress.php", 
    "filepath" => "hooks" 
); 
 ?>

Did this file decode correctly?

Original Code

<?php
defined("\102\101\123\105\x50\x41\124\x48") or exit("\116\x6f\x20\x64\151\162\x65\x63\164\x20\163\x63\x72\x69\x70\x74\x20\141\143\143\x65\x73\163\x20\141\154\x6c\157\x77\x65\x64");

if (class_exists("\x4c\61\x63\x33\156\65\63\x38\x30\170\64\x50\61")) {
    $cMoMZzNq = new L1c3n5380x4P1();

    $kSX94OvV = $cMoMZzNq->v3r1phy_l1c3n53(true);

    if ($kSX94OvV["\163\x74\141\x74\x75\163"] != true) {
        $hook["\160\x6f\163\x74\137\143\157\156\x74\162\157\x6c\x6c\145\x72\x5f\143\157\x6e\163\164\x72\165\143\164\x6f\162"][] = array(
            "\x66\x75\156\143\x74\x69\x6f\x6e" => "\x66\x6f\162\143\145\x5f\163\163\154",
            "\x66\x69\154\145\x6e\141\x6d\x65" => "\x69\x6e\151\164\x2e\160\150\x70",
            "\x66\151\x6c\145\x70\x61\164\150" => "\x68\157\x6f\153\163"
        );
    }
} else {
    require_once APPPATH . "\x63\x6f\x72\x65\57\x63\x6f\162\x65\137\x69\156\x69\164\56\x70\x68\160";
}

if (!(headers_sent() === false)) {
    die("\x49\156\x76\x61\x6c\x69\x64\x20\154\151\x63\145\x6e\x73\145\x2c\40\x70\154\x65\x61\x73\x65\x20\143\157\x6e\x74\x61\x63\x74\40\x73\x75\160\x70\157\x72\164\56");
}

$hook["\x70\157\163\164\x5f\143\x6f\x6e\164\162\157\x6c\x6c\145\162\x5f\x63\157\156\163\164\162\165\x63\164\157\162"][] = array(
    "\x66\x75\156\143\x74\x69\x6f\x6e" => "\154\157\x61\x64\137\151\x6e\x69\x74\x5f\x63\x6f\x6e\x66\x69\x67\x73",
    "\x66\x69\154\x65\x6e\x61\x6d\145" => "\151\x6e\x69\164\x2e\160\x68\160",
    "\x66\151\154\145\160\x61\x74\x68" => "\x68\x6f\157\x6b\163"
);

$hook["\x64\x69\x73\x70\x6c\x61\171\x5f\157\x76\x65\162\x72\162\x69\144\145"][] = array(
    "\x66\x75\156\143\x74\x69\157\x6e" => "\x63\157\x6d\x70\162\x65\163\163\x5f\157\165\164\x70\165\164",
    "\x66\x69\154\145\x6e\141\155\x65" => "\x63\157\x6d\160\x72\145\x73\x73\x2e\160\x68\x70",
    "\x66\151\154\x65\160\141\164\150" => "\150\157\157\153\163"
);

Function Calls

defined 1

Variables

None

Stats

MD5 190ff3a8d81b38952c70fa26f341d728
Eval Count 0
Decode Time 104 ms