- 제출된 URL:
- https://lewislitt.life/Store/install.html
- 보고서 완료:
링크 · 0개 결과
페이지에서 식별된 외부 링크
JavaScript 변수 · 6개 결과
페이지의 창 개체에 로드된 전역 JavaScript 변수는 함수 외부에서 선언된 변수로, 현재 범위 내에서 코드의 어느 부분에서나 액세스할 수 있습니다
이름 | 유형 |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
GetCookie | function |
LoadLicenseCookie | function |
ContentRefresh | function |
콘솔 로그 메시지 · 0개 결과
웹 콘솔에 기록된 메시지
HTML
페이지의 원시 HTML 본문
<!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>