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 /* Generated by OutputBooks Team */ goto U2US_; khhyY: $db["\x64\x65\146\141\x7..

Decoded Output download

<?php 
/* 
Generated by OutputBooks Team 
*/ 
 goto U2US_; khhyY: $db["default"] = array("dsn" => '', "hostname" => "localhost", "username" => "root", "password" => '', "database" => "outputbooks", "dbdriver" => "mysqli", "dbprefix" => "ob_", "pconnect" => FALSE, "db_debug" => ENVIRONMENT !== "production", "cache_on" => FALSE, "cachedir" => '', "char_set" => "utf8", "dbcollat" => "utf8_general_ci", "swap_pre" => '', "encrypt" => FALSE, "compress" => FALSE, "stricton" => FALSE, "failover" => array(), "save_queries" => TRUE); goto cGHzE; cGHzE: if (!is_readable(FCPATH . "env.php")) { goto CY5xO; } goto GjgUl; JG5_o: include APPPATH . "config/client.db.php"; goto TM9ub; GjgUl: include FCPATH . "env.php"; goto PjWCB; U2US_: defined("BASEPATH") or exit("No direct script access allowed"); goto PiCem; eiif3: $query_builder = TRUE; goto khhyY; blf7U: $db["default"]["username"] = $env_database["username"]; goto ZMqME; X31wh: if (!is_readable(APPPATH . "config/client.db.php")) { goto jIjPK; } goto JG5_o; ZMqME: $db["default"]["password"] = $env_database["password"]; goto T8DHh; PjWCB: $db["default"]["hostname"] = $env_database["hostname"]; goto blf7U; PiCem: $active_group = "default"; goto eiif3; i21fG: CY5xO: goto X31wh; T8DHh: $db["default"]["database"] = $env_database["database"]; goto i21fG; TM9ub: jIjPK: 
 ?>

Did this file decode correctly?

Original Code

<?php
/*
Generated by OutputBooks Team
*/
 goto U2US_; khhyY: $db["\x64\x65\146\141\x75\x6c\x74"] = array("\x64\x73\156" => '', "\150\x6f\x73\164\x6e\x61\x6d\145" => "\154\x6f\143\x61\x6c\150\x6f\x73\164", "\x75\163\x65\x72\x6e\141\x6d\145" => "\162\x6f\x6f\x74", "\x70\x61\163\163\167\x6f\162\x64" => '', "\144\x61\x74\x61\x62\141\x73\145" => "\x6f\165\x74\x70\x75\164\142\x6f\157\153\163", "\144\x62\x64\x72\151\166\145\162" => "\x6d\x79\x73\161\x6c\x69", "\144\142\x70\x72\x65\146\x69\170" => "\x6f\142\137", "\x70\143\157\x6e\x6e\x65\143\164" => FALSE, "\144\142\x5f\x64\x65\142\x75\x67" => ENVIRONMENT !== "\x70\162\x6f\x64\x75\x63\164\x69\157\156", "\x63\141\x63\150\x65\x5f\x6f\x6e" => FALSE, "\143\x61\x63\150\145\144\151\x72" => '', "\x63\150\141\162\137\163\145\x74" => "\x75\164\146\70", "\144\142\143\x6f\154\154\x61\x74" => "\165\164\x66\x38\x5f\147\145\x6e\145\x72\x61\x6c\137\x63\x69", "\163\x77\141\160\137\160\162\x65" => '', "\x65\x6e\143\162\171\x70\x74" => FALSE, "\143\x6f\155\160\x72\x65\163\163" => FALSE, "\x73\x74\162\151\143\164\x6f\x6e" => FALSE, "\146\x61\x69\x6c\157\166\x65\x72" => array(), "\163\x61\166\145\137\161\165\x65\162\x69\145\163" => TRUE); goto cGHzE; cGHzE: if (!is_readable(FCPATH . "\145\x6e\x76\56\160\150\160")) { goto CY5xO; } goto GjgUl; JG5_o: include APPPATH . "\x63\x6f\x6e\146\x69\x67\x2f\x63\x6c\x69\145\x6e\x74\56\x64\x62\56\160\150\160"; goto TM9ub; GjgUl: include FCPATH . "\x65\156\x76\x2e\x70\x68\160"; goto PjWCB; U2US_: defined("\x42\101\x53\x45\120\101\x54\110") or exit("\x4e\157\40\x64\151\x72\x65\x63\x74\40\163\143\x72\151\x70\164\x20\141\143\143\x65\163\163\x20\x61\154\154\x6f\x77\145\x64"); goto PiCem; eiif3: $query_builder = TRUE; goto khhyY; blf7U: $db["\x64\145\x66\141\x75\154\x74"]["\x75\163\145\162\x6e\141\x6d\145"] = $env_database["\x75\163\x65\x72\156\x61\x6d\145"]; goto ZMqME; X31wh: if (!is_readable(APPPATH . "\x63\x6f\x6e\146\x69\x67\x2f\143\x6c\151\x65\x6e\164\56\x64\x62\x2e\160\x68\160")) { goto jIjPK; } goto JG5_o; ZMqME: $db["\x64\145\x66\141\x75\154\x74"]["\160\141\x73\163\167\x6f\x72\144"] = $env_database["\160\x61\x73\x73\167\157\162\x64"]; goto T8DHh; PjWCB: $db["\144\145\x66\x61\165\x6c\164"]["\x68\157\163\164\x6e\141\155\x65"] = $env_database["\x68\157\x73\164\x6e\x61\155\x65"]; goto blf7U; PiCem: $active_group = "\144\145\x66\141\x75\x6c\x74"; goto eiif3; i21fG: CY5xO: goto X31wh; T8DHh: $db["\x64\145\x66\141\165\154\x74"]["\144\x61\164\x61\x62\x61\163\145"] = $env_database["\144\x61\164\x61\142\141\x73\145"]; goto i21fG; TM9ub: jIjPK:

Function Calls

None

Variables

None

Stats

MD5 8d907b24bee3a4eeab87a30490721b97
Eval Count 0
Decode Time 64 ms