Exploit databaseDownload repository ZIP
GH-a6fb13e69f550a67153414581af7ca7f
aashay221999/cve-2024-49368
Sources for CVE-2024-49368
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files3
aashay221999/cve-2024-49368Revision 0a13e6bc50d2
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
ui/index.html
HTML · 3,639 bytes<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>National Database of Nuclear Codes (Yes, Seriously!)</title>
<style>
body, html {
height: 100%;
margin: 0;
font-family: Arial, sans-serif;
overflow: hidden;
}
.background {
background-color: #1a73e8; /* Google Blue */
height: 100%;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.company-name {
position: absolute;
top: 50px;
left: 50px;
font-size: 4rem;
color: white;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
z-index: 10;
}
.container {
background-color: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
padding: 40px;
border-radius: 10px;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
border: 1px solid rgba(255, 255, 255, 0.18);
width: 300px;
z-index: 10;
}
h2 {
color: white;
margin-bottom: 30px;
text-align: center;
}
input {
width: 100%;
padding: 10px;
margin: 10px 0;
border: none;
border-radius: 5px;
background-color: rgba(255, 255, 255, 0.9);
box-sizing: border-box;
}
button {
width: 100%;
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
margin-top: 20px;
transition: background-color 0.3s;
}
button:hover {
background-color: #45a049;
}
#message {
margin-top: 20px;
color: white;
text-align: center;
}
</style>
</head>
<body>
<div class="background">
<h1 class="company-name">National Database of Nuclear Codes (Yes, Seriously!)</h1>
<div class="container">
<h2>Login</h2>
<form id="loginForm">
<input type="text" id="username" placeholder="Username" required>
<input type="password" id="password" placeholder="Password" required>
<button type="submit">Login</button>
</form>
<p id="message"></p>
</div>
</div>
<script>
document.getElementById('loginForm').addEventListener('submit', async (e) => {
e.preventDefault();
const username = document.getElementById('username').value;
const password = document.getElementById('password').value;
try {
const response = await fetch('http://localhost:3000/login', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({ username, password }),
});
const data = await response.json();
document.getElementById('message').textContent = data.message;
} catch (error) {
console.error('Error:', error);
document.getElementById('message').textContent = 'An error occurred';
}
});
</script>
</body>
</html>