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(gzinflate(base64_decode('fVRNb9tGED3XgP/DlHBC6SDLSA9pZRiBCijwofmAJQcI0mCxXg7JlV..

Decoded Output download

  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$proto = "http" .
    ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "s" : "") . "://";
$server = isset($_SERVER['HTTP_HOST']) ?
    $_SERVER['HTTP_HOST'] : $_SERVER['SERVER_NAME'];
$config['base_url']    = $proto . $server; 
$config['index_page'] = '';
$config['uri_protocol']	= 'AUTO';
$config['url_suffix'] = '';
$config['language']	= 'english';
$config['charset'] = 'UTF-8';
$config['enable_hooks'] = FALSE;
$config['subclass_prefix'] = 'MY_';
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
$config['allow_get_array']		= TRUE;
$config['enable_query_strings'] = FALSE;
$config['controller_trigger']	= 'c';
$config['function_trigger']		= 'm';
$config['directory_trigger']	= 'd'; // experimental not currently in use
$config['log_threshold'] = 0;
$config['log_path'] = '';
$config['log_date_format'] = 'Y-m-d H:i:s';
$config['cache_path'] = '';
$config['encryption_key'] = 'yshesdjkjuwewejdsoijsdwewoewewsidsjrusdusdjrusdjurjjsujrusrss';
$config['sess_cookie_name']		= 'ci_session';
$config['sess_expiration']		= 7200;
$config['sess_expire_on_close']	= FALSE;
$config['sess_encrypt_cookie']	= FALSE;
$config['sess_use_database']	= TRUE;
$config['sess_table_name']		= 'ci_sessions';
$config['sess_match_ip']		= FALSE;
$config['sess_match_useragent']	= TRUE;
$config['sess_time_to_update']	= 300;
$config['cookie_prefix']	= "";
$config['cookie_domain']	= "";
$config['cookie_path']		= "/";
$config['cookie_secure']	= FALSE;
$config['global_xss_filtering'] = FALSE;
$config['csrf_protection'] = FALSE;
$config['csrf_token_name'] = 'csrf_test_name';
$config['csrf_cookie_name'] = 'csrf_cookie_name';
$config['csrf_expire'] = 7200;
$config['compress_output'] = FALSE;
$config['time_reference'] = 'local';
$config['rewrite_short_tags'] = TRUE;
$config['proxy_ips'] = '';
  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
| For complete instructions please consult the 'Database Connection'
| page of the User Guide.
|
| -------------------------------------------------------------------
| EXPLANATION OF VARIABLES
| -------------------------------------------------------------------
|
|	['hostname'] The hostname of your database server.
|	['username'] The username used to connect to the database
|	['password'] The password used to connect to the database
|	['database'] The name of the database you want to connect to
|	['dbdriver'] The database type. ie: mysql.  Currently supported:
				 mysql, mysqli, postgre, odbc, mssql, sqlite, oci8
|	['dbprefix'] You can add an optional prefix, which will be added
|				 to the table name when using the  Active Record class
|	['pconnect'] TRUE/FALSE - Whether to use a persistent connection
|	['db_debug'] TRUE/FALSE - Whether database errors should be displayed.
|	['cache_on'] TRUE/FALSE - Enables/disables query caching
|	['cachedir'] The path to the folder where cache files should be stored
|	['char_set'] The character set used in communicating with the database
|	['dbcollat'] The character collation used in communicating with the database
|				 NOTE: For MySQL and MySQLi databases, this setting is only used
| 				 as a backup if your server is running PHP < 5.2.3 or MySQL < 5.0.7
|				 (and in table creation queries made with DB Forge).
| 				 There is an incompatibility in PHP with mysql_real_escape_string() which
| 				 can make your site vulnerable to SQL injection if you are using a
| 				 multi-byte character set and are running versions lower than these.
| 				 Sites using Latin-1 or UTF-8 database character set and collation are unaffected.
|	['swap_pre'] A default table prefix that should be swapped with the dbprefix
|	['autoinit'] Whether or not to automatically initialize the database.
|	['stricton'] TRUE/FALSE - forces 'Strict Mode' connections
|							- good for ensuring strict SQL while developing
|
| The $active_group variable lets you choose which connection group to
| make active.  By default there is only one group (the 'default' group).
|
| The $active_record variables lets you determine whether or not to load
| the active record class
*/

$active_group = 'default';
$active_record = TRUE;

$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'root';
$db['default']['password'] = 'mangamma80626';
$db['default']['database'] = 'server';
$db['default']['dbdriver'] = 'mysql';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = '';
$db['default']['char_set'] = 'utf8';
$db['default']['dbcollat'] = 'utf8_general_ci';
$db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;


$db['test']['hostname'] = "localhost";
$db['test']['username'] = "root";
$db['test']['password'] = "mangamma80626";
$db['test']['database'] = "roundcube";
$db['test']['dbdriver'] = "mysql";
$db['test']['dbprefix'] = "";
$db['test']['pconnect'] = FALSE;
$db['test']['db_debug'] = FALSE;
$db['test']['cache_on'] = FALSE;
$db['test']['cachedir'] = "";
$db['test']['char_set'] = "utf8";
$db['test']['dbcollat'] = "utf8_general_ci";
$db['test']['swap_pre'] = "";
$db['test']['autoinit'] = TRUE;
$db['test']['stricton'] = FALSE;

/* End of file database.php */
/* Location: ./application/config/database.php */

Did this file decode correctly?

Original Code

<?php eval(gzinflate(base64_decode('fVRNb9tGED3XgP/DlHBC6SDLSA9pZRiBCijwofmAJQcI0mCxXg7JlVe77M6yknrob++QyyaiRIUgQHLnzbz5eEMAncMIfoYMc20xG6W/z5eLj/PVfToeA+50GKXvHWTaowpAyusqgFQKiUAa47aYpePby4vLi6vKu+DgDpIyhCqB68sL4Gs00kQYRldiuXj4tHj4kt6vVh+X6dcxvHwJJ6dwxwGcTcbwBhJKYAYJv19DMptOE+a5IvR/o2eaobDi/sNy1YR+E8kHrRzz+3l8ivfzd4v0axNfOZvr4kv6JAlF7Q3j+bqDrrxr6DK4hQOwthnuRCULbCqAND2MVHstWmflONpPbJ4/rj4cQYygOs/1bsDfSFvUbejGF21hNJU9hCql52ZE38fV28mvPTNa+WRQlM49U4t5O/9juThEUP2kjCTiPPFbEu8+i16YCv1Gh4CZaCpqOSNQTv6Bm8lv/764nok/Jz2fViKiwCCk93LPJXANq4fHx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d96BNZp2WapR9xeTGN4vYAg+X2gOKX2uNOYPoQo/Oxsd1j1ZClRkzlyn8smidpl0GgWezZulP/eGBuVvY6xVhF1uW0JdWoJdS42cC39dFg/W5CWeDot8WxhW8ohukLLpJjiNq6pnE5Qzg5MQzadbbeammmd9ZqgoZidiP16aSEqsWw70VJKhzWwI4yGTDobMtlCtzSyvd9egdT2u9XRf0IXOMl38vBftnpY5GkO3Lno+61JwqA7h16fZlSm4muf0jxT8/6GyT8='))); ?> 

Function Calls

gzinflate 2
base64_decode 2

Variables

None

Stats

MD5 b95da5210a07e44e4c8029cf9c71476d
Eval Count 2
Decode Time 87 ms