Files
CellGuard/webroot/index.html
sssnake 9a3e3a0501 CellGuard: LTE/5G-NR lock + IMSI-catcher detection KSU module
- cgcap.ko: cpif CP-frame capture via kprobe/kallsyms, stock-GKI build
- ratlock.sh: hold modem to LTE+NR(5G), block 2G/3G downgrade
- cgdetect.sh: always-on behavioral cell-site-simulator detection
- cgctl.sh + WebUI: block/detect toggles, status + alerts
- build-stock-gki.sh: reproducible stock-GKI module build pipeline
2026-07-12 09:21:54 -07:00

70 lines
2.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="theme-color" content="#0b0f14">
<title>CellGuard</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header class="bar">
<div class="title">
<span class="logo"></span>
<h1>CellGuard</h1>
</div>
<div class="state" id="headerState"></div>
</header>
<main>
<!-- Primary toggle: block 2G/3G (anti-downgrade enforcement) -->
<section class="card toggle-card">
<div class="toggle-copy">
<h2>Block 2G / 3G</h2>
<p id="toggleDesc">Force LTE / 5G(NR) only. Re-locks the modem on any downgrade.</p>
</div>
<label class="switch">
<input type="checkbox" id="toggle">
<span class="slider"></span>
</label>
</section>
<!-- IMSI-catcher detection (runs in the background daemon) -->
<section class="card">
<div class="card-head">
<h2>IMSI-catcher detection</h2>
<label class="switch">
<input type="checkbox" id="dToggle">
<span class="slider"></span>
</label>
</div>
<div class="row"><span class="k">Status</span><span class="v" id="dVerdict"></span></div>
<div class="row"><span class="k">Serving RAT</span><span class="v" id="sRat"></span></div>
<div class="row"><span class="k">Operator</span><span class="v" id="sOp"></span></div>
<div class="row"><span class="k">PLMN</span><span class="v mono" id="sPlmn"></span></div>
<div class="row sub"><span class="k">Cell CI / PCI / TAC</span><span class="v mono" id="sCell"></span></div>
<div class="row sub"><span class="k">EARFCN</span><span class="v mono" id="sEarfcn"></span></div>
<div class="row sub"><span class="k">Diag frames</span><span class="v" id="sFrames">0</span></div>
<div class="row sub"><span class="k">RAT lock</span><span class="v" id="sLock"></span></div>
</section>
<!-- Alert log -->
<section class="card">
<div class="card-head">
<h2>Alerts</h2>
<button id="clrBtn" class="btn">Clear</button>
</div>
<div id="alerts" class="cells"></div>
</section>
<footer class="foot">
<span id="footVer">cellguard</span>
<span class="dot">·</span>
<span id="footMsg">idle</span>
</footer>
</main>
<script src="js/app.js"></script>
</body>
</html>