https://lewislitt.life/Store/install.html

ID de l'analyse :
da7ccc62-2a92-4b82-9df0-590151fc7c1eTerminée
URL soumise :
https://lewislitt.life/Store/install.html
Fin du rapport :

Liens : 0 trouvé(s)

Liens sortants identifiés à partir de la page

Variables JavaScript : 6 trouvée(s)

Les variables JavaScript globales chargées dans l'objet fenêtre d'une page sont des variables déclarées en dehors des fonctions et accessibles depuis n'importe quel endroit du code au sein du champ d'application actuel

NomType
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
GetCookiefunction
LoadLicenseCookiefunction
ContentRefreshfunction

Messages de journal de console : 0 trouvé(s)

Messages consignés dans la console web

HTML

Le corps HTML de la page en données brutes

<!DOCTYPE html><html lang="en"><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Loader Install Form</title>
    <link rel="stylesheet" href="style.css">
    <link rel="icon" href="Assets/Logo.png" type="image/x-icon">
    <script>
        function GetCookie(CookieName) {
            var Name = CookieName + "=";
            var DecodedCookie = decodeURIComponent(document.cookie);
            var CA = DecodedCookie.split(';');
            for(var i = 0; i < CA.length; i++) {
                var C = CA[i];
                while (C.charAt(0) == ' ') {
                    C = C.substring(1);
                }
                if (C.indexOf(Name) == 0) {
                    return C.substring(Name.length, C.length);
                }
            }
            return "";
        }

        function LoadLicenseCookie() {
            var License = GetCookie("License");
            if (License != "") {
                document.getElementById('input_field').value = License;
            }
        }

        function ContentRefresh() {
            //Query Required Fields
            var InputField = document.getElementById('input_field');
            var SubmitButton = document.getElementById('submit_button');
            var ResultElement = document.getElementById('web_result');

            //Query Input Value
            var InputValue = InputField.value;

            //Disable Input and Submit Field
            InputField.disabled = true;
            SubmitButton.disabled = true;

            //Build Current Request URL
            var Protocol = window.location.protocol;
            var HostName = window.location.hostname;

            var RequestURL = Protocol + '//' + HostName + '/LoaderAuth/index.php?req=custom_build&input=' + InputValue;

            //Fetch Data with API
            function PersistentFetch() {
                fetch(RequestURL)
                    .then(response => response.text())
                    .then(data => {
                        var InvalidResult = data.toLowerCase().includes('invalid') || data.toLowerCase().includes('rate limited');
                        var SuccessResult = data.toLowerCase().includes('.exe');
                        var QueueContainedResult = data.toLowerCase().includes(';'); //Delimiter Shows Queue Data Contained in Array

                        if (InvalidResult)
                        {
                            InputField.disabled = false;
                            SubmitButton.disabled = false;

                            document.getElementById('web_result').innerHTML = data;
                        }
                        else if (SuccessResult)
                        {
                            var ExpirationDate = new Date();
                            ExpirationDate.setTime(ExpirationDate.getTime() + (7*24*60*60*1000));
                            var Expires = "expires=" + ExpirationDate.toUTCString();
                            document.cookie = "License=" + InputValue + ";" + Expires + ";path=/";

                            document.getElementById('web_result').innerHTML = 'Build Generated, Downloading!';
                            document.location.href = data;

                            SubmitButton.disabled = false;
                        }
                        else
                        {
                            setTimeout(PersistentFetch, 3000);

                            if (QueueContainedResult)
                            {
                                var DataParse = data.split(';');
                                document.getElementById('web_result').innerHTML = DataParse[0];
                                document.getElementById('queue_result').innerHTML = DataParse[1];
                            }
                            else
                            {
                                document.getElementById('web_result').innerHTML = data;
                            }
                        }
                    })
                    .catch(error => console.error('Error:', error));
            }

            //Initial Call to Begin Fetching Process
            PersistentFetch();
        }
    </script>
</head>
<body onload="LoadLicenseCookie()">
<div class="content">
    <h1>Loader Install Request</h1>

    <form onsubmit="ContentRefresh(); return false;">
        <input type="text" id="input_field" placeholder="Enter License" class="license-input" name="InputField" required="">
        <div id="web_result" style="color: #FFFFFF; white-space: pre; margin-top: 5px; margin-bottom: 3px;">&nbsp;</div>
        <div id="queue_result" style="color: #FFFFFF; white-space: pre; margin-top: 5px; margin-bottom: 3px;"></div>

        <input type="submit" id="submit_button" class="gradient-button" value="Request Loader Install">
</form></div>

</body></html>