Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

agent.html 1.6KB

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Remote Access Agent</title>
  6. <style>
  7. body { font-family: system-ui, sans-serif; background: #0f172a; color: #e2e8f0; margin: 0; padding: 1.5rem; }
  8. h1 { font-size: 1.1rem; }
  9. .status { background: #1e293b; padding: 0.7rem 1rem; border-radius: 8px; margin: 0.8rem 0; font-size: 0.9rem; }
  10. .status.on { background: #14532d; }
  11. .status.warn { background: #7c2d12; }
  12. .consent { background: #1e293b; border: 1px solid #3b82f6; border-radius: 10px; padding: 1.2rem; margin-top: 1rem; }
  13. .consent h2 { font-size: 1rem; margin: 0 0 0.5rem; }
  14. button { padding: 0.6rem 1.2rem; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; }
  15. .grant { background: #22c55e; color: #052e16; }
  16. .deny { background: #ef4444; color: #fff; margin-left: 0.5rem; }
  17. .muted { color: #94a3b8; font-size: 0.82rem; }
  18. .indicator { position: fixed; bottom: 0; left: 0; right: 0; background: #b91c1c; color: #fff; text-align: center; padding: 0.4rem; font-size: 0.85rem; display: none; }
  19. .indicator.show { display: block; }
  20. #log { font-family: monospace; font-size: 0.72rem; color: #64748b; height: 120px; overflow-y: auto; margin-top: 1rem; }
  21. </style>
  22. </head>
  23. <body>
  24. <h1>🛡️ Remote Access Agent</h1>
  25. <div id="status" class="status">Starting…</div>
  26. <div id="consentBox"></div>
  27. <p class="muted">This machine accepts remote support sessions. You'll be asked to approve each connection unless an unattended-access policy is set.</p>
  28. <div id="log"></div>
  29. <div id="indicator" class="indicator">● A technician is currently viewing/controlling this screen</div>
  30. <script src="agent.js"></script>
  31. </body>
  32. </html>