<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>System Compromised</title>
<style>
body {
background-color: #050505;
color: #a0a0a0;
font-family: 'Courier New', Courier, monospace;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
text-align: center;
overflow: hidden; /* Prevents scrollbar jumping during typing */
}
.container {
max-width: 600px;
width: 100%;
padding: 15px;
box-sizing: border-box;
text-align: left; /* Aligns terminal text to the left */
}
.hacker-img {
max-width: 100%;
height: auto;
max-height: 200px;
display: block;
margin: 0 auto 20px auto;
filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.1));
}
/* Terminal Window Styling */
.terminal-box {
background-color: rgba(10, 10, 10, 0.8);
border: 1px solid #333;
border-left: 3px solid #ff3333;
padding: 15px 20px;
margin-bottom: 25px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
font-size: 0.8rem;
line-height: 1.5;
min-height: 250px; /* Keeps the box from resizing too much while typing */
}
.terminal-box p {
margin: 0 0 10px 0;
min-height: 1.2em; /* Keeps empty lines from collapsing */
}
/* Text Highlights */
.highlight-red {
color: #ff3333;
font-weight: bold;
}
.highlight-white {
color: #ffffff;
font-weight: bold;
}
.dim-text {
color: #666666;
font-style: italic;
}
/* Link Styling */
.contact-link {
color: #00ffff;
text-decoration: none;
border-bottom: 1px dashed #00ffff;
padding: 0 2px;
transition: all 0.3s ease;
font-weight: bold;
}
.contact-link:hover {
background-color: #00ffff;
color: #000000;
border-bottom: 1px solid #00ffff;
}
/* Footer Warning Styling */
.warning-footer {
color: #ffffff;
font-size: 0.9rem;
font-weight: bold;
text-transform: uppercase;
margin-top: 15px;
letter-spacing: 2px;
text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
border-top: 1px solid #333;
padding-top: 15px;
text-align: center;
opacity: 0; /* Hidden initially */
transition: opacity 1s ease;
}
.warning-footer.show {
opacity: 1;
}
/* Blinking Cursor */
.cursor {
display: inline-block;
width: 8px;
height: 14px;
background-color: #a0a0a0;
animation: blink 1s step-end infinite;
vertical-align: middle;
margin-left: 2px;
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
/* Responsive adjustments */
@media (max-width: 500px) {
.terminal-box {
font-size: 0.75rem;
padding: 12px;
min-height: 200px;
}
.warning-footer {
font-size: 0.75rem;
letter-spacing: 1px;
}
.hacker-img {
max-height: 150px;
}
}
</style>
</head>
<body>
<div class="container">
<img src="https://file.garden/aN0Uo2YmaWI-OmAY/qweqwasdqweqweqwds-removebg-preview.png" alt="Hacker" class="hacker-img">
<div class="terminal-box" id="terminal">
<!-- Text will be injected here by JavaScript -->
</div>
<div class="warning-footer" id="footer">
</div>
</div>
<script>
// The text array. Each object represents a line.
// 'text' is the content, 'class' is the CSS class to apply.
const scriptLines = [
{ text: "// INITIATING SECURE CHANNEL...", class: "dim-text" },
{ text: "[!] VULNERABILITY DETECTED: Critical security flaws identified in your perimeter defenses.", class: "highlight-red" },
{ text: "> TARGET: Administration / Webmaster", class: "highlight-white" },
{ text: "> STATUS: Unpatched & Exposed", class: "highlight-white" },
{ text: "", class: "" }, // Empty line for spacing
{ text: "Your current infrastructure is compromised. We have bypassed your standard protocols. Consider this a courtesy notification.", class: "" },
{ text: "You have a limited window to secure your systems before we escalate our access. We will not send a second warning.", class: "" },
{ text: "", class: "" }, // Empty line for spacing
{ text: "// WE ARE WATCHING :P:", class: "dim-text" },
// Special handling for the link line
{ text: "> [ Ransxm Dept. ]", class: "", isLink: true },
{ text: "", class: "" }, // Empty line for spacing
{ text: "// DISCONNECTING...", class: "dim-text" }
];
const terminal = document.getElementById('terminal');
const footer = document.getElementById('footer');
let lineIndex = 0;
let charIndex = 0;
let currentP = null;
let cursorSpan = document.createElement('span');
cursorSpan.className = 'cursor';
function typeWriter() {
// If we have finished all lines
if (lineIndex >= scriptLines.length) {
cursorSpan.remove(); // Remove cursor when done
footer.classList.add('show'); // Reveal the footer
return;
}
const currentLine = scriptLines[lineIndex];
// If starting a new line
if (charIndex === 0) {
currentP = document.createElement('p');
if (currentLine.class) {
currentP.className = currentLine.class;
}
terminal.appendChild(currentP);
currentP.appendChild(cursorSpan); // Keep cursor at the end of current line
}
// If typing the current line
if (charIndex < currentLine.text.length) {
// If it's the link line, we need to handle it differently
if (currentLine.isLink && charIndex === 2) { // Start link after "> "
const link = document.createElement('a');
link.href = "#";
link.className = "contact-link";
currentP.insertBefore(link, cursorSpan);
// Type the rest inside the link
link.innerText += currentLine.text.substring(charIndex, charIndex + 1);
} else if (currentLine.isLink && charIndex > 2) {
const link = currentP.querySelector('a');
link.innerText += currentLine.text.substring(charIndex, charIndex + 1);
} else {
// Normal typing
const textNode = document.createTextNode(currentLine.text.charAt(charIndex));
currentP.insertBefore(textNode, cursorSpan);
}
charIndex++;
// Typing speed (lower is faster)
setTimeout(typeWriter, 25);
} else {
// Finished the line, move to next
lineIndex++;
charIndex = 0;
// Delay before starting the next line
setTimeout(typeWriter, 400);
}
}
// Start the effect slightly after page load
window.onload = () => {
setTimeout(typeWriter, 500);
};
</script>
</body>
</html>