Add BLE layer: firmware, coordinator support, dashboard tab
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
<button class="tab-btn" id="tab-sessions" onclick="showSessions()">Sessions</button>
|
||||
<button class="tab-btn" id="tab-analysis" onclick="showAnalysis()">Analysis</button>
|
||||
<button class="tab-btn" id="tab-search" onclick="showSearch()">Search</button>
|
||||
<button class="tab-btn" id="tab-ble" onclick="showBle()">BLE</button>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar -->
|
||||
@@ -42,6 +43,7 @@
|
||||
<div class="stat-row"><span>nodes</span><span id="sum-nodes">—</span></div>
|
||||
<div class="stat-row"><span>online</span><span id="sum-online">—</span></div>
|
||||
<div class="stat-row"><span>events (session)</span><span id="sum-events">—</span></div>
|
||||
<div class="stat-row muted"><span>data window</span><span>30 days</span></div>
|
||||
</div>
|
||||
<div class="sidebar-section">
|
||||
<div class="sidebar-label">Nodes</div>
|
||||
@@ -327,7 +329,7 @@
|
||||
<table>
|
||||
<thead><tr>
|
||||
<th>BSSID</th><th>SSID</th><th>Frames</th>
|
||||
<th>Unique Srcs</th><th>Nodes</th><th>Last Seen</th>
|
||||
<th>Dom. Reason</th><th>Unique Srcs</th><th>Nodes</th><th>Last Seen</th>
|
||||
</tr></thead>
|
||||
<tbody id="targets-tbody"></tbody>
|
||||
</table>
|
||||
@@ -344,7 +346,7 @@
|
||||
<table>
|
||||
<thead><tr>
|
||||
<th>Dst MAC</th><th>Vendor</th><th>Frames</th>
|
||||
<th>Networks Used</th><th>Nodes</th><th>Last Seen</th>
|
||||
<th>Dom. Reason</th><th>Networks Used</th><th>Nodes</th><th>Last Seen</th>
|
||||
</tr></thead>
|
||||
<tbody id="attackers-tbody"></tbody>
|
||||
</table>
|
||||
@@ -426,6 +428,7 @@
|
||||
<th class="sortable" data-col="targets" data-arrow="">Targets</th>
|
||||
<th class="sortable" data-col="node_count" data-arrow="">Nodes</th>
|
||||
<th class="sortable" data-col="peak_rssi" data-arrow="">Peak RSSI</th>
|
||||
<th>Dominant Reason</th>
|
||||
<th class="sortable" data-col="severity" data-arrow="">Severity</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -462,6 +465,50 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- BLE view -->
|
||||
<div id="view-ble" class="view">
|
||||
|
||||
<!-- Manufacturer breakdown -->
|
||||
<div class="section-header">
|
||||
<span class="section-title">Manufacturers</span>
|
||||
<span class="section-count" id="ble-breakdown-count"></span>
|
||||
</div>
|
||||
<div id="ble-breakdown" class="ble-breakdown-row"></div>
|
||||
|
||||
<!-- Devices table -->
|
||||
<div class="section-header" style="margin-top:18px">
|
||||
<span class="section-title">Devices</span>
|
||||
<span class="section-count" id="ble-devices-count"></span>
|
||||
<span class="presence-sub">unique MACs — last 7 days</span>
|
||||
</div>
|
||||
<div class="empty" id="ble-devices-empty" style="display:none">No BLE data yet. Flash a node with BLE firmware first.</div>
|
||||
<table class="data-table" id="ble-devices-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Type</th><th>MAC</th><th>Name</th><th>Vendor</th>
|
||||
<th>Addr</th><th>Best RSSI</th><th>Seen</th><th>Nodes</th><th>Last seen</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="ble-devices-body"></tbody>
|
||||
</table>
|
||||
|
||||
<!-- Live feed -->
|
||||
<div class="section-header" style="margin-top:24px">
|
||||
<span class="section-title">Recent Advertisements</span>
|
||||
<span class="section-count" id="ble-feed-count"></span>
|
||||
</div>
|
||||
<table class="data-table" id="ble-feed-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Time</th><th>Node</th><th>Type</th><th>MAC</th>
|
||||
<th>Name</th><th>RSSI</th><th>Addr</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="ble-feed-body"></tbody>
|
||||
</table>
|
||||
|
||||
</div><!-- /#view-ble -->
|
||||
|
||||
</div><!-- /#main -->
|
||||
</div><!-- /#app -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user