<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Created By Wokky</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #121212;
            color: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
            margin: 0;
            position: relative;
        }
        h1, h2, p {
            text-align: center;
            margin: 10px 0;
        }
        input, button {
            padding: 12px;
            border: none;
            border-radius: 8px;
            margin-top: 12px;
            width: 100%;
            max-width: 400px;
            box-sizing: border-box;
            transition: all 0.3s ease;
        }
        input {
            background-color: #1e1e1e;
            color: #fff;
        }
        input:focus {
            background-color: #333;
            outline: none;
        }
        button {
            background-color: #007BFF;
            color: white;
            cursor: pointer;
        }
        button:hover {
            background-color: #0056b3;
        }
        textarea {
            width: 100%;
            max-width: 400px;
            height: 300px;
            margin-top: 12px;
            padding: 12px;
            font-family: 'Courier New', monospace;
            border: 1px solid #444;
            background-color: #1e1e1e;
            color: white;
            resize: none;
            box-sizing: border-box;
        }
        #copy-button {
            display: none;
            position: absolute;
            bottom: 20px;
            left: 20px;
            background-color: #28a745;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        #copy-button:hover {
            background-color: #218838;
        }
    </style>
    <script>
        async function fetchSource() {
            const password = document.getElementById('password-input').value;
            const url = document.getElementById('website-input').value;
            const copyButton = document.getElementById('copy-button');

            if (password !== 'wokkyfs') {
                alert('Incorrect password. Access denied.');
                return;
            }

            if (url) {
                const apis = [
                    `https://api.allorigins.win/raw?url=${encodeURIComponent(url)}`,
                    `https://corsproxy.io/?${encodeURIComponent(url)}`,
                    `https://api.codetabs.com/v1/proxy?quest=${encodeURIComponent(url)}`,
                    `https://cors-proxy.net/?url=${encodeURIComponent(url)}`,
                    `https://any-site.herokuapp.com/${encodeURIComponent(url)}`,
                    `https://webscraper.io/test.php?url=${encodeURIComponent(url)}`,
                    `https://cross-origin.me/${encodeURIComponent(url)}`,
                    `https://api.hackertab.com/?url=${encodeURIComponent(url)}`,
                    `https://cors-anywhere.herokuapp.com/${encodeURIComponent(url)}`,
                    `https://www.apis.guru/api-gateway/proxy/?target=https://${encodeURIComponent(url)}`,
                    `https://corsproxy.io/?url=${encodeURIComponent(url)}`,
                    `https://x-response-content.herokuapp.com/${encodeURIComponent(url)}`,
                    `https://cors-anywhere.herokuapp.com/${encodeURIComponent(url)}`,
                    `https://api.webscraper.io?api_key=your_key&url=${encodeURIComponent(url)}`,
                    `https://api.scraperapi.com/?api_key=your_api_key&url=${encodeURIComponent(url)}`,
                    `https://zonely.com/api/proxy?url=${encodeURIComponent(url)}`,
                    `https://contentapi.io/?api_key=your_key&url=${encodeURIComponent(url)}`,
                    `https://www.proxy-site.com/proxy/${encodeURIComponent(url)}`,
                    `https://api.apigate.io/proxy/${encodeURIComponent(url)}`,
                    `https://cross-origin.pro/${encodeURIComponent(url)}`,
                    `https://proxy.golang.io/?url=${encodeURIComponent(url)}`,
                    `https://fetchproxy.com/api/proxy?url=${encodeURIComponent(url)}`,
                    `https://quick-proxy.com/proxy/${encodeURIComponent(url)}`,
                    `https://scrapeops.io/?url=${encodeURIComponent(url)}`,
                    `https://bitcrawl.io/api/proxy?url=${encodeURIComponent(url)}`,
                    `https://www.proxycrawl.com/?token=your_token&url=${encodeURIComponent(url)}`,
                    `https://sitescraperapi.com/api/?key=your_key&url=${encodeURIComponent(url)}`,
                    `https://octoproxy.io/?url=${encodeURIComponent(url)}`,
                    `https://proxiesforless.com/api?url=${encodeURIComponent(url)}`,
                    `https://proxycrawl.com/?url=${encodeURIComponent(url)}`,
                    `https://scrapehouse.com/api/proxy?url=${encodeURIComponent(url)}`,
                    `https://webscraperapi.com/api?url=${encodeURIComponent(url)}`,
                    `https://zonely.io/api/v1/proxy?url=${encodeURIComponent(url)}`,
                    `https://api.apify.com/v2/acts/proxy-url/use/public?input.url=${encodeURIComponent(url)}`,
                    `https://crawlera.com/proxy?url=${encodeURIComponent(url)}`,
                    `https://shex.io/proxy?url=${encodeURIComponent(url)}`,
                    `https://proxygateway.com/proxy?url=${encodeURIComponent(url)}`,
                    `https://zeroproxy.com/api/proxy?url=${encodeURIComponent(url)}`,
                    `https://scrapeeasy.io/api/v1/proxy?url=${encodeURIComponent(url)}`,
                    `https://scraperapi.com/proxy?url=${encodeURIComponent(url)}`,
                    `https://pro.scraperapi.com/proxy?url=${encodeURIComponent(url)}`,
                    `https://zappysproxy.io/api?url=${encodeURIComponent(url)}`,
                    `https://rayobyte.io/proxy?url=${encodeURIComponent(url)}`,
                    `https://proxycrawl.com/?token=your_token&url=${encodeURIComponent(url)}`,
                    `https://proxytornado.com/api/v1/proxy?url=${encodeURIComponent(url)}`,
                    `https://netnut.io/api/v1/proxy?url=${encodeURIComponent(url)}`,
                    `https://stormproxies.io/proxy?url=${encodeURIComponent(url)}`,
                    `https://scraperapi.com/proxy?token=your_token&url=${encodeURIComponent(url)}`,
                    `https://publicproxy.io/v1/proxy?url=${encodeURIComponent(url)}`,
                    `https://www.proxysite.com/proxy?url=${encodeURIComponent(url)}`
                ];

                try {
                    for (let apiUrl of apis) {
                        const response = await fetch(apiUrl);
                        if (response.ok) {
                            const html = await response.text();
                            document.getElementById('source-code').value = html;
                            copyButton.style.display = 'block'; // Show the Copy button
                            return;
                        }
                    }
                    throw new Error('All API requests failed.');
                } catch (error) {
                    console.error('Error fetching the website:', error);
                    document.getElementById('source-code').value = 'Error loading source code.';
                    copyButton.style.display = 'none'; // Hide the Copy button
                }
            } else {
                alert('Please enter a website URL.');
            }
        }

        function copyToClipboard() {
            const textarea = document.getElementById('source-code');
            textarea.select();
            document.execCommand('copy');
            alert('Source code copied to clipboard!');
        }
    </script>
</head>
<body>

    <h1>Made by Wokky</h1>
    <p>Don't you dare even try putting my website in there, it's heavily obfuscated!</p>

    <input type="password" id="password-input" placeholder="Enter password" />
    <input type="text" id="website-input" placeholder="Enter website URL..." />
    <button onclick="fetchSource()">View Source Code</button>

    <h2>Source Code:</h2>
    <textarea id="source-code" readonly></textarea>

    <button id="copy-button" onclick="copyToClipboard()">Copy to Clipboard</button>

</body>
</html>
