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

Submitted URL:
https://lewislitt.life/Store/install.html
Report Finished:

The outgoing links identified from the page

JavaScript Variables · 6 found

Global JavaScript variables loaded on the window object of a page, are variables declared outside of functions and accessible from anywhere in the code within the current scope

NameType
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
GetCookiefunction
LoadLicenseCookiefunction
ContentRefreshfunction

Console log messages · 0 found

Messages logged to the web console

HTML

The raw HTML body of the page

<!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>