- ID de l'analyse :
- 92a00b1f-0d0c-4726-8aac-785a8bbe180cTerminée
- URL soumise :
- https://admin.beansandcream.in/
- 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
Nom | Type |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
__cfQR | object |
__cfBeacon | object |
__cfRLUnblockHandlers | boolean |
Messages de journal de console : 1 trouvé(s)
Messages consignés dans la console web
Type | Catégorie | Enregistrement |
---|---|---|
verbose | dom |
|
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>Login Page</title>
<link rel="stylesheet" href="/css/style.css">
<!-- Prefetching resources -->
<link rel="prefetch" href="/img/Logo/LogoBrowne.svg">
<link rel="prefetch" href="/img/DSC_0230.webp">
<link rel="prefetch" href="/css/style.css">
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f9;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: url('/img/DSC_0230.webp') no-repeat center center fixed;
-moz-background-size: cover;
-webkit-background-size: cover;
background-size: cover;
}
.login-container {
background-color: #40383FD6;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 300px;
width: 100%;
text-align: center;
}
.login-container img {
max-height: 50px;
margin-bottom: 20px;
}
.login-container h2 {
text-align: center;
margin-bottom: 20px;
color: white;
}
.form-group {
margin-bottom: 15px;
display: flex;
flex-direction: column;
align-items: center;
}
.form-group label, .form-group input {
width: 100%;
}
.form-group label {
text-align: left;
margin-bottom: 5px;
color: white;
}
.form-group input {
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
color: white;
background-color: #262126B5;
}
.form-group button {
width: 100%;
padding: 10px;
background-color: #352C50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
.form-group button:hover {
background-color: #34495e;
}
.message {
color: red;
text-align: center;
display: none;
margin-top: 10px;
}
.message.success {
color: green;
}
</style>
</head>
<body>
<div class="login-container">
<img src="/img/Logo/LogoBrowne.svg" alt="Company Logo">
<h2>Login</h2>
<div class="message" id="message">Invalid username or password</div>
<form id="loginForm" method="POST">
<div class="form-group">
<label for="username">Username</label>
<input type="text" id="username" name="username" required="">
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" id="password" name="password" required="">
</div>
<div class="form-group">
<button type="submit">Login</button>
</div>
</form>
</div>
<!--<script type="text/javascript">
document.getElementById('loginForm').addEventListener('submit', function(e) {
e.preventDefault();
var formData = {
username: document.getElementById('username').value,
password: document.getElementById('password').value
};
var xhr = new XMLHttpRequest();
xhr.open('POST', '/AdminServerSidePHP/login.php', true);
xhr.setRequestHeader('Content-Type', 'application/json; charset=UTF-8');
xhr.onreadystatechange = function () {
if (xhr.readyState === XMLHttpRequest.DONE) {
var response = JSON.parse(xhr.responseText);
var messageDiv = document.getElementById('message');
if (xhr.status === 200 && response.success) {
messageDiv.className = 'message success';
messageDiv.innerText = 'Login successful';
messageDiv.style.display = 'block';
setTimeout(function() {
window.location.href = '/inbox';
}, 600);
} else {
messageDiv.className = 'message';
messageDiv.innerText = 'Invalid username or password';
messageDiv.style.display = 'block';
}
}
};
xhr.send(JSON.stringify(formData));
});
</script>-->
<script defer="" src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{"rayId":"8e97063dee2a215c","version":"2024.10.5","r":1,"serverTiming":{"name":{"cfExtPri":true,"cfL4":true,"cfSpeedBrain":true,"cfCacheStatus":true}},"token":"e18ab2b4b5df4bea99e7b507b3c91c40","b":1}" crossorigin="anonymous"></script>
</body></html>