Spaces:
Running

hacking / index.html
luis35's picture
Add 3 files
469f984 verified
Raw History Blame Contribute Delete
11.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Quantum Code Terminal</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;700&display=swap');
body {
font-family: 'Source Code Pro', monospace;
background-color: #000;
color: #00ff00;
overflow: hidden;
}
.terminal {
text-shadow: 0 0 5px #00ff00;
}
.cursor {
animation: blink 1s infinite;
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
.glow {
box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
}
.matrix-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.1;
}
.command-line {
background-color: rgba(0, 0, 0, 0.7);
border-left: 2px solid #00ff00;
}
.scrollbar::-webkit-scrollbar {
width: 5px;
}
.scrollbar::-webkit-scrollbar-thumb {
background-color: #00ff00;
border-radius: 10px;
}
</style>
</head>
<body class="h-screen flex flex-col">
<!-- Matrix background effect -->
<canvas id="matrix" class="matrix-bg"></canvas>
<!-- Header -->
<div class="flex items-center justify-between p-4 border-b border-green-500 glow">
<div class="flex items-center space-x-2">
<i class="fas fa-terminal text-green-500 text-xl"></i>
<h1 class="text-green-500 font-bold text-xl">QUANTUM CODE TERMINAL</h1>
</div>
<div class="flex space-x-3">
<div class="w-3 h-3 rounded-full bg-red-500"></div>
<div class="w-3 h-3 rounded-full bg-yellow-500"></div>
<div class="w-3 h-3 rounded-full bg-green-500"></div>
</div>
</div>
<!-- Terminal body -->
<div class="flex-1 overflow-auto p-4 scrollbar" id="terminal">
<div class="terminal">
<p class="text-green-400">Initializing Quantum Code Terminal v3.1.4...</p>
<p class="text-green-400">Booting neural network interfaces...</p>
<p class="text-green-400">Establishing secure connection to mainframe...</p>
<p class="text-green-500">Connection established. Welcome, USER.</p>
<p class="text-green-500">Type <span class="text-white">'help'</span> for available commands.</p>
<br>
<!-- Command history will appear here -->
<div id="command-history"></div>
<!-- Current command line -->
<div class="flex items-center command-line p-2 mt-2">
<span class="text-green-500 mr-2">C:\User&gt;</span>
<input type="text" id="command-input" class="flex-1 bg-transparent text-green-400 outline-none" autofocus>
<span class="cursor ml-1 text-green-500">|</span>
</div>
</div>
</div>
<!-- Footer -->
<div class="p-2 border-t border-green-500 text-xs text-green-400 flex justify-between">
<div>
<span>STATUS: <span class="text-green-500">SECURE</span></span>
<span class="ml-4">CPU: <span class="text-green-500">87%</span></span>
</div>
<div>
<span>ยฉ 2023 QUANTUM SYSTEMS</span>
<span class="ml-4">CEO: <span class="text-green-500">LUIS HENRIQUE MIANE DOS SANTOS</span></span>
</div>
</div>
<script>
// Matrix background effect
const canvas = document.getElementById('matrix');
const ctx = canvas.getContext('2d');
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
const katakana = 'ใ‚ขใ‚กใ‚ซใ‚ตใ‚ฟใƒŠใƒใƒžใƒคใƒฃใƒฉใƒฏใ‚ฌใ‚ถใƒ€ใƒใƒ‘ใ‚คใ‚ฃใ‚ญใ‚ทใƒใƒ‹ใƒ’ใƒŸใƒชใƒฐใ‚ฎใ‚ธใƒ‚ใƒ“ใƒ”ใ‚ฆใ‚ฅใ‚ฏใ‚นใƒ„ใƒŒใƒ•ใƒ ใƒฆใƒฅใƒซใ‚ฐใ‚บใƒ–ใƒ…ใƒ—ใ‚จใ‚งใ‚ฑใ‚ปใƒ†ใƒใƒ˜ใƒกใƒฌใƒฑใ‚ฒใ‚ผใƒ‡ใƒ™ใƒšใ‚ชใ‚ฉใ‚ณใ‚ฝใƒˆใƒŽใƒ›ใƒขใƒจใƒงใƒญใƒฒใ‚ดใ‚พใƒ‰ใƒœใƒใƒดใƒƒใƒณ';
const latin = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
const nums = '0123456789';
const alphabet = katakana + latin + nums;
const fontSize = 16;
const columns = canvas.width / fontSize;
const rainDrops = [];
for (let x = 0; x < columns; x++) {
rainDrops[x] = 1;
}
const draw = () => {
ctx.fillStyle = 'rgba(0, 0, 0, 0.05)';
ctx.fillRect(0, 0, canvas.width, canvas.height);
ctx.fillStyle = '#00ff00';
ctx.font = fontSize + 'px monospace';
for (let i = 0; i < rainDrops.length; i++) {
const text = alphabet.charAt(Math.floor(Math.random() * alphabet.length));
ctx.fillText(text, i * fontSize, rainDrops[i] * fontSize);
if (rainDrops[i] * fontSize > canvas.height && Math.random() > 0.975) {
rainDrops[i] = 0;
}
rainDrops[i]++;
}
};
setInterval(draw, 30);
// Terminal functionality
const commandInput = document.getElementById('command-input');
const commandHistory = document.getElementById('command-history');
const commands = {
help: 'Available commands: help, about, clear, projects, contact, sudo rm -rf / (just kidding)',
about: 'Quantum Code Terminal v3.1.4 - Advanced coding interface with neural network integration',
clear: function() { commandHistory.innerHTML = ''; },
projects: 'Current projects: 1. AI Core 2. Quantum DB 3. Neural Framework',
contact: 'Contact: admin@quantumsystems.tech',
sudo: 'Nice try, hacker. Access denied.',
date: new Date().toLocaleString(),
neofetch: `
USER: anonymous
OS: Quantum Terminal 3.1.4
SHELL: zsh 5.8
CPU: Quantum QX-9000
MEMORY: 16EB/16EB
`,
banner: `
โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ•—
โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ•‘
โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•‘
โ–ˆโ–ˆโ•”โ•โ•โ•โ• โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘
โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘ โ•šโ•โ• โ–ˆโ–ˆโ•‘
โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ• โ•šโ•โ•โ•šโ•โ• โ•šโ•โ•โ•โ• โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ• โ•šโ•โ•
`,
credits: `
QUANTUM SYSTEMS DEVELOPMENT TEAM
--------------------------------
CEO: LUIS HENRIQUE MIANE DOS SANTOS
Lead Developer: [REDACTED]
Security Expert: [REDACTED]
AI Specialist: [REDACTED]
Special thanks to all contributors.
`
};
commandInput.addEventListener('keydown', (e) => {
if (e.key === 'Enter') {
const command = commandInput.value.trim();
commandInput.value = '';
// Add command to history
const commandLine = document.createElement('p');
commandLine.className = 'text-green-500';
commandLine.innerHTML = `C:\User&gt; <span class="text-green-400">${command}</span>`;
commandHistory.appendChild(commandLine);
// Process command
const output = document.createElement('p');
output.className = 'text-green-400 mt-1 mb-4';
if (commands[command.split(' ')[0]] !== undefined) {
if (typeof commands[command.split(' ')[0]] === 'function') {
commands[command.split(' ')[0]]();
} else {
output.textContent = commands[command.split(' ')[0]];
}
} else {
output.textContent = `Command not found: ${command}. Type 'help' for available commands.`;
}
commandHistory.appendChild(output);
// Scroll to bottom
terminal.scrollTop = terminal.scrollHeight;
}
});
// Initial banner
setTimeout(() => {
const initialBanner = document.createElement('div');
initialBanner.className = 'text-green-400 whitespace-pre';
initialBanner.textContent = commands.banner;
commandHistory.appendChild(initialBanner);
const welcomeMsg = document.createElement('p');
welcomeMsg.className = 'text-green-500 mt-4';
welcomeMsg.textContent = 'Welcome to Quantum Code Terminal. Type "help" to begin.';
commandHistory.appendChild(welcomeMsg);
terminal.scrollTop = terminal.scrollHeight;
}, 500);
// Window resize handler
window.addEventListener('resize', () => {
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - ๐Ÿงฌ <a href="https://enzostvs-deepsite.hf.space?remix=luis35/hacking" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>