https://admin.beansandcream.in/

ID de exploración:
92a00b1f-0d0c-4726-8aac-785a8bbe180cFinalizado
URL enviada:
https://admin.beansandcream.in/
Informe finalizado:

Enlaces: 0 encontrados

Variables JavaScript: 6 encontradas

NombreTipo

Mensajes de registro de la consola: 1 encontrados

TipoCategoríaRegistrar

HTML

<!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="{&quot;rayId&quot;:&quot;8e97063dee2a215c&quot;,&quot;version&quot;:&quot;2024.10.5&quot;,&quot;r&quot;:1,&quot;serverTiming&quot;:{&quot;name&quot;:{&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfSpeedBrain&quot;:true,&quot;cfCacheStatus&quot;:true}},&quot;token&quot;:&quot;e18ab2b4b5df4bea99e7b507b3c91c40&quot;,&quot;b&quot;:1}" crossorigin="anonymous"></script>


</body></html>