Spaces:
Running
Running
File size: 7,085 Bytes
dbe8915 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Synthia Blue</title>
<meta name="description" content="Synthia Blue by AI-SNS.IO — a curated, searchable index of 200+ blue-team and red-team security tools.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@600;700&family=Space+Grotesk:wght@400;500;600&display=swap" rel="stylesheet">
<style>
:root{--bg:#f7f6fa;--card:#fff;--fg:#17141f;--muted:#6b6578;--border:#e4e0ec;--brand:#9A48C6;--blue:#1f7ae0;--red:#d93a3a;--chip:#f0ecf6}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#0d0b12;--card:#16131e;--fg:#ece9f3;--muted:#9a93a8;--border:#2a2536;--chip:#211c2c;--blue:#5aa5ff;--red:#ff6b6b}}
:root[data-theme="dark"]{--bg:#0d0b12;--card:#16131e;--fg:#ece9f3;--muted:#9a93a8;--border:#2a2536;--chip:#211c2c;--blue:#5aa5ff;--red:#ff6b6b}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);font:15px/1.5 "Space Grotesk",system-ui,sans-serif}
.wrap{max-width:1200px;margin:0 auto;padding:28px 16px 60px}
header{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;justify-content:space-between}
h1{font:700 34px/1.1 "Chakra Petch",sans-serif;margin:0;letter-spacing:.5px}
h1 span{color:var(--brand)}
.sub{color:var(--muted);max-width:720px;margin:8px 0 0}
.by{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:1.5px;margin-bottom:6px}
.tabs{display:flex;gap:8px}
.tab{border:1px solid var(--border);background:var(--card);color:var(--muted);padding:8px 14px;border-radius:8px;cursor:pointer;font:600 14px "Space Grotesk"}
.tab[aria-pressed="true"].blue{border-color:var(--blue);color:var(--blue)}
.tab[aria-pressed="true"].red{border-color:var(--red);color:var(--red)}
.bar{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 8px;align-items:center}
input[type=search]{flex:1 1 260px;max-width:380px;padding:9px 12px;border-radius:8px;border:1px solid var(--border);background:var(--card);color:var(--fg);font:inherit}
.chip{border:1px solid var(--border);background:var(--chip);color:var(--muted);padding:4px 10px;border-radius:999px;font-size:12px;cursor:pointer}
.chip[aria-pressed="true"]{border-color:var(--brand);color:var(--brand)}
.warn{font-size:13px;color:var(--muted);border-left:3px solid var(--red);padding:6px 10px;margin:10px 0}
h2{font:600 14px "Space Grotesk";color:var(--muted);margin:26px 0 10px}
.grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.card{background:var(--card);border:1px solid var(--border);border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:6px}
.card a{color:var(--fg);font-weight:600;text-decoration:none}
.card a:hover{color:var(--brand)}
.card p{margin:0;color:var(--muted);font-size:14px}
.tag{align-self:flex-start;font-size:11px;padding:1px 6px;border-radius:4px;background:var(--chip);color:var(--muted)}
footer{margin-top:40px;font-size:12px;color:var(--muted)}
footer a{color:var(--muted)}
.empty{color:var(--muted)}
</style>
</head>
<body>
<div class="wrap">
<header>
<div>
<div class="by">AI-SNS.IO · CyberX</div>
<h1>Synthia <span id="teamName">Blue</span></h1>
<p class="sub" id="lede"></p>
</div>
<div class="tabs">
<button class="tab blue" data-team="blue">Blue · <span id="nBlue"></span></button>
<button class="tab red" data-team="red">Red · <span id="nRed"></span></button>
</div>
</header>
<div class="bar">
<input type="search" id="q" placeholder="Search tools…" aria-label="Search tools">
</div>
<div class="bar" id="cats"></div>
<div id="warn"></div>
<main id="list"></main>
<footer id="foot"></footer>
</div>
<script>
const DATA = /*DATA*/null;
const LEDE = {
blue: "A curated blue-team toolkit: security monitoring, threat hunting, malware analysis, incident response and forensics, grouped by category.",
red: "Red-team tooling grouped by MITRE ATT&CK stage, so defenders know what attackers use."
};
let team = "blue", cat = "", q = "";
try { const h = location.hash.slice(1); if (h === "red" || h === "blue") team = h; } catch (e) {}
const $ = (id) => document.getElementById(id);
const esc = (s) => String(s).replace(/[&<>"']/g, c => ({"&":"&","<":"<",">":">",'"':""","'":"'"}[c]));
const safeUrl = (u) => /^https?:\/\//.test(u) ? u : "#";
$("nBlue").textContent = DATA.tools.filter(t => t.team === "blue").length;
$("nRed").textContent = DATA.tools.filter(t => t.team === "red").length;
function render() {
$("teamName").textContent = team === "blue" ? "Blue" : "Red";
$("teamName").style.color = team === "blue" ? "var(--blue)" : "var(--red)";
$("lede").textContent = LEDE[team];
document.querySelectorAll(".tab").forEach(b => b.setAttribute("aria-pressed", b.dataset.team === team));
const rows = DATA.tools.filter(t => t.team === team);
const cats = [...new Set(rows.map(t => t.category))];
$("cats").innerHTML = `<button class="chip" data-cat="" aria-pressed="${!cat}">All · ${rows.length}</button>` +
cats.map(c => `<button class="chip" data-cat="${esc(c)}" aria-pressed="${cat === c}">${esc(c)} · ${rows.filter(t => t.category === c).length}</button>`).join("");
$("warn").innerHTML = team === "red" ? `<div class="warn">For authorized testing and defender awareness only. Use these tools only on systems you own or have written permission to test.</div>` : "";
const n = q.toLowerCase();
const shown = rows.filter(t => (!cat || t.category === cat) && (!n || (t.name + " " + t.description + " " + t.category).toLowerCase().includes(n)));
const groups = {};
shown.forEach(t => (groups[t.category] ||= []).push(t));
$("list").innerHTML = shown.length ? Object.entries(groups).map(([c, ts]) =>
`<h2>${esc(c)} (${ts.length})</h2><div class="grid">` + ts.map(t =>
`<div class="card"><a href="${esc(safeUrl(t.url))}" target="_blank" rel="noopener noreferrer">${esc(t.name)} ↗</a>` +
(t.description ? `<p>${esc(t.description)}</p>` : "") +
(t.kind === "guide" ? `<span class="tag">Guide</span>` : "") +
(t.cyberx ? `<span class="tag">Built into CyberX</span>` : "") + `</div>`).join("") + `</div>`).join("")
: `<p class="empty">No tools match.</p>`;
$("foot").innerHTML = `Source: <a href="${esc(DATA.source[team])}" target="_blank" rel="noopener noreferrer">${esc(DATA.source[team].replace("https://github.com/", ""))}</a>. Names, links and one-line descriptions from the public list. Synthia Blue is part of AI-SNS.IO CyberX.`;
}
document.querySelector(".tabs").addEventListener("click", e => { const b = e.target.closest(".tab"); if (!b) return; team = b.dataset.team; cat = ""; try { history.replaceState(null, "", "#" + team); } catch (e) {} render(); });
$("cats").addEventListener("click", e => { const b = e.target.closest(".chip"); if (!b) return; cat = b.dataset.cat; render(); });
$("q").addEventListener("input", e => { q = e.target.value; render(); });
render();
</script>
</body>
</html>
|