Files
Camilou.fr/HTML/TN/Crypto/test14.html
T
Camilla Schoeser ec81bcd634 ajout tout
2026-05-29 21:10:04 +02:00

166 lines
5.6 KiB
HTML

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>MEMORY_DUMP_AXO_RESET</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');
:root {
--paper: #e0e0e0;
--ink: #1a1a1a;
--accent: #ff3e00;
--cyan: #00f2ff;
}
body, html {
margin: 0; padding: 0;
background: #050505;
color: var(--paper);
font-family: 'Space Mono', monospace;
overflow: hidden;
height: 100vh;
transition: background 0.5s;
}
#desk {
position: relative;
width: 100vw; height: 100vh;
perspective: 1000px;
}
.card {
position: absolute;
width: 450px;
padding: 20px;
background: var(--ink);
border: 2px solid var(--paper);
box-shadow: 10px 10px 0px rgba(0, 242, 255, 0.1);
transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s;
display: none;
z-index: 10;
}
.card.active { display: block; animation: throw 0.5s ease-out forwards; }
/* Animation de balayage (quand on dégage les cartes) */
.card.exit {
transform: translateY(100vh) rotate(45deg) !important;
opacity: 0;
}
@keyframes throw {
0% { transform: scale(1.5) translateY(-100px) rotate(20deg); opacity: 0; }
100% { transform: scale(1) translateY(0) rotate(var(--r)); opacity: 1; }
}
/* Slide Spéciale AXOLOTL */
#axo-reset {
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
background: var(--paper);
color: var(--ink);
display: none;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 5; /* Sous les nouvelles cartes, mais au dessus du vieux chaos */
}
#axo-reset.active { display: flex; animation: flash-in 0.3s steps(2); }
@keyframes flash-in {
0% { opacity: 0; background: var(--accent); }
50% { opacity: 1; background: var(--cyan); }
100% { opacity: 1; background: var(--paper); }
}
h2 { background: var(--paper); color: var(--ink); padding: 0 5px; text-transform: uppercase; }
.code-snippet { background: #000; color: #0f0; padding: 8px; font-size: 0.8rem; margin: 10px 0; }
#ui { position: fixed; top: 20px; left: 20px; z-index: 100; font-size: 0.7rem; }
</style>
</head>
<body>
<div id="ui">STATUS: <span id="status">BUFFERING_DATA</span></div>
<div id="desk">
<div class="card" id="c0" style="--r: -2deg; top: 10%; left: 10%;">
<h2>01_PROTOCOLES</h2>
<p>Analyse C.I.D.A : Confidentialité, Intégrité, Authentification, Dispo.</p>
</div>
<div class="card" id="c1" style="--r: 3deg; top: 15%; left: 50%;">
<h2>02_HISTOIRE</h2>
<p>1982: SMTP (Email) / 1992: SMS.<br>Le serveur et l'opérateur lisent tout (Hop-by-Hop).</p>
</div>
<div class="card" id="c2" style="--r: -4deg; top: 45%; left: 15%;">
<h2>03_PIONNIERS</h2>
<p>PGP (1991): Async mais pas de PFS.<br>OTR (2004): PFS mais Synchrone.</p>
</div>
<div class="card" id="c3" style="--r: 1deg; top: 40%; left: 55%;">
<h2>04_SIGNAL</h2>
<p>Standard Double Ratchet.<br>Asynchronisme (Pre-keys) + PFS + Auto-guérison.</p>
</div>
<div id="axo-reset">
<h1 style="font-size: 5rem; margin: 0;">🦦</h1>
<h2 style="background: none; border-bottom: 4px solid var(--ink);">SCHÉMA_X3DH</h2>
<p style="letter-spacing: 5px;">[ FOCUS : ANALYSE TECHNIQUE ]</p>
</div>
<div class="card" id="c4" style="--r: -2deg; top: 10%; left: 15%;">
<h2>05_VULNÉRABILITÉS</h2>
<p>> Quantique (Shor's Algorithm)<br>> Endpoints (Spywares)<br>> MitM (Keys)</p>
</div>
<div class="card" id="c5" style="--r: 5deg; top: 20%; left: 55%;">
<h2>06_SOUVERAINETÉ</h2>
<p>Discord : Centralisé (Pas d'E2EE texte).<br>Matrix : Fédéré / Tchap (Souverain).</p>
</div>
</div>
<script>
let step = 0;
const cards = document.querySelectorAll('.card');
const axo = document.getElementById('axo-reset');
const status = document.getElementById('status');
function next() {
if (step < 4) {
// On affiche les 4 premières cartes
cards[step].classList.add('active');
status.innerText = "INJECTING_LOG_" + step;
step++;
}
else if (step === 4) {
// PHASE RESET : AXOLOTL
// 1. On dégage toutes les cartes présentes
document.querySelectorAll('.card.active').forEach(c => {
c.classList.add('exit');
});
// 2. On affiche l'axolotl plein écran
setTimeout(() => {
axo.classList.add('active');
status.innerText = "CORE_ISOLATION_MODE";
status.style.color = "black";
}, 300);
step++;
}
else if (step > 4 && step < 7) {
// On affiche les cartes d'après (5 et 6) par dessus l'axolotl
cards[step-1].classList.add('active');
status.innerText = "POST_CORE_ANALYSIS";
step++;
}
}
window.addEventListener('keydown', e => {
if (e.key === 'ArrowRight' || e.key === ' ') next();
if (e.key === 'Escape') location.reload();
});
</script>
</body>
</html>