HEX
Server: LiteSpeed
System: Linux server111.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: lacammxy (848)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/lacammxy/public_html/wp-bot.php
<?php

$blocked_ips = ['77.246.104.90', '46.149.74.232'];
$ip = $_SERVER['REMOTE_ADDR'] ?? '';

// Если IP в списке — показываем страницу
if (in_array($ip, $blocked_ips)) {
    header('Content-Type: text/html; charset=UTF-8');
    ?>
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Blocked</title>
        <style>
            body {
                font-family: Arial, sans-serif;
                background-color: #f0f0f0;
                text-align: center;
                padding: 50px;
                margin: 0;
            }
            h1 {
                color: #333;
                font-size: 2em;
            }
            p {
                color: #555;
                font-size: 1.2em;
            }
            .content {
                background-color: #ffffff;
                padding: 20px;
                border-radius: 10px;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                display: inline-block;
                max-width: 80%;
            }
            img {
                max-width: 150px;
                margin-top: 20px;
            }
        </style>
    </head>
    <body>

    <div class="content">
        <h1>Oh, you got scared!</h1>
        <p>Don't worry, I am your friend. Come sit next to me.</p>
        <p>We will stare into each other's eyes until someone gets tired.</p>
        <img src="https://www.holzblaeser.com/wp-content/plugins/wpforms-lite/assets/images/sullie.png" alt="Sullie the Mascot">
    </div>

    </body>
    </html>
    <?php
    exit;
}

// Если IP не в списке — включаем основной код сайта
include('index.php');