- ID scansione:
- da7ccc62-2a92-4b82-9df0-590151fc7c1eFatto
- URL inviato:
- https://lewislitt.life/Store/install.html
- Report terminato:
Link · 0 trovati
I link in uscita identificati dalla pagina
Variabili JavaScript · 6 trovate
Le variabili JavaScript globali caricate sull'oggetto finestra di una pagina sono variabili dichiarate all'esterno delle funzioni e accessibili da qualsiasi punto del codice nell'ambito corrente
Nome | Tipo |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
GetCookie | function |
LoadLicenseCookie | function |
ContentRefresh | function |
Messaggi di log della console · 0 trovati
Messaggi registrati nella console Web
HTML
Il corpo HTML non elaborato della pagina
<!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;"> </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>