File Manager / wp-content Search Upload New Item Settings File "db5.php" Full path: /home1/epichome/public_html/wp-content/db5.php File size: 60.67 B (60.67 KB bytes) MIME-type: text/x-php Charset: utf-8 Download Open Edit Advanced Editor Back
/home/epsgrafi/public_html/configgrab/arconcom-Wordpress.txt
<?php
/**
 * 🔒 CONFIGURACIÓN SEGURA DE WORDPRESS – ARCON
 * Limpia de virus e inyecciones PHP
 */

define( 'WP_CACHE', true ); // Added by WP Rocket

// =======================================================
// 🔐 BLOQUEOS Y SEGURIDAD BÁSICA
// =======================================================
define( 'DISALLOW_FILE_EDIT', true );       // Bloquea editor en el panel
define( 'DISALLOW_FILE_MODS', false );      // Permite actualizaciones seguras
define( 'FORCE_SSL_ADMIN', true );          // Obliga el acceso al admin por HTTPS
define( 'WP_MEMORY_LIMIT', '256M' );        // Más memoria para WordPress
define( 'AUTOMATIC_UPDATER_DISABLED', false ); // Permite actualizaciones automáticas
define( 'WP_AUTO_UPDATE_CORE', true );      // Actualiza el core automáticamente

// =======================================================
// ⚙️ CONFIGURACIÓN DE BASE DE DATOS
// =======================================================
define( 'DB_NAME', 'arconcom_wp914' );
define( 'DB_USER', 'arconcom_wp914' );
define( 'DB_PASSWORD', 'a]53S8U1)p' );
define( 'DB_HOST', 'localhost' );
define( 'DB_CHARSET', 'utf8' );
define( 'DB_COLLATE', '' );

// =======================================================
// 🧱 CLAVES DE AUTENTICACIÓN ÚNICAS
// =======================================================
define( 'AUTH_KEY',         'fy5ullq9lq0vvzewkliuwj4waqsoyzhchz6qxuaixf9nar9gpdwyaegvudriembi' );
define( 'SECURE_AUTH_KEY',  'myx07gvr6uwrrkpqck0c6qgbk9iyifveasvvpwlukdwbcqfiirmqxwmpyhxrzov0' );
define( 'LOGGED_IN_KEY',    '8djkk5di4deerelue6oikrmsiclixvyz1olxywysjfhsu5m9ccg5wmifspxvt9jz' );
define( 'NONCE_KEY',        'see8ihyafle9wqf9xh5vcxpwtfugdj3uizclm4jgx07nvpe59dy84l2kof7cbmxm' );
define( 'AUTH_SALT',        'y3b01xvoeezwfsgu58qvpwv9ap7ylmkdsmtw4f25t6k9kncrehqltzpa9ese60wi' );
define( 'SECURE_AUTH_SALT', 'cgo0yhchdjm28drvduhbr62vun9tyqyrzxrvbmcyezifq6ghe8x22vgvhzsfonft' );
define( 'LOGGED_IN_SALT',   '81spypbdetolurq3l46w9vqird0t9quv1ey8slukaorpnya3prnd0anp8njhvou7' );
define( 'NONCE_SALT',       'z48sqi3retgtne2eq5td4b8lqxtwyclwsbjcabwnugyzt2cux8brnwor699zmdiz' );

// =======================================================
// 🔤 PREFIJO DE TABLAS
// =======================================================
$table_prefix = 'wp3x_';

// =======================================================
// 🧰 DEPURACIÓN Y LOGS
// =======================================================
define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

// =======================================================
// 🚫 BLOQUEO ANTI-CÓDIGO MALICIOSO
// =======================================================
// Esta validación evita que scripts ocultos ejecuten código desde la base o archivos inyectados.
if ( isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'POST' ) {
    foreach ($_POST as $key => $value) {
        if (preg_match('/base64_|eval|assert|shell_exec|system|exec|passthru|gzuncompress|str_rot13/i', $value)) {
            header('HTTP/1.1 403 Forbidden');
            exit('Bloqueado por seguridad.');
        }
    }
}
if ( isset($_GET) ) {
    foreach ($_GET as $key => $value) {
        if (preg_match('/base64_|eval|assert|shell_exec|system|exec|passthru|gzuncompress|str_rot13/i', $value)) {
            header('HTTP/1.1 403 Forbidden');
            exit('Bloqueado por seguridad.');
        }
    }
}

// =======================================================
// 🚀 FIN DE EDICIÓN
// =======================================================
/* 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';