mirror of
https://github.com/smittix/intercept.git
synced 2026-06-14 16:43:38 -07:00
68d831dbe3
- Sidebar sections now rearrange based on active mode - Mode info section (e.g., WiFi Scanning, Spectrum Analyzer) appears at top expanded - Signal Source and SDR Device sections collapse and move below mode sections - Other mode sections default to collapsed state - Sections restore to original containers when switching modes - Fix SCAN/LISTEN button styling consistency in Listening Post - Reorder WiFi sections: WiFi Scanning, Signal Source, Monitor Mode, Scan Settings, Attack Options, Proximity Alerts, Export Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
75 lines
4.2 KiB
HTML
75 lines
4.2 KiB
HTML
<!-- BLUETOOTH MODE -->
|
|
<div id="bluetoothMode" class="mode-content">
|
|
<!-- Capability Status -->
|
|
<div id="btCapabilityStatus" class="section" style="display: none;">
|
|
<!-- Populated by JavaScript with capability warnings -->
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h3>Bluetooth Scanning</h3>
|
|
<p style="color: var(--text-secondary); font-size: 11px; line-height: 1.5; margin-bottom: 15px;">
|
|
Scan for nearby Bluetooth devices including trackers, phones, and other wireless devices.
|
|
</p>
|
|
<div style="background: rgba(74, 158, 255, 0.1); border: 1px solid rgba(74, 158, 255, 0.3); border-radius: 4px; padding: 8px; font-size: 10px;">
|
|
<span style="color: var(--accent-cyan);">Controls in function bar above</span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Show All Agents option (visible when agents are available) -->
|
|
<div id="btShowAllAgentsContainer" class="section" style="display: none; padding: 8px;">
|
|
<label class="inline-checkbox" style="font-size: 10px;">
|
|
<input type="checkbox" id="btShowAllAgents" onchange="if(typeof BluetoothMode !== 'undefined') BluetoothMode.toggleShowAllAgents(this.checked)">
|
|
Show devices from all agents
|
|
</label>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h3>Scanner Configuration</h3>
|
|
<div class="form-group">
|
|
<label>Scan Mode</label>
|
|
<select id="btScanMode">
|
|
<option value="auto">Auto (Recommended)</option>
|
|
<option value="bleak">Bleak Library</option>
|
|
<option value="hcitool">hcitool (Linux)</option>
|
|
<option value="bluetoothctl">bluetoothctl (Linux)</option>
|
|
</select>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Duration (seconds, 0 = continuous)</label>
|
|
<input type="number" id="btScanDuration" value="0" min="0" max="300" placeholder="0">
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Min RSSI Filter (dBm)</label>
|
|
<input type="number" id="btMinRssi" value="-100" min="-100" max="-20" placeholder="-100">
|
|
</div>
|
|
<button class="preset-btn" onclick="btCheckCapabilities()" style="width: 100%;">
|
|
Check Capabilities
|
|
</button>
|
|
</div>
|
|
|
|
<!-- Message Container for status cards -->
|
|
<div id="btMessageContainer"></div>
|
|
|
|
<div class="section" style="margin-top: 10px;">
|
|
<h3>Export</h3>
|
|
<div style="display: flex; gap: 8px;">
|
|
<button class="preset-btn" onclick="btExport('csv')" style="flex: 1;">
|
|
Export CSV
|
|
</button>
|
|
<button class="preset-btn" onclick="btExport('json')" style="flex: 1;">
|
|
Export JSON
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Hidden inputs for action bar sync -->
|
|
<select id="btAdapterSelect" style="display: none;">
|
|
<option value="">Detecting adapters...</option>
|
|
</select>
|
|
<select id="btTransport" style="display: none;">
|
|
<option value="auto">Auto (BLE + Classic)</option>
|
|
<option value="le">BLE Only</option>
|
|
<option value="br_edr">Classic Only</option>
|
|
</select>
|
|
</div>
|